Draft project page
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user