All checks were successful
Client CI/CD / deploy (push) Successful in 12s
- React Router v7: public home page, /login page - Auth context with JWT localStorage management - Login: ID/PW form + SSAFY login button (UI only) - Home: hero banner, download section (login required), announcement board - API layer with mock data (ready for Go Fiber backend) - Color scheme: #2E2C2F dark + #BACDB0 accent - Add .env.example for environment variable reference Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
112 lines
2.0 KiB
CSS
112 lines
2.0 KiB
CSS
.home-page {
|
|
min-height: 100vh;
|
|
background-color: #2E2C2F;
|
|
}
|
|
|
|
/* Header */
|
|
.home-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 32px;
|
|
border-bottom: 1px solid rgba(186, 205, 176, 0.1);
|
|
}
|
|
|
|
.home-logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: #BACDB0;
|
|
letter-spacing: 0.1em;
|
|
margin: 0;
|
|
}
|
|
|
|
.home-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.home-username {
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.btn-logout {
|
|
padding: 8px 16px;
|
|
background: transparent;
|
|
color: rgba(186, 205, 176, 0.7);
|
|
border: 1px solid rgba(186, 205, 176, 0.25);
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
transition: background 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
.btn-logout:hover {
|
|
background: rgba(186, 205, 176, 0.08);
|
|
border-color: rgba(186, 205, 176, 0.45);
|
|
}
|
|
|
|
.btn-header-login {
|
|
padding: 8px 20px;
|
|
background: #BACDB0;
|
|
color: #2E2C2F;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.btn-header-login:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Hero banner */
|
|
.hero-banner {
|
|
position: relative;
|
|
height: 280px;
|
|
background:
|
|
linear-gradient(135deg, rgba(46, 44, 47, 0.85), rgba(46, 44, 47, 0.6)),
|
|
linear-gradient(135deg, #2E2C2F 0%, #3a3a3a 50%, #2E2C2F 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-banner::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(ellipse at 30% 40%, rgba(186, 205, 176, 0.12) 0%, transparent 60%),
|
|
radial-gradient(ellipse at 70% 60%, rgba(186, 205, 176, 0.06) 0%, transparent 50%);
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.8rem;
|
|
font-weight: 800;
|
|
color: #BACDB0;
|
|
letter-spacing: 0.12em;
|
|
margin: 0;
|
|
}
|
|
|
|
.hero-desc {
|
|
font-size: 1rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
/* Main content */
|
|
.home-main {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 40px 24px 80px;
|
|
}
|