Migrate to Contentlayer2

This commit is contained in:
2025-11-19 21:46:49 +08:00
parent a249a120a5
commit 4c08413936
18 changed files with 1370 additions and 6377 deletions

View File

@@ -2,7 +2,7 @@ import Link from 'next/link';
import { ThemeToggle } from './theme-toggle';
import { NavMenu, NavLinkItem, IconKey } from './nav-menu';
import { siteConfig } from '@/lib/config';
import { allPages } from 'contentlayer/generated';
import { allPages } from 'contentlayer2/generated';
export function SiteHeader() {
const pages = allPages