feat: improve landing page and login

This commit is contained in:
2025-12-03 16:42:52 -03:00
parent ae7d5aa5b5
commit 63312b1bc0
6 changed files with 535 additions and 77 deletions
+340 -14
View File
@@ -19,6 +19,13 @@
min-height: 50px;
}
.logo h1 {
margin: 0;
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.5px;
}
.logo h2 {
margin: 0;
font-size: 1.3rem;
@@ -30,20 +37,108 @@
align-items: center;
}
.auth-form {
background: rgba(40, 40, 40, 0.9);
backdrop-filter: blur(10px);
border-radius: 6px;
padding: 25px;
min-width: 300px;
.auth-buttons {
display: flex;
align-items: center;
gap: 12px;
}
.auth-buttons .header-btn.primary {
background: linear-gradient(135deg, #6B8DD6 0%, #5A7BC6 100%);
border: 1px solid rgba(107, 141, 214, 0.6);
}
.auth-buttons .header-btn.primary:hover {
box-shadow: 0 4px 15px rgba(107, 141, 214, 0.4);
}
/* Authentication Modal */
.auth-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
z-index: 10000;
backdrop-filter: blur(8px);
animation: fadeIn 0.3s ease-out;
}
.auth-modal-content {
background: rgba(40, 40, 40, 0.95);
backdrop-filter: blur(20px);
border-radius: 12px;
padding: 40px;
max-width: 450px;
width: 90%;
border: 1px solid rgba(100, 100, 100, 0.3);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
position: relative;
animation: slideUp 0.3s ease-out;
}
.close-modal-btn {
position: absolute;
top: 15px;
right: 15px;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 2rem;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
transition: all 0.2s ease;
line-height: 1;
}
.close-modal-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.auth-form {
background: transparent;
border-radius: 0;
padding: 0;
min-width: auto;
border: none;
}
.auth-form h3 {
margin: 0 0 20px 0;
margin: 0 0 25px 0;
text-align: center;
font-size: 1.3rem;
font-weight: 500;
font-size: 1.6rem;
font-weight: 600;
color: white;
}
.auth-form .form-group {
@@ -308,16 +403,30 @@
order: 1;
}
.logo h1 {
font-size: 1.4rem;
}
.logo h2 {
font-size: 1.1rem;
}
.auth-section {
order: 2;
width: 100%;
justify-content: center;
}
.auth-buttons {
order: 2;
gap: 8px;
}
.auth-buttons .header-btn {
font-size: 0.85rem;
padding: 8px 14px;
}
.user-info {
order: 2;
position: relative;
@@ -356,6 +465,163 @@
}
}
/* Landing Page Styles */
.landing-page {
background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
min-height: calc(100vh - 80px);
padding: 60px 20px;
}
.landing-container {
max-width: 1200px;
margin: 0 auto;
}
.landing-hero {
text-align: center;
margin-bottom: 60px;
animation: fadeInUp 0.8s ease-out;
}
.landing-title {
font-size: 3rem;
font-weight: 700;
color: white;
margin: 0 0 20px 0;
line-height: 1.2;
background: linear-gradient(135deg, #6B8DD6 0%, #9B7BC6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.landing-subtitle {
font-size: 1.3rem;
color: rgba(255, 255, 255, 0.85);
max-width: 800px;
margin: 0 auto;
line-height: 1.6;
}
.landing-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 60px;
animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.feature-card {
background: rgba(40, 40, 40, 0.6);
backdrop-filter: blur(10px);
border: 1px solid rgba(100, 100, 100, 0.3);
border-radius: 12px;
padding: 30px;
text-align: center;
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
border-color: rgba(107, 141, 214, 0.5);
box-shadow: 0 8px 30px rgba(107, 141, 214, 0.2);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 15px;
display: block;
}
.feature-card h3 {
color: white;
font-size: 1.3rem;
margin: 0 0 12px 0;
font-weight: 600;
}
.feature-card p {
color: rgba(255, 255, 255, 0.75);
font-size: 1rem;
line-height: 1.5;
margin: 0;
}
.landing-cta {
text-align: center;
background: rgba(74, 93, 138, 0.4);
backdrop-filter: blur(10px);
border: 1px solid rgba(100, 100, 100, 0.3);
border-radius: 12px;
padding: 50px 30px;
animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.landing-cta h2 {
color: white;
font-size: 2rem;
margin: 0 0 15px 0;
font-weight: 600;
}
.landing-cta p {
color: rgba(255, 255, 255, 0.85);
font-size: 1.1rem;
margin: 0 0 30px 0;
}
.cta-buttons {
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}
.cta-btn {
padding: 15px 40px;
border-radius: 8px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border: none;
min-width: 220px;
}
.cta-btn.primary {
background: linear-gradient(135deg, #6B8DD6 0%, #5A7BC6 100%);
color: white;
box-shadow: 0 4px 15px rgba(107, 141, 214, 0.4);
}
.cta-btn.primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px rgba(107, 141, 214, 0.5);
}
.cta-btn.secondary {
background: rgba(40, 40, 40, 0.8);
color: white;
border: 1px solid rgba(107, 141, 214, 0.5);
}
.cta-btn.secondary:hover {
background: rgba(60, 60, 60, 0.9);
border-color: rgba(107, 141, 214, 0.8);
transform: translateY(-2px);
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* For very small screens */
@media (max-width: 480px) {
.auth-container {
@@ -363,20 +629,80 @@
flex-wrap: wrap;
justify-content: space-between;
}
.user-details span {
font-size: 0.75rem;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
}
.mobile-menu {
width: 160px;
right: -10px;
}
.logo h1 {
font-size: 1.3rem;
}
.logo h2 {
font-size: 1rem;
}
.auth-buttons {
gap: 8px;
}
.auth-buttons .header-btn {
padding: 6px 10px;
font-size: 0.8rem;
min-width: auto;
}
.auth-modal-content {
padding: 30px 20px;
}
}
/* Landing Page Responsive */
@media (max-width: 768px) {
.landing-page {
padding: 40px 15px;
}
.landing-title {
font-size: 2rem;
}
.landing-subtitle {
font-size: 1.1rem;
}
.landing-features {
grid-template-columns: 1fr;
gap: 20px;
}
.feature-card {
padding: 25px;
}
.landing-cta {
padding: 35px 20px;
}
.landing-cta h2 {
font-size: 1.5rem;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
.cta-btn {
width: 100%;
max-width: 300px;
}
}