Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions apps/docs/components.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { defineComponents } from "blume";

import Footer from "./components/blume/Footer.astro";
import Pagination from "./components/blume/Pagination.astro";

export default defineComponents({
layout: {
Footer,
// Footer omitted from layout — homepage-only in `pages/index.astro`.
// Theme radius (rounded-blume) instead of built-in pill corners.
Pagination,
},
Expand Down
5 changes: 2 additions & 3 deletions apps/docs/components/blume/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ interface Props {

const { site, navigation, ui } = Astro.props;

// `layout.Footer` is wired by RootLayout, which does not forward `logo` — pull
// the resolved brand mark from the generated data module so the footer stays in
// sync with the header logo.
// RootLayout does not forward `logo` — pull from `blume:data` so the footer
// stays in sync with the header logo.
const logo = data.config.logo;
const repoUrl = navigation.repoUrl;
const year = new Date().getFullYear();
Expand Down