feat: navbar on top
CI / 🔍 Lint & Type Check (push) Successful in 1m7s
CI / 🐳 Build & Push Image (push) Successful in 25s

This commit is contained in:
2026-07-19 20:45:35 +02:00
parent 448450908b
commit c8a75cb64a
2 changed files with 55 additions and 42 deletions
+13 -2
View File
@@ -329,10 +329,18 @@ svg {
line-height: 1.45; line-height: 1.45;
} }
.home-content {
display: flex;
flex: 1 1 auto;
width: 100%;
padding: 0;
align-items: center;
}
.service-grid { .service-grid {
display: grid; display: grid;
width: min(1120px, 100%); width: min(1120px, 100%);
margin-top: 48px; margin: 0;
grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 32px; gap: 32px;
} }
@@ -1395,6 +1403,10 @@ h2.pixel-heading {
padding: 0 12px; padding: 0 12px;
} }
.home-content {
padding: 34px 0 0;
}
.brand-lockup { .brand-lockup {
font-size: 1rem; font-size: 1rem;
} }
@@ -1419,7 +1431,6 @@ h2.pixel-heading {
.service-grid { .service-grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
margin-top: 34px;
} }
.service-card { .service-card {
+3 -1
View File
@@ -10,7 +10,7 @@ import { astroneerServer, siteConfig } from "./lib/server-config";
export default function Home() { export default function Home() {
return ( return (
<main className="stellar-page home-page"> <main className="stellar-page home-page">
<section className="home-shell lg:justify-center" aria-label="Services privés de Leon"> <section className="home-shell" aria-label="Services privés de Leon">
<nav className="home-nav" aria-label="Navigation principale"> <nav className="home-nav" aria-label="Navigation principale">
<Link href="/" className="brand-lockup" aria-label="Accueil"> <Link href="/" className="brand-lockup" aria-label="Accueil">
<span className="brand-mark">L</span> <span className="brand-mark">L</span>
@@ -31,6 +31,7 @@ export default function Home() {
{/* <h1 id="home-title">{siteConfig.title}</h1>*/} {/* <h1 id="home-title">{siteConfig.title}</h1>*/}
{/*</div>*/} {/*</div>*/}
<div className="home-content">
<div className="service-grid" aria-label="Services disponibles"> <div className="service-grid" aria-label="Services disponibles">
<HomeElement <HomeElement
title="Momostreaming" title="Momostreaming"
@@ -74,6 +75,7 @@ export default function Home() {
<AstroneerIcon /> <AstroneerIcon />
</HomeElement> </HomeElement>
</div> </div>
</div>
</section> </section>
</main> </main>
); );