diff --git a/package.json b/package.json index 4304677..6d0b62e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ }, "dependencies": { "react": "^19.2.8", - "react-dom": "^19.2.8" + "react-dom": "^19.2.8", + "react-router-dom": "6.30.6" }, "devDependencies": { "@types/node": "^24.13.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce6067b..9d5c6c5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: react-dom: specifier: ^19.2.8 version: 19.3.0(react@19.3.0) + react-router-dom: + specifier: 6.30.6 + version: 6.30.6(react-dom@19.3.0(react@19.3.0))(react@19.3.0) devDependencies: '@types/node': specifier: ^24.13.3 @@ -164,6 +167,10 @@ packages: cpu: [x64] os: [win32] + '@remix-run/router@1.23.4': + resolution: {integrity: sha512-q7j5geK7xs3UJSdm9/iytUNclBnLmYx1EnSeCFXHPeutdqgIMeFeHtUZgS3EhlKxdBEAu8OwtJCwmLrEzpSs7Q==} + engines: {node: '>=14.0.0'} + '@rolldown/binding-android-arm-eabi@1.2.12': resolution: {integrity: sha512-dB/a1214qKfHMXCpgqR4OZT+jS4kTyEXbQGJPqzobt5EwH5rX080pxE37alt3RzvR1bf1Yz/yGqRfrYAxuPw0A==} engines: {node: ^20.19.0 || >=22.12.0} @@ -419,6 +426,19 @@ packages: peerDependencies: react: ^19.3.0 + react-router-dom@6.30.6: + resolution: {integrity: sha512-0RHKZz7wwffvkU+2MFVT2NnjK44ssLEV+m0CAJaS2Ksmorrwj7WxH00jO0SOCW26/tINUnJHToXblDs33I38YQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + react: '>=16.8' + react-dom: '>=16.8' + + react-router@6.30.6: + resolution: {integrity: sha512-5HfK7k5im7LTOB0EqCQmfvy4C13G92Ssj1VTmouTK3AJvyjKTnFuCV0vcMAD/JS+JC4DvDIBRrlAeJIFjh5VWg==} + engines: {node: '>=14.0.0'} + peerDependencies: + react: '>=16.8' + react@19.3.0: resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==} engines: {node: '>=0.10.0'} @@ -551,6 +571,8 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.86.0': optional: true + '@remix-run/router@1.23.4': {} + '@rolldown/binding-android-arm-eabi@1.2.12': optional: true @@ -714,6 +736,18 @@ snapshots: react: 19.3.0 scheduler: 0.28.0 + react-router-dom@6.30.6(react-dom@19.3.0(react@19.3.0))(react@19.3.0): + dependencies: + '@remix-run/router': 1.23.4 + react: 19.3.0 + react-dom: 19.3.0(react@19.3.0) + react-router: 6.30.6(react@19.3.0) + + react-router@6.30.6(react@19.3.0): + dependencies: + '@remix-run/router': 1.23.4 + react: 19.3.0 + react@19.3.0: {} rolldown@1.2.12: diff --git a/src/App.css b/src/App.css index f90339d..9c7ef55 100644 --- a/src/App.css +++ b/src/App.css @@ -1,184 +1,1087 @@ -.counter { - font-size: 16px; - padding: 5px 10px; - border-radius: 5px; +/* ===== Navigation ===== */ +.nav { + position: sticky; + top: 0; + z-index: 1000; + background: var(--bg-surface); + border-bottom: 1px solid var(--border); + backdrop-filter: blur(12px); + transition: background var(--transition-normal); +} + +.nav-container { + max-width: var(--max-wide); + margin: 0 auto; + padding: 0 24px; + height: 64px; + display: flex; + align-items: center; + justify-content: space-between; +} + +.nav-logo { + font-size: 20px; + font-weight: 700; + color: var(--text-primary); + text-decoration: none; +} + +.nav-logo:hover { color: var(--accent); - background: var(--accent-bg); - border: 2px solid transparent; - transition: border-color 0.3s; - margin-bottom: 24px; - - &:hover { - border-color: var(--accent-border); - } - &:focus-visible { - outline: 2px solid var(--accent); - outline-offset: 2px; - } } -.hero { +.nav-menu { + display: flex; + gap: 32px; + list-style: none; +} + +.nav-link { + font-size: 14px; + font-weight: 500; + color: var(--text-muted); + text-decoration: none; + padding: 4px 0; position: relative; + transition: color var(--transition-fast); +} - .base, - .framework, - .vite { - inset-inline: 0; - margin: 0 auto; +.nav-link:hover { + color: var(--text-primary); +} + +.nav-link.active { + color: var(--accent); +} + +.nav-link.active::after { + content: ''; + position: absolute; + bottom: -2px; + left: 0; + right: 0; + height: 2px; + background: var(--accent); + border-radius: 1px; +} + +.nav-actions { + display: flex; + align-items: center; + gap: 16px; +} + +.theme-toggle { + background: none; + border: none; + color: var(--text-muted); + cursor: pointer; + padding: 8px; + border-radius: var(--radius-md); + transition: color var(--transition-fast), background var(--transition-fast); + display: flex; + align-items: center; + justify-content: center; +} + +.theme-toggle:hover { + color: var(--text-primary); + background: var(--bg-elevated); +} + +.theme-toggle:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; +} + +.mobile-menu-btn { + display: none; + background: none; + border: none; + color: var(--text-primary); + cursor: pointer; + padding: 8px; + border-radius: var(--radius-md); +} + +.mobile-menu-btn:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; +} + +/* Mobile menu */ +.mobile-menu { + display: none; + position: fixed; + top: 64px; + left: 0; + right: 0; + bottom: 0; + background: var(--bg-surface); + z-index: 999; + padding: 32px 24px; + overflow-y: auto; +} + +.mobile-menu.open { + display: block; + animation: slideIn var(--transition-normal) ease; +} + +@keyframes slideIn { + from { + opacity: 0; + transform: translateX(20px); } - - .base { - width: 170px; - position: relative; - z-index: 0; - } - - .framework, - .vite { - position: absolute; - } - - .framework { - z-index: 1; - top: 34px; - height: 28px; - transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg) - scale(1.4); - } - - .vite { - z-index: 0; - top: 107px; - height: 26px; - width: auto; - transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg) - scale(0.8); + to { + opacity: 1; + transform: translateX(0); } } -#center { +.mobile-menu-list { + list-style: none; display: flex; flex-direction: column; - gap: 25px; - place-content: center; - place-items: center; - flex-grow: 1; + gap: 8px; +} - @media (max-width: 1024px) { - padding: 32px 20px 24px; - gap: 18px; +.mobile-menu-link { + display: block; + font-size: 20px; + font-weight: 500; + color: var(--text-secondary); + padding: 12px 0; + text-decoration: none; + transition: color var(--transition-fast); +} + +.mobile-menu-link:hover, +.mobile-menu-link.active { + color: var(--accent); +} + +@media (max-width: 1024px) { + .nav-menu { + display: none; + } + + .mobile-menu-btn { + display: flex; } } -#next-steps { +/* ===== Buttons ===== */ +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 8px; + padding: 12px 24px; + font-size: 16px; + font-weight: 500; + font-family: inherit; + border-radius: var(--radius-md); + cursor: pointer; + text-decoration: none; + transition: all var(--transition-fast); + border: none; +} + +.btn:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; +} + +.btn-primary { + background: var(--accent); + color: #ffffff; +} + +.btn-primary:hover { + background: var(--accent-hover); +} + +.btn-primary:active { + background: var(--accent-active); +} + +.btn-secondary { + background: transparent; + color: var(--accent); + border: 1px solid var(--border); +} + +.btn-secondary:hover { + border-color: var(--accent); + background: var(--accent); + color: #ffffff; +} + +.btn-ghost { + background: transparent; + color: var(--text-muted); +} + +.btn-ghost:hover { + color: var(--text-primary); + background: var(--bg-surface); +} + +.btn-sm { + padding: 8px 12px; + font-size: 12px; +} + +.btn-lg { + padding: 16px 32px; + font-size: 18px; +} + +.btn:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +/* ===== Badges ===== */ +.badge { + display: inline-flex; + align-items: center; + padding: 4px 10px; + font-size: 12px; + font-weight: 500; + border-radius: var(--radius-sm); +} + +.badge-accent { + background: var(--accent); + color: #ffffff; +} + +.badge-outline { + background: transparent; + color: var(--accent); + border: 1px solid var(--accent); +} + +.badge-muted { + background: var(--bg-surface); + color: var(--text-muted); +} + +/* ===== Tags ===== */ +.tag { + display: inline-flex; + align-items: center; + padding: 4px 10px; + font-size: 12px; + color: var(--text-muted); + background: var(--bg-surface); + border-radius: var(--radius-sm); + border: 1px solid var(--border); +} + +.tag-accent { + background: var(--accent); + color: #ffffff; + border-color: var(--accent); +} + +/* ===== Cards ===== */ +.card { + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + padding: 24px; + transition: all var(--transition-normal); +} + +.card:hover { + border-color: var(--accent); + box-shadow: 0 4px 12px var(--shadow); + transform: translateY(-2px); +} + +.card-elevated { + background: var(--bg-elevated); + border: none; + box-shadow: 0 2px 8px var(--shadow); +} + +.card-featured { + border-top: 4px solid var(--accent); +} + +/* ===== Section Heading ===== */ +.section-heading { + margin-bottom: 48px; +} + +.section-heading h2 { + margin-bottom: 8px; +} + +.section-heading p { + font-size: 18px; +} + +/* ===== Social Links ===== */ +.social-links { display: flex; - border-top: 1px solid var(--border); - text-align: left; + gap: 16px; +} - & > div { - flex: 1 1 0; - padding: 32px; - @media (max-width: 1024px) { - padding: 24px 20px; - } +.social-link { + display: flex; + align-items: center; + gap: 6px; + font-size: 14px; + color: var(--text-muted); + text-decoration: none; + transition: color var(--transition-fast); +} + +.social-link:hover { + color: var(--accent); +} + +.social-link:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; + border-radius: 2px; +} + +.social-link svg { + width: 20px; + height: 20px; +} + +/* ===== Hero ===== */ +.hero { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 64px; + align-items: center; + min-height: calc(100vh - 64px); + padding: 80px 0; +} + +.hero-content { + display: flex; + flex-direction: column; + gap: 24px; +} + +.hero-name { + font-size: clamp(32px, 5vw, 64px); + font-weight: 700; + color: var(--text-primary); + line-height: 1.1; + letter-spacing: -0.02em; +} + +.hero-title { + font-size: clamp(18px, 2.5vw, 24px); + font-weight: 400; + color: var(--text-secondary); +} + +.hero-tagline { + font-size: 18px; + color: var(--text-secondary); + white-space: pre-line; + line-height: 1.6; +} + +.hero-cta { + display: flex; + gap: 16px; + flex-wrap: wrap; +} + +.hero-visual { + display: flex; + align-items: center; + justify-content: center; +} + +.hero-graphic { + width: 100%; + max-width: 400px; + aspect-ratio: 1; + position: relative; +} + +@media (max-width: 768px) { + .hero { + grid-template-columns: 1fr; + gap: 32px; + min-height: auto; + padding: 48px 0; } - .icon { - margin-bottom: 16px; - width: 22px; - height: 22px; - } - - @media (max-width: 1024px) { + .hero-cta { flex-direction: column; + } + + .hero-cta .btn { + width: 100%; + } + + .hero-visual { + display: none; + } +} + +/* ===== Expertise Grid ===== */ +.expertise-grid { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 24px; +} + +.expertise-card { + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + padding: 24px; + transition: all var(--transition-normal); +} + +.expertise-card:hover { + border-color: var(--accent); + box-shadow: 0 4px 12px var(--shadow); +} + +.expertise-card h3 { + font-size: 18px; + margin-bottom: 16px; + color: var(--accent); +} + +.expertise-skills { + list-style: none; + display: flex; + flex-direction: column; + gap: 8px; +} + +.expertise-skill { + font-size: 14px; + color: var(--text-secondary); + padding: 4px 0; +} + +.expertise-skill::before { + content: '›'; + color: var(--accent); + margin-right: 8px; + font-weight: 600; +} + +@media (max-width: 1024px) { + .expertise-grid { + grid-template-columns: repeat(2, 1fr); + } +} + +@media (max-width: 768px) { + .expertise-grid { + grid-template-columns: 1fr; + } +} + +/* ===== Experience Timeline ===== */ +.timeline { + position: relative; + padding-left: 32px; +} + +.timeline::before { + content: ''; + position: absolute; + left: 4px; + top: 0; + bottom: 0; + width: 2px; + background: var(--border); +} + +.timeline-entry { + position: relative; + margin-bottom: 48px; + padding-bottom: 48px; + border-bottom: 1px solid var(--border); +} + +.timeline-entry:last-child { + margin-bottom: 0; + padding-bottom: 0; + border-bottom: none; +} + +.timeline-marker { + position: absolute; + left: -32px; + top: 4px; + width: 12px; + height: 12px; + border-radius: 50%; + border: 2px solid var(--accent); + background: var(--bg-primary); +} + +.timeline-entry:last-child .timeline-marker { + background: var(--accent); + width: 14px; + height: 14px; + left: -33px; + top: 3px; +} + +.timeline-header { + margin-bottom: 16px; +} + +.timeline-title { + font-size: 20px; + font-weight: 600; + color: var(--text-primary); +} + +.timeline-company { + font-size: 16px; + color: var(--text-secondary); +} + +.timeline-duration { + font-size: 14px; + color: var(--text-muted); +} + +.timeline-responsibilities { + list-style: none; + display: flex; + flex-direction: column; + gap: 8px; + margin-bottom: 24px; +} + +.timeline-responsibilities li { + font-size: 14px; + color: var(--text-secondary); + padding-left: 16px; + position: relative; +} + +.timeline-responsibilities li::before { + content: '•'; + position: absolute; + left: 0; + color: var(--accent); +} + +.achievement { + background: var(--bg-surface); + border-left: 4px solid var(--accent); + border-radius: 0 var(--radius-md) var(--radius-md) 0; + padding: 20px 24px; + margin-bottom: 16px; +} + +.achievement-title { + font-size: 18px; + font-weight: 600; + color: var(--text-primary); + margin-bottom: 8px; +} + +.achievement-context { + font-size: 14px; + color: var(--text-secondary); + margin-bottom: 12px; +} + +.achievement-techs { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-top: 12px; +} + +.achievement-metric { + display: inline-block; + background: var(--accent); + color: #ffffff; + padding: 4px 12px; + border-radius: var(--radius-sm); + font-size: 14px; + font-weight: 600; + margin: 4px 4px 4px 0; +} + +@media (max-width: 768px) { + .timeline { + padding-left: 0; + } + + .timeline::before { + display: none; + } + + .timeline-marker { + display: none; + } +} + +/* ===== Project Cards Grid ===== */ +.projects-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 24px; +} + +.project-card { + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + padding: 24px; + display: flex; + flex-direction: column; + gap: 16px; + transition: all var(--transition-normal); + text-decoration: none; + color: inherit; +} + +.project-card:hover { + border-color: var(--accent); + box-shadow: 0 4px 12px var(--shadow); + transform: translateY(-2px); + color: inherit; +} + +.project-card-header { + display: flex; + justify-content: space-between; + align-items: flex-start; +} + +.project-card h3 { + font-size: 20px; + color: var(--text-primary); + margin: 0; +} + +.project-card-summary { + font-size: 14px; + color: var(--text-secondary); + line-height: 1.6; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.project-card-techs { + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.project-card-metrics { + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.project-card-cta { + margin-top: auto; + font-size: 14px; + font-weight: 500; + color: var(--accent); +} + +@media (max-width: 768px) { + .projects-grid { + grid-template-columns: 1fr; + } +} + +/* ===== Philosophy ===== */ +.philosophy-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 24px; + margin-top: 32px; +} + +.philosophy-card { + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + padding: 24px; + transition: all var(--transition-normal); +} + +.philosophy-card:hover { + border-color: var(--accent); +} + +.philosophy-card h3 { + font-size: 18px; + color: var(--accent); + margin-bottom: 8px; +} + +.philosophy-card p { + font-size: 14px; +} + +.philosophy-keywords { + display: flex; + flex-wrap: wrap; + gap: 6px; + margin-top: 12px; +} + +.interests-list { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-top: 24px; +} + +@media (max-width: 768px) { + .philosophy-grid { + grid-template-columns: 1fr; + } +} + +/* ===== Contact ===== */ +.contact-links { + display: flex; + gap: 32px; + margin-top: 32px; +} + +.contact-link { + display: flex; + align-items: center; + gap: 12px; + font-size: 16px; + color: var(--text-secondary); + text-decoration: none; + padding: 16px 24px; + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + transition: all var(--transition-fast); +} + +.contact-link:hover { + border-color: var(--accent); + color: var(--accent); + transform: translateY(-2px); +} + +.contact-link svg { + width: 24px; + height: 24px; +} + +@media (max-width: 768px) { + .contact-links { + flex-direction: column; + } +} + +/* ===== Footer ===== */ +.footer { + border-top: 1px solid var(--border); + padding: 32px 0; + margin-top: auto; +} + +.footer-container { + max-width: var(--max-wide); + margin: 0 auto; + padding: 0 24px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.footer-text { + font-size: 14px; + color: var(--text-muted); +} + +.footer-links { + display: flex; + gap: 24px; + list-style: none; +} + +.footer-link { + font-size: 14px; + color: var(--text-muted); + text-decoration: none; + transition: color var(--transition-fast); +} + +.footer-link:hover { + color: var(--accent); +} + +@media (max-width: 768px) { + .footer-container { + flex-direction: column; + gap: 16px; text-align: center; } -} -#docs { - border-right: 1px solid var(--border); - - @media (max-width: 1024px) { - border-right: none; - border-bottom: 1px solid var(--border); + .footer-links { + justify-content: center; } } -#next-steps ul { - list-style: none; - padding: 0; +/* ===== Page Header ===== */ +.page-header { + padding: 80px 0 48px; + text-align: center; +} + +.page-header h1 { + margin-bottom: 16px; +} + +/* ===== Breadcrumb ===== */ +.breadcrumb { + display: flex; + align-items: center; + gap: 8px; + font-size: 14px; + color: var(--text-muted); + margin-bottom: 24px; +} + +.breadcrumb a { + color: var(--text-muted); +} + +.breadcrumb a:hover { + color: var(--accent); +} + +.breadcrumb-separator { + color: var(--text-muted); +} + +/* ===== Form ===== */ +.form-group { + margin-bottom: 24px; +} + +.form-label { + display: block; + font-size: 14px; + font-weight: 500; + color: var(--text-primary); + margin-bottom: 8px; +} + +.form-input, +.form-textarea { + width: 100%; + padding: 12px 16px; + font-size: 16px; + font-family: inherit; + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-md); + color: var(--text-primary); + transition: border-color var(--transition-fast); +} + +.form-input:focus, +.form-textarea:focus { + outline: none; + border-color: var(--accent); + box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1); +} + +.form-input::placeholder, +.form-textarea::placeholder { + color: var(--text-muted); +} + +.form-textarea { + min-height: 120px; + resize: vertical; +} + +/* ===== Filter bar ===== */ +.filter-bar { display: flex; gap: 8px; - margin: 32px 0 0; - - .logo { - height: 18px; - } - - a { - color: var(--text-h); - font-size: 16px; - border-radius: 6px; - background: var(--social-bg); - display: flex; - padding: 6px 12px; - align-items: center; - gap: 8px; - text-decoration: none; - transition: box-shadow 0.3s; - - &:hover { - box-shadow: var(--shadow); - } - .button-icon { - height: 18px; - width: 18px; - } - } - - @media (max-width: 1024px) { - margin-top: 20px; - flex-wrap: wrap; - justify-content: center; - - li { - flex: 1 1 calc(50% - 8px); - } - - a { - width: 100%; - justify-content: center; - box-sizing: border-box; - } - } + flex-wrap: wrap; + margin-bottom: 32px; + justify-content: center; } -#spacer { - height: 88px; - border-top: 1px solid var(--border); - @media (max-width: 1024px) { - height: 48px; - } +.filter-pill { + padding: 8px 16px; + font-size: 14px; + font-weight: 500; + background: transparent; + border: 1px solid var(--border); + border-radius: 100px; + color: var(--text-muted); + cursor: pointer; + transition: all var(--transition-fast); + font-family: inherit; } -.ticks { - position: relative; - width: 100%; - - &::before, - &::after { - content: ''; - position: absolute; - top: -4.5px; - border: 5px solid transparent; - } - - &::before { - left: 0; - border-left-color: var(--border); - } - &::after { - right: 0; - border-right-color: var(--border); - } +.filter-pill:hover { + border-color: var(--accent); + color: var(--accent); +} + +.filter-pill.active { + background: var(--accent); + border-color: var(--accent); + color: #ffffff; +} + +/* ===== Article Card ===== */ +.article-card { + background: var(--bg-surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + padding: 24px; + margin-bottom: 16px; + transition: all var(--transition-normal); + text-decoration: none; + color: inherit; +} + +.article-card:hover { + border-color: var(--accent); + box-shadow: 0 4px 12px var(--shadow); + transform: translateY(-2px); +} + +.article-card h3 { + font-size: 20px; + color: var(--text-primary); + margin-bottom: 8px; +} + +.article-meta { + display: flex; + gap: 16px; + font-size: 14px; + color: var(--text-muted); + margin-bottom: 8px; +} + +/* ===== Engineering Tabs ===== */ +.engineering-tabs { + display: flex; + gap: 0; + border-bottom: 1px solid var(--border); + margin-bottom: 32px; +} + +.engineering-tab { + padding: 12px 24px; + font-size: 16px; + font-weight: 500; + background: none; + border: none; + border-bottom: 2px solid transparent; + color: var(--text-muted); + cursor: pointer; + transition: all var(--transition-fast); + font-family: inherit; +} + +.engineering-tab:hover { + color: var(--text-primary); +} + +.engineering-tab.active { + color: var(--accent); + border-bottom-color: var(--accent); +} + +/* ===== Content prose ===== */ +.prose { + max-width: var(--max-content); +} + +.prose h2 { + margin-top: 48px; + margin-bottom: 16px; + font-size: 28px; +} + +.prose h3 { + margin-top: 32px; + margin-bottom: 12px; + font-size: 22px; +} + +.prose p { + margin-bottom: 16px; +} + +.prose ul, +.prose ol { + margin-bottom: 16px; + padding-left: 24px; +} + +.prose li { + margin-bottom: 8px; + color: var(--text-secondary); +} + +.prose blockquote { + border-left: 4px solid var(--accent); + padding-left: 16px; + margin: 16px 0; + color: var(--text-secondary); + font-style: italic; +} + +/* ===== Back to top ===== */ +.back-to-top { + position: fixed; + bottom: 24px; + right: 24px; + width: 40px; + height: 40px; + border-radius: 50%; + background: var(--accent); + color: #ffffff; + border: none; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + opacity: 0; + transform: translateY(10px); + transition: all var(--transition-normal); + z-index: 100; +} + +.back-to-top.visible { + opacity: 1; + transform: translateY(0); +} + +.back-to-top:hover { + background: var(--accent-hover); } diff --git a/src/App.tsx b/src/App.tsx index 9ca8e8d..b22964b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,121 +1,34 @@ -import { useState } from 'react' -import heroImg from './assets/hero.png' -import reactLogo from './assets/react.svg' -import viteLogo from './assets/vite.svg' import './App.css' +import { BrowserRouter, Routes, Route } from 'react-router-dom' +import { ThemeProvider } from '@/hooks/useTheme' +import { Layout } from '@/components/layout/Layout' +import { + HomePage, + AboutPage, + ExperiencePage, + ProjectsListPage, + ProjectDetailPage, + EngineeringPage, + ContactPage, +} from '@/pages' function App() { - const [count, setCount] = useState(0) - return ( - <> -
-
- - React logo - Vite logo -
-
-

Get started

-

- Edit src/App.tsx and save to test HMR -

-
- -
- -
- -
-
- -

Documentation

-

Your questions, answered

- -
-
- -

Connect with us

-

Join the Vite community

- -
-
- -
-
- + + + + + } /> + } /> + } /> + } /> + } /> + } /> + } /> + + + + ) } diff --git a/src/components/index.ts b/src/components/index.ts new file mode 100644 index 0000000..4027856 --- /dev/null +++ b/src/components/index.ts @@ -0,0 +1,15 @@ +export { Button } from './ui/Button' +export { Badge } from './ui/Badge' +export { Tag } from './ui/Tag' +export { Card } from './ui/Card' +export { SectionHeading } from './ui/SectionHeading' +export { SocialLinks } from './ui/SocialLinks' +export { Navigation } from './layout/Navigation' +export { Footer } from './layout/Footer' +export { Layout } from './layout/Layout' +export { Hero } from './sections/Hero' +export { About } from './sections/About' +export { Expertise } from './sections/Expertise' +export { Experience } from './sections/Experience' +export { Projects } from './sections/Projects' +export { Contact } from './sections/Contact' diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx new file mode 100644 index 0000000..68dcb21 --- /dev/null +++ b/src/components/layout/Footer.tsx @@ -0,0 +1,71 @@ +import { Link } from 'react-router-dom' +import { profile } from '@/data/profile' + +const footerLinks = [ + { label: 'Home', path: '/' }, + { label: 'About', path: '/about' }, + { label: 'Projects', path: '/projects' }, + { label: 'Contact', path: '/contact' }, +] + +export function Footer() { + const year = new Date().getFullYear() + + return ( + + ) +} diff --git a/src/components/layout/Layout.tsx b/src/components/layout/Layout.tsx new file mode 100644 index 0000000..8bfdc98 --- /dev/null +++ b/src/components/layout/Layout.tsx @@ -0,0 +1,21 @@ +import { Navigation } from './Navigation' +import { Footer } from './Footer' + +interface LayoutProps { + children?: React.ReactNode +} + +export function Layout({ children }: LayoutProps) { + return ( + <> + + Skip to content + + +
+ {children} +
+