Skip to content

Commit e81525e

Browse files
committed
feat: remove footer component
1 parent 0790ce3 commit e81525e

File tree

3 files changed

+4
-45
lines changed

3 files changed

+4
-45
lines changed

template/layouts/default/DefaultLayout.astro

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { MarkdownHeading } from "astro";
33
import "../../styles/global.css";
44
import HtmlHead from "./html-head";
55
import MainContent from "./main-content";
6-
import { Footer } from "./footer";
76
import { appConfig } from "@root/app.config.ts";
87
import { Shell } from "./shell";
98
@@ -19,10 +18,10 @@ const { headings, frontmatter } = Astro.props as {
1918
<body>
2019
<Shell client:only="react">
2120
<div class="dba-main-grid">
22-
<MainContent frontmatter={frontmatter} headings={headings}>
23-
<slot />
24-
</MainContent>
25-
<Footer /></div>
21+
<MainContent frontmatter={frontmatter} headings={headings}>
22+
<slot />
23+
</MainContent>
24+
</div>
2625
</Shell>
2726
</body>
2827
</html>

template/layouts/default/footer/Footer.tsx

Lines changed: 0 additions & 39 deletions
This file was deleted.

template/layouts/default/footer/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)