'use client' /** * Brandbook - Corporate Design & Styleguide * * Dokumentiert alle Designelemente: * - Farben * - Typografie * - Komponenten * - Logo-Verwendung * - Tonalität */ import { useState } from 'react' import AdminLayout from '@/components/admin/AdminLayout' import type { BrandbookTab } from './_components/types' import ColorsTab from './_components/ColorsTab' import TypographyTab from './_components/TypographyTab' import ComponentsTab from './_components/ComponentsTab' import LogoTab from './_components/LogoTab' import VoiceTab from './_components/VoiceTab' const TABS: { id: BrandbookTab; label: string }[] = [ { id: 'colors', label: 'Farben' }, { id: 'typography', label: 'Typografie' }, { id: 'components', label: 'Komponenten' }, { id: 'logo', label: 'Logo' }, { id: 'voice', label: 'Tonalität' }, ] export default function BrandbookPage() { const [activeTab, setActiveTab] = useState('colors') return ( {/* Tabs */}
{TABS.map((tab) => ( ))}
{activeTab === 'colors' && } {activeTab === 'typography' && } {activeTab === 'components' && } {activeTab === 'logo' && } {activeTab === 'voice' && }
) }