This commit is contained in:
parent
fb5a3b8093
commit
58d8b661a8
1055 changed files with 116254 additions and 89 deletions
19
sites/reflections/src/layouts/DefaultLayout.astro
Normal file
19
sites/reflections/src/layouts/DefaultLayout.astro
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
import BaseHead from '@/components/BaseHead.astro';
|
||||
import Footer from '@/components/sections/footer';
|
||||
import Navbar from '@/components/sections/navbar';
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<BaseHead title={title} description={description} />
|
||||
</head>
|
||||
<body class={`h-screen antialiased flex flex-col`}
|
||||
>
|
||||
<Navbar currentPage={Astro.url.pathname} client:only='react' />
|
||||
<main class="flex-1"><slot /></main>
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue