This commit is contained in:
parent
fb5a3b8093
commit
58d8b661a8
1055 changed files with 116254 additions and 89 deletions
24
sites/poetry/src/layouts/BasicLayout.astro
Normal file
24
sites/poetry/src/layouts/BasicLayout.astro
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
import BaseHead from "@/components/BaseHead.astro";
|
||||
import Navbar from "@/components/sections/navbar";
|
||||
import Footer from "@/components/sections/footer";
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<BaseHead title={title} description={description} />
|
||||
</head>
|
||||
<body class={`h-screen antialiased`}>
|
||||
<Navbar client:only='react' />
|
||||
<main>
|
||||
<section class="mx-auto max-w-2xl px-4 py-16 md:py-28 lg:py-32">
|
||||
<article class="prose prose-lg dark:prose-invert">
|
||||
<slot />
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue