chore: layout

This commit is contained in:
enscribe 2024-09-10 12:51:03 -07:00
parent b9561ad2d0
commit 230dca64ca
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
27 changed files with 446 additions and 339 deletions

View file

@ -4,6 +4,7 @@ import Header from '@components/Header.astro'
import Footer from '@components/Footer.astro'
import { SITE } from '@consts'
import '../styles/katex.css'
import { ViewTransitions } from 'astro:transitions'
type Props = {
title: string
@ -17,10 +18,13 @@ const { title, description } = Astro.props
<html lang="en">
<head>
<Head title={`${title} | ${SITE.TITLE}`} description={description} />
<ViewTransitions />
</head>
<body>
<body
class="box-border flex h-fit min-h-screen flex-col px-4 font-sans antialiased"
>
<Header />
<main>
<main class="flex-grow">
<slot />
</main>
<Footer />