Removed particle scripts

This commit is contained in:
Alexis
2026-07-07 21:09:06 +02:00
parent 4926ad1b2f
commit 12725101af

View File

@@ -1,6 +1,6 @@
--- ---
import '../../assets/css/main.css' import '../../assets/css/main.css'
import BgParticles from '../components/BgParticles.astro' // import BgParticles from '../components/BgParticles.astro'
import BgGrid from '../components/BgGrid.astro' import BgGrid from '../components/BgGrid.astro'
import HeadFavicon from './HeadFavicon.astro' import HeadFavicon from './HeadFavicon.astro'
import Navbar from "../components/Navbar.astro"; import Navbar from "../components/Navbar.astro";
@@ -11,7 +11,11 @@ interface Props {
hasGrid?: boolean hasGrid?: boolean
} }
const { title = "Home", hasParticles = false, hasGrid = false } = Astro.props const {
title = "Home",
// hasParticles = false,
hasGrid = false
} = Astro.props
const baseTitle = 'Alexis Pelé' const baseTitle = 'Alexis Pelé'
const renderedTitle = `${title} · ${baseTitle}` const renderedTitle = `${title} · ${baseTitle}`
@@ -88,12 +92,12 @@ const websiteDomain = "alexcreates.fr"
<slot /> <slot />
{hasParticles && <!-- {hasParticles &&
<BgParticles /> <BgParticles />
} } -->
{hasGrid && {hasGrid &&
<BgGrid /> <BgGrid />
} }
</body> </body>
</html> </html>