Changed navbar style

This commit is contained in:
Alexis
2026-01-18 17:58:01 +01:00
parent 0b03f8bbe6
commit 04c12865ac
4 changed files with 34 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
---
---
import '../../assets/css/main.css'
import BgParticles from '../components/BgParticles.astro'
import BgGrid from '../components/BgGrid.astro'
@@ -83,8 +83,8 @@ const websiteDomain = "alexcreates.fr"
</script>
</head>
<body class="h-screen relative bg-slate-950 text-white px-12 overflow-hidden">
<Navbar floating />
<body class="h-screen relative bg-background text-body px-12 overflow-hidden">
<Navbar />
<slot />

View File

@@ -83,10 +83,12 @@ const websiteDomain = "alexcreates.fr"
</script>
</head>
<body class="h-screen relative bg-slate-950 text-white px-4 md:px-12 grid grid-rows-[auto_1fr] grid-cols-[100%] gap-4 pb-12">
<body class="h-screen relative bg-slate-950 text-white">
<Navbar />
<slot />
<div class="container pt-28">
<slot />
</div>
{hasParticles &&
<BgParticles />