Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 2565ed5

Browse files
committed
remove minimal layout
1 parent 022f43d commit 2565ed5

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/layout/Content.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<div class="flex flex-col md:flex-row md:justify-center bg-base-200 min-h-screen">
2-
<div class="w-full max-w-screen-md bg-base-100 shadow-[0_3px_10px_rgb(0,0,0,0.2)]">
1+
<div class="flex justify-center">
2+
<div class="w-full max-w-screen-xl">
33
<slot />
44
</div>
5-
6-
</div>
5+
</div>

src/pages/[tag].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ const { tag } = Astro.params;
2121
---
2222

2323
<Page title={tag}>
24+
<Navbar {tag} />
25+
2426
<Content>
25-
<Navbar {tag} />
26-
2727
<TagExamples client:load {tag} />
2828
</Content>
2929
</Page>

src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import Filter from "../components/Filter.svelte";
66
---
77

88
<Page title="Tags">
9+
<Navbar />
10+
911
<Content>
10-
<Navbar />
11-
1212
<Filter client:load />
1313
</Content>
1414
</Page>

0 commit comments

Comments
 (0)