feat(cms): integrate global layout with CMS and document decision

- Move site-config and navigation to CMS-backed SiteConfigProvider
- Keep static constants as fallback for dev and degraded modes
- Add ADR-0005 recording the global layout CMS strategy

Refs ADR-0005
This commit is contained in:
张翔 committed 2026-07-08 14:46:14 +08:00
1 parent 38be4a19ef
commit f4b98fb730
6 files changed
+282 -39

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import { useRef, useEffect } from 'react';
import { ChevronDown, Lock, Sparkles } from 'lucide-react';
import { StaticLink } from '@/components/ui/static-link';
import { AnimatePresence, motion } from 'framer-motion';
import type { MegaDropdownGroup } from '@/lib/constants/navigation';
import type { MegaDropdownGroup } from '@/lib/site-config';
interface MegaDropdownProps {
label: string;