UI 디자인 대대적으로 대시보드 형태의 전문적인 느낌으로 재구성

This commit is contained in:
2026-03-04 01:39:26 +09:00
parent 840b0a5300
commit 618d5f8e6f
21 changed files with 3499 additions and 374 deletions

View File

@@ -1,77 +1,113 @@
/* ═══════════════════════════════════════════════════════════════════════
Home Page — Dashboard Style
═══════════════════════════════════════════════════════════════════════ */
.home {
display: grid;
gap: 60px;
gap: 32px;
animation: fadeIn 0.4s var(--ease-out) both;
}
.home > section {
animation: fadeUp 0.7s ease both;
}
.home > section:nth-child(1) {
animation-delay: 0.05s;
}
.home > section:nth-child(2) {
animation-delay: 0.12s;
}
.home > section:nth-child(3) {
animation-delay: 0.18s;
}
/* ── Hero ────────────────────────────────────────────────────────────── */
.home-hero {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
gap: 32px;
align-items: center;
grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
gap: 24px;
align-items: stretch;
}
.home-hero__kicker {
font-size: 12px;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.28em;
color: var(--accent);
margin: 0 0 12px;
letter-spacing: 0.3em;
color: var(--neon-cyan);
margin: 0 0 14px;
display: flex;
align-items: center;
gap: 10px;
font-family: var(--font-display);
}
.home-hero__kicker::before {
content: '';
display: block;
width: 24px;
height: 1.5px;
background: var(--neon-cyan);
border-radius: 2px;
box-shadow: 0 0 6px var(--neon-cyan);
}
.home-hero h1 {
font-family: var(--font-display);
font-size: clamp(32px, 4vw, 46px);
font-size: clamp(28px, 3.5vw, 44px);
margin: 0 0 16px;
line-height: 1.2;
color: var(--text-bright);
letter-spacing: -0.03em;
}
.home-hero__lead {
color: var(--muted);
line-height: 1.7;
color: var(--text-dim);
line-height: 1.75;
margin: 0 0 24px;
font-size: 14px;
}
.home-hero__actions {
display: flex;
gap: 12px;
gap: 10px;
flex-wrap: wrap;
}
/* ── Hero Card ───────────────────────────────────────────────────────── */
.home-hero__card {
background: var(--surface);
background: var(--surface-card);
border: 1px solid var(--line);
border-radius: 24px;
border-radius: var(--radius-lg);
padding: 24px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
box-shadow: var(--shadow-card);
position: relative;
overflow: hidden;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.home-hero__card-title {
.home-hero__card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: var(--grad-accent);
opacity: 0.5;
}
.home-hero__card-eyebrow {
margin: 0 0 12px;
color: var(--muted);
font-size: 13px;
letter-spacing: 0.12em;
color: var(--text-muted);
font-size: 10px;
letter-spacing: 0.22em;
text-transform: uppercase;
font-family: var(--font-display);
}
.home-hero__card-body h2 {
font-family: var(--font-display);
font-size: 24px;
margin: 0 0 12px;
font-size: 20px;
margin: 0 0 8px;
color: var(--text-bright);
letter-spacing: -0.02em;
}
.home-hero__card-body p {
margin: 0;
font-size: 13px;
color: var(--text-dim);
line-height: 1.7;
}
.home-hero__stats {
@@ -85,81 +121,184 @@
.stat-label {
margin: 0;
color: var(--muted);
font-size: 12px;
color: var(--text-muted);
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.14em;
}
.stat-value {
margin: 6px 0 0;
font-weight: 600;
font-size: 18px;
margin: 5px 0 0;
font-weight: 700;
font-size: 20px;
color: var(--text-bright);
line-height: 1;
font-family: var(--font-display);
letter-spacing: -0.03em;
}
.stat-unit {
font-size: 13px;
font-weight: 500;
color: var(--text-dim);
margin-left: 2px;
}
.stat-value--sm {
font-size: 15px;
}
/* ── Section Header ──────────────────────────────────────────────────── */
.home-section__header {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 18px;
gap: 4px;
margin-bottom: 16px;
}
.home-section__header h2 {
margin: 0;
font-size: 26px;
font-size: clamp(17px, 2vw, 22px);
font-family: var(--font-display);
color: var(--text-bright);
letter-spacing: -0.02em;
}
.home-section__header p {
margin: 0;
color: var(--muted);
color: var(--text-muted);
font-size: 13px;
}
/* ── Navigation Cards Grid ───────────────────────────────────────────── */
.home-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
}
.home-card {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 16px;
flex-direction: column;
gap: 12px;
text-decoration: none;
color: inherit;
padding: 18px;
border-radius: 18px;
border-radius: var(--radius-md);
border: 1px solid var(--line);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
transition: transform 0.2s ease, border-color 0.2s ease;
background: var(--surface-card);
box-shadow: var(--shadow-card);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
transition:
transform 0.22s var(--ease-out),
border-color 0.22s ease,
box-shadow 0.22s ease,
background 0.22s ease;
position: relative;
overflow: hidden;
}
.home-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: var(--grad-accent);
opacity: 0;
transition: opacity 0.25s ease;
}
.home-card::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(
circle at 30% 0%,
rgba(var(--card-accent-rgb, 0, 212, 255), 0.08),
transparent 60%
);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.home-card:hover {
transform: translateY(-4px);
border-color: rgba(255, 255, 255, 0.22);
border-color: rgba(0, 212, 255, 0.2);
box-shadow:
var(--shadow-md),
0 0 0 1px rgba(0, 212, 255, 0.08);
}
.home-card:hover::before {
opacity: 0.6;
}
.home-card:hover::after {
opacity: 1;
}
.home-card__icon {
width: 38px;
height: 38px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 212, 255, 0.08);
border: 1px solid rgba(0, 212, 255, 0.15);
flex-shrink: 0;
transition: transform 0.22s var(--ease-spring);
color: var(--neon-cyan);
}
.home-card:hover .home-card__icon {
transform: scale(1.1) rotate(-4deg);
}
.home-card__body {
flex: 1;
}
.home-card__title {
font-weight: 600;
font-size: 18px;
margin: 0 0 8px;
font-weight: 700;
font-size: 15px;
margin: 0 0 5px;
color: var(--text-bright);
letter-spacing: -0.01em;
}
.home-card__desc {
margin: 0;
color: var(--muted);
font-size: 14px;
color: var(--text-dim);
font-size: 12px;
line-height: 1.6;
}
.home-card__cta {
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.2em;
color: var(--accent);
.home-card__arrow {
font-size: 16px;
color: var(--neon-cyan);
opacity: 0;
transform: translateX(-4px);
transition: opacity 0.22s ease, transform 0.22s ease;
align-self: flex-end;
}
.home-card:hover .home-card__arrow {
opacity: 1;
transform: translateX(0);
}
/* ── Blog Posts ──────────────────────────────────────────────────────── */
.home-posts {
display: grid;
gap: 12px;
gap: 8px;
}
.home-post {
@@ -167,46 +306,96 @@
color: inherit;
border: 1px solid var(--line);
padding: 16px 18px;
border-radius: 16px;
background: var(--surface);
border-radius: var(--radius-md);
background: var(--surface-card);
display: grid;
gap: 8px;
transition: border-color 0.2s ease;
grid-template-columns: auto 1fr auto;
align-items: start;
gap: 14px;
transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
box-shadow: var(--shadow-card);
}
.home-post:hover {
border-color: rgba(255, 255, 255, 0.25);
border-color: rgba(192, 132, 252, 0.25);
background: var(--surface-raised);
transform: translateX(4px);
}
.home-post__dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--neon-purple);
box-shadow: 0 0 6px var(--neon-purple);
margin-top: 7px;
flex-shrink: 0;
opacity: 0.6;
transition: opacity 0.2s ease;
}
.home-post:hover .home-post__dot {
opacity: 1;
}
.home-post__content {
display: grid;
gap: 5px;
}
.home-post__title {
margin: 0;
font-weight: 600;
font-size: 18px;
font-size: 15px;
color: var(--text-bright);
letter-spacing: -0.01em;
}
.home-post__excerpt {
margin: 0;
color: var(--muted);
color: var(--text-dim);
font-size: 12px;
line-height: 1.6;
}
.home-post__meta {
font-size: 12px;
color: var(--accent);
font-size: 11px;
color: var(--neon-purple-dim);
text-transform: uppercase;
letter-spacing: 0.14em;
letter-spacing: 0.12em;
white-space: nowrap;
padding-top: 4px;
}
/* ── Profile ─────────────────────────────────────────────────────────── */
.home-profile {
display: grid;
}
.home-profile__card {
border: 1px solid var(--line);
border-radius: 22px;
padding: 22px;
background: var(--surface);
border-radius: var(--radius-lg);
padding: 24px;
background: var(--surface-card);
display: grid;
gap: 16px;
gap: 18px;
box-shadow: var(--shadow-card);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position: relative;
overflow: hidden;
}
.home-profile__card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: var(--grad-accent);
opacity: 0.3;
}
.home-profile__identity {
@@ -216,31 +405,39 @@
}
.home-profile__avatar {
width: 52px;
height: 52px;
width: 56px;
height: 56px;
border-radius: 16px;
object-fit: cover;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
box-shadow:
0 0 0 1px rgba(0, 212, 255, 0.2),
0 0 12px rgba(0, 212, 255, 0.1),
0 4px 16px rgba(0, 0, 0, 0.5);
flex-shrink: 0;
}
.home-profile__role {
margin: 0;
font-size: 12px;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.2em;
color: var(--accent);
letter-spacing: 0.22em;
color: var(--neon-cyan);
font-family: var(--font-display);
}
.home-profile__name {
margin: 6px 0 0;
font-weight: 600;
margin: 4px 0 0;
font-weight: 700;
font-size: 18px;
color: var(--text-bright);
letter-spacing: -0.02em;
}
.home-profile__bio {
margin: 0;
color: var(--muted);
line-height: 1.6;
color: var(--text-dim);
line-height: 1.75;
font-size: 13px;
}
.home-profile__timeline {
@@ -250,10 +447,11 @@
.home-profile__section-title {
margin: 0;
font-size: 12px;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.22em;
color: var(--accent);
letter-spacing: 0.24em;
color: var(--neon-cyan);
font-family: var(--font-display);
}
.home-profile__timeline ul {
@@ -261,87 +459,124 @@
margin: 0;
padding: 0;
display: grid;
gap: 10px;
gap: 6px;
}
.home-profile__timeline li {
display: grid;
gap: 4px;
gap: 2px;
padding: 12px 14px;
border-radius: 16px;
border-radius: var(--radius-sm);
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.03);
background: rgba(255, 255, 255, 0.02);
transition: border-color 0.2s ease, background 0.2s ease;
}
.home-profile__timeline span {
font-size: 12px;
color: var(--muted);
.home-profile__timeline li:hover {
border-color: rgba(0, 212, 255, 0.15);
background: rgba(0, 212, 255, 0.03);
}
.timeline-period {
font-size: 10px;
color: var(--text-muted);
letter-spacing: 0.04em;
}
.home-profile__timeline strong {
font-size: 15px;
font-size: 13px;
font-weight: 600;
color: var(--text-bright);
}
.home-profile__timeline span:not(.timeline-period) {
font-size: 12px;
color: var(--text-dim);
}
.home-profile__tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
gap: 6px;
}
.home-profile__tags span {
border: 1px solid var(--line);
border-radius: 999px;
padding: 6px 10px;
font-size: 12px;
color: var(--muted);
padding: 4px 10px;
font-size: 11px;
color: var(--text-dim);
background: rgba(255, 255, 255, 0.02);
transition: border-color 0.15s ease, color 0.15s ease;
}
.home-profile__tags span:hover {
border-color: rgba(0, 212, 255, 0.2);
color: var(--neon-cyan);
}
.home-profile__actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
gap: 8px;
}
@media (max-width: 900px) {
/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
.home-hero {
grid-template-columns: 1fr;
}
.home-hero__card {
max-width: 480px;
}
}
@media (max-width: 768px) {
.home {
gap: 24px;
}
.home-hero h1 {
font-size: clamp(24px, 6vw, 36px);
font-size: clamp(22px, 6vw, 32px);
}
.home-grid {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 10px;
}
.home-card {
padding: 14px;
gap: 12px;
}
.home-card__title {
font-size: 16px;
}
.home-card__desc {
font-size: 13px;
}
.home-posts {
gap: 10px;
}
.home-card__icon {
width: 34px;
height: 34px;
}
.home-card__title {
font-size: 13px;
}
.home-card__desc {
font-size: 11px;
}
.home-post {
padding: 14px 16px;
padding: 12px 14px;
grid-template-columns: auto 1fr;
gap: 10px;
}
.home-post__meta {
grid-column: 2;
}
.home-post__title {
font-size: 16px;
font-size: 14px;
}
.home-profile__card {
@@ -351,8 +586,15 @@
.home-profile__name {
font-size: 16px;
}
}
.home-profile__bio {
font-size: 14px;
@media (max-width: 480px) {
.home-grid {
grid-template-columns: 1fr 1fr;
}
.home-hero__stats {
grid-template-columns: 1fr;
gap: 10px;
}
}

View File

@@ -14,7 +14,7 @@ const Home = () => {
<section className="home-hero">
<div className="home-hero__text">
<p className="home-hero__kicker">Personal Archive</p>
<h1>기록을 모으고, 이야기를 이어붙이는 작은 .</h1>
<h1>기록을 모으고,<br />이야기를 이어붙이는 작은 .</h1>
<p className="home-hero__lead">
개발, 여행 스냅, 그리고 생각을 모아두는 공간입니다.
</p>
@@ -28,7 +28,7 @@ const Home = () => {
</div>
</div>
<div className="home-hero__card">
<p className="home-hero__card-title">이번 집중 테마</p>
<p className="home-hero__card-eyebrow">이번 집중 테마</p>
<div className="home-hero__card-body">
<h2>느린 기록, 깊은 회고</h2>
<p>
@@ -37,13 +37,13 @@ const Home = () => {
</p>
</div>
<div className="home-hero__stats">
<div>
<div className="home-hero__stat">
<p className="stat-label">게시 </p>
<p className="stat-value">{posts.length}</p>
<p className="stat-value">{posts.length}<span className="stat-unit"></span></p>
</div>
<div>
<div className="home-hero__stat">
<p className="stat-label">다음 업데이트</p>
<p className="stat-value">이번 주말</p>
<p className="stat-value stat-value--sm">이번 주말</p>
</div>
</div>
</div>
@@ -56,12 +56,23 @@ const Home = () => {
</div>
<div className="home-grid">
{highlights.map((item) => (
<Link key={item.id} to={item.path} className="home-card">
<div>
<Link
key={item.id}
to={item.path}
className="home-card"
style={{ '--card-accent': item.accent }}
>
<div
className="home-card__icon"
style={{ color: item.accent }}
>
{item.icon}
</div>
<div className="home-card__body">
<p className="home-card__title">{item.label}</p>
<p className="home-card__desc">{item.description}</p>
</div>
<span className="home-card__cta">열기</span>
<span className="home-card__arrow"></span>
</Link>
))}
</div>
@@ -75,8 +86,11 @@ const Home = () => {
<div className="home-posts">
{posts.map((post) => (
<Link key={post.slug} to="/blog" className="home-post">
<p className="home-post__title">{post.title}</p>
<p className="home-post__excerpt">{post.excerpt}</p>
<div className="home-post__dot" />
<div className="home-post__content">
<p className="home-post__title">{post.title}</p>
<p className="home-post__excerpt">{post.excerpt}</p>
</div>
<span className="home-post__meta">{post.date || '작성일 미정'}</span>
</Link>
))}
@@ -110,31 +124,26 @@ const Home = () => {
<p className="home-profile__section-title">연혁</p>
<ul>
<li>
<span>2023.02 - 현재</span>
<span className="timeline-period">2023.02 - 현재</span>
<strong>Server Developer</strong>
<span>내비 TIS 교통 서버/현대오토에버</span>
<span>내비 TIS 교통 서버 / 현대오토에버</span>
</li>
<li>
<span>2020.01 - 2023.02</span>
<span className="timeline-period">2020.01 - 2023.02</span>
<strong>Embedded Device SW Developer</strong>
<span>캐시비 단말기 개발/롯데정보통신</span>
<span>캐시비 단말기 개발 / 롯데정보통신</span>
</li>
<li>
<span>2019.07 - 2019.12</span>
<span className="timeline-period">2019.07 - 2019.12</span>
<strong>SSAFY - 삼성 SW Academy</strong>
<span>SSAFY</span>
<span>SSAFY 1 수료</span>
</li>
</ul>
</div>
<div className="home-profile__tags">
<span>C++</span>
<span>Git</span>
<span>AWS</span>
<span>Jira</span>
<span>MySQL</span>
<span>Docker</span>
<span>Kubernetes</span>
<span>Linux</span>
{['C++', 'Git', 'AWS', 'Jira', 'MySQL', 'Docker', 'Kubernetes', 'Linux'].map((tag) => (
<span key={tag}>{tag}</span>
))}
</div>
<div className="home-profile__actions">
<button className="button ghost">프로필 수정</button>