Skip to content

Commit

Permalink
fix: layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rxyhn committed Sep 11, 2024
1 parent 910f4f8 commit 9fa4c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SITE } from "@/consts";
import Container from "@/components/Container.astro";
---

<footer class="relative bg-white dark:bg-black">
<footer class="relative mt-auto bg-white dark:bg-black">
<section
class="overflow-hidden border-t border-black/25 py-3 dark:border-white/25"
>
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { SITE } from "@/consts";
<head>
<BaseHead title={`${title} - ${SITE.TITLE}`} description={description} />
</head>
<body>
<body class="flex min-h-screen flex-col">
<Boxes client:load />
<Starry
client:idle
Expand All @@ -28,10 +28,10 @@ import { SITE } from "@/consts";
particleDensity={100}
className="fixed inset-0 z-0"
/>
<div class="relative z-10">
<div class="relative z-10 flex min-h-screen flex-col">
<Header />
<Drawer />
<main>
<main class="flex-grow">
<Container size="lg">
<slot />
</Container>
Expand Down

0 comments on commit 9fa4c91

Please sign in to comment.