fix: add newlines and formatting improvements in blog posts refactor: update import paths to use alias for better readability style: update global CSS to use double quotes for consistency chore: update tsconfig to include path aliasing for cleaner imports
31 lines
814 B
Text
31 lines
814 B
Text
---
|
|
import "@/styles/global.css";
|
|
import Footer from "@/components/Footer.astro";
|
|
import Header from "@/components/Header.astro";
|
|
|
|
interface Props {
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
const { title, description } = Astro.props;
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang="en" class="[scrollbar-gutter:stable]">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<title>{title}</title>
|
|
<meta name="description" content={description} />
|
|
<meta name="generator" content={Astro.generator} />
|
|
</head>
|
|
<body class="h-screen max-w-5xl mx-auto flex flex-col font-sans">
|
|
<Header />
|
|
<div class="w-full max-w-3xl mx-auto flex-1 py-12">
|
|
<slot />
|
|
</div>
|
|
<Footer />
|
|
</body>
|
|
</html>
|