Draft project page

This commit is contained in:
Alexis
2025-07-14 15:03:33 +02:00
parent cc980732a1
commit 3e80440afc
9 changed files with 347 additions and 74 deletions

View File

@@ -3,7 +3,7 @@ import '../../assets/css/main.css'
import BgParticles from '../components/BgParticles.astro'
import BgGrid from '../components/BgGrid.astro'
import HeadFavicon from './HeadFavicon.astro'
import Navbar from "../components/Navbar.astro";
interface Props {
title?: string
description?: string
@@ -11,7 +11,7 @@ interface Props {
hasGrid?: boolean
}
const { title = "Home", hasParticles = true, hasGrid = true } = Astro.props
const { title = "Home", hasParticles = false, hasGrid = false } = Astro.props
const baseTitle = 'Alexis Pelé'
const renderedTitle = `${title} · ${baseTitle}`
@@ -85,7 +85,9 @@ const websiteDomain = "alexcreates.fr"
</script>
</head>
<body class="relative bg-slate-950 text-white overflow-hidden">
<body class="relative bg-slate-950 text-white overflow-hidden px-4 md:px-12 grid grid-rows-[auto_1fr] gap-4">
<Navbar />
<slot />
{hasParticles &&