diff --git a/src/components/Footer.astro b/src/components/Footer.astro index df7648d..2351689 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -90,9 +90,9 @@ const t = getTranslations(lang); margin-bottom: 1rem; background: repeating-linear-gradient( -45deg, - #ef5a6f 0 14px, + var(--deep-red) 0 14px, transparent 14px 28px, - #536493 28px 42px, + var(--deep-blue) 28px 42px, transparent 42px 56px ); pointer-events: none; diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index 804ee06..39aad42 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -26,6 +26,20 @@ const t = getTranslations(lang); + + + + + + diff --git a/src/layouts/MarkdownPostLayout.astro b/src/layouts/MarkdownPostLayout.astro index 4c45f43..50b02e3 100644 --- a/src/layouts/MarkdownPostLayout.astro +++ b/src/layouts/MarkdownPostLayout.astro @@ -2,11 +2,12 @@ import BaseLayout from "./BaseLayout.astro"; import Remark42Embed from "@/components/Remark42Embed.astro"; import PostNav from "@/components/Posts/PostNav.astro"; +import PostMenu from "@/components/Posts/PostMenu.astro"; import { fade } from "astro:transitions"; import { getTranslations } from "@/i18n"; import "@/styles/global.css"; -const { post, frontmatter, lang, slug, postId } = Astro.props; +const { post, frontmatter, lang, slug, postId, headings } = Astro.props; const comments = lang === "zh" ? "评论区" : "comments"; const t = getTranslations(lang); --- @@ -38,6 +39,9 @@ const t = getTranslations(lang); + + +