Restructure blogs as Astro monorepo
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Neeldhara Misra 2026-06-13 21:15:16 +02:00
parent fb5a3b8093
commit 58d8b661a8
1055 changed files with 116254 additions and 89 deletions

View 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>

View 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>