From 02ae938c238c9d18448d17a8ec92c0edd8c17463 Mon Sep 17 00:00:00 2001 From: Bertrand Yuan Date: Tue, 16 Dec 2025 00:12:49 +0800 Subject: feat(back-end): introduce payload Payload is the next.js Headless CMS and App Framework, I would like to pick it up and modify it as it is MIT licensed. Many features in Payload is not applicable for our project. So, I modify it so that it is light and clear. --- src/app/layout.config.tsx | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/app/layout.config.tsx (limited to 'src/app/layout.config.tsx') diff --git a/src/app/layout.config.tsx b/src/app/layout.config.tsx deleted file mode 100644 index f9efebb..0000000 --- a/src/app/layout.config.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { UserButton } from '@/components/auth/user-button'; -import { Icons } from '@/components/icons/icons'; -import type { LinkItemType } from 'fumadocs-ui/layouts/links'; -import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'; - -export const title = 'Blog'; -export const description = - 'A blog about web development, software engineering, and the latest technologies.'; -export const owner = 'Anirudh Sriram'; - -export const baseOptions: BaseLayoutProps = { - nav: { - title, - }, - githubUrl: 'https://github.com/techwithanirudh/shadcn-blog', -}; - -export const linkItems: LinkItemType[] = [ - { - icon: , - text: 'About', - url: '/about', - active: 'url', - }, - { - icon: , - text: 'Posts', - url: '/posts', - active: 'url', - }, - { - icon: , - text: 'Tags', - url: '/tags', - active: 'url', - }, - { - type: 'custom', - children: , - secondary: true, - }, -]; - -export const postsPerPage = 5; -- cgit v1.2.3