From 5b7ccf0b671e2999b62befc729a3e517a0433728 Mon Sep 17 00:00:00 2001 From: Bertrand Yuan Date: Mon, 15 Dec 2025 23:48:10 +0800 Subject: initial commit -- the front-end prototype The initial code is base on Anirudh's work. More to see at: https://github.com/techwithanirudh/shadcn-blog Therefore, the code in this commit is under MIT license. --- src/components/sections/footer.tsx | 112 +++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 src/components/sections/footer.tsx (limited to 'src/components/sections/footer.tsx') diff --git a/src/components/sections/footer.tsx b/src/components/sections/footer.tsx new file mode 100644 index 0000000..8d0d876 --- /dev/null +++ b/src/components/sections/footer.tsx @@ -0,0 +1,112 @@ +import { baseOptions, linkItems, postsPerPage } from '@/app/layout.config'; +import { InlineLink } from '@/components/inline-link'; +import { getSortedByDatePosts, getTags } from '@/lib/source'; +import { cn } from '@/lib/utils'; +import { getLinks } from 'fumadocs-ui/layouts/shared'; +import { ActiveLink } from '../active-link'; + +export function Footer() { + const links = getLinks(linkItems, baseOptions.githubUrl); + const navItems = links.filter((item) => + ['nav', 'all'].includes(item.on ?? 'all'), + ); + + const posts = getSortedByDatePosts(); + const tags = getTags(); + + return ( + + ); +} + +function Design() { + return ( +
+ john•doe +
+
+
+ ); +} -- cgit v1.2.3