diff --git a/admin-core/app/(admin)/development/brandbook/page.tsx b/admin-core/app/(admin)/development/brandbook/page.tsx deleted file mode 100644 index 7596b05..0000000 --- a/admin-core/app/(admin)/development/brandbook/page.tsx +++ /dev/null @@ -1,318 +0,0 @@ -'use client' - -import { useState } from 'react' - -type Tab = 'colors' | 'typography' | 'components' | 'logos' | 'voice' - -const tabs: { id: Tab; label: string }[] = [ - { id: 'colors', label: 'Farben' }, - { id: 'typography', label: 'Typografie' }, - { id: 'components', label: 'Komponenten' }, - { id: 'logos', label: 'Logos' }, - { id: 'voice', label: 'Voice & Tone' }, -] - -const primaryColors = [ - { name: 'Primary 50', hex: '#f0f9ff', class: 'bg-primary-50' }, - { name: 'Primary 100', hex: '#e0f2fe', class: 'bg-primary-100' }, - { name: 'Primary 200', hex: '#bae6fd', class: 'bg-primary-200' }, - { name: 'Primary 300', hex: '#7dd3fc', class: 'bg-primary-300' }, - { name: 'Primary 400', hex: '#38bdf8', class: 'bg-primary-400' }, - { name: 'Primary 500', hex: '#0ea5e9', class: 'bg-primary-500' }, - { name: 'Primary 600', hex: '#0284c7', class: 'bg-primary-600' }, - { name: 'Primary 700', hex: '#0369a1', class: 'bg-primary-700' }, - { name: 'Primary 800', hex: '#075985', class: 'bg-primary-800' }, - { name: 'Primary 900', hex: '#0c4a6e', class: 'bg-primary-900' }, -] - -const categoryColorSets = [ - { - name: 'Kommunikation', - baseHex: '#22c55e', - swatches: [ - { name: '100', hex: '#dcfce7' }, - { name: '300', hex: '#86efac' }, - { name: '500', hex: '#22c55e' }, - { name: '700', hex: '#15803d' }, - ], - }, - { - name: 'Infrastruktur', - baseHex: '#f97316', - swatches: [ - { name: '100', hex: '#ffedd5' }, - { name: '300', hex: '#fdba74' }, - { name: '500', hex: '#f97316' }, - { name: '700', hex: '#c2410c' }, - ], - }, - { - name: 'Entwicklung', - baseHex: '#64748b', - swatches: [ - { name: '100', hex: '#f1f5f9' }, - { name: '300', hex: '#cbd5e1' }, - { name: '500', hex: '#64748b' }, - { name: '700', hex: '#334155' }, - ], - }, -] - -export default function BrandbookPage() { - const [activeTab, setActiveTab] = useState('colors') - - return ( -
- {/* Tabs */} -
- {tabs.map((tab) => ( - - ))} -
- - {/* Colors Tab */} - {activeTab === 'colors' && ( -
- {/* Primary */} -
-

Primary: Sky Blue

-
- {primaryColors.map((color) => ( -
-
-
{color.name.split(' ')[1]}
-
{color.hex}
-
- ))} -
-
- - {/* Category Colors */} -
-

Kategorie-Farben

-
- {categoryColorSets.map((set) => ( -
-
-
-

{set.name}

- {set.baseHex} -
-
- {set.swatches.map((swatch) => ( -
-
-
{swatch.name}
-
- ))} -
-
- ))} -
-
- - {/* Semantic Colors */} -
-

Semantische Farben

-
- {[ - { name: 'Success', hex: '#22c55e', bg: '#dcfce7' }, - { name: 'Warning', hex: '#f59e0b', bg: '#fef3c7' }, - { name: 'Error', hex: '#ef4444', bg: '#fee2e2' }, - { name: 'Info', hex: '#3b82f6', bg: '#dbeafe' }, - ].map((color) => ( -
-
-
{color.name}
-
{color.hex}
-
- ))} -
-
-
- )} - - {/* Typography Tab */} - {activeTab === 'typography' && ( -
-
-

Schriftart: Inter

-

- Inter ist eine Open-Source-Schriftart (OFL), optimiert fuer Bildschirme. -

- -
- {[ - { name: 'Heading 1', class: 'text-4xl font-bold', size: '36px / 2.25rem' }, - { name: 'Heading 2', class: 'text-2xl font-semibold', size: '24px / 1.5rem' }, - { name: 'Heading 3', class: 'text-xl font-semibold', size: '20px / 1.25rem' }, - { name: 'Body Large', class: 'text-lg', size: '18px / 1.125rem' }, - { name: 'Body', class: 'text-base', size: '16px / 1rem' }, - { name: 'Body Small', class: 'text-sm', size: '14px / 0.875rem' }, - { name: 'Caption', class: 'text-xs', size: '12px / 0.75rem' }, - ].map((item) => ( -
-
{item.name}
-
- BreakPilot Core Admin -
-
{item.size}
-
- ))} -
-
-
- )} - - {/* Components Tab */} - {activeTab === 'components' && ( -
- {/* Buttons */} -
-

Buttons

-
- - - - - -
-
- - {/* Cards */} -
-

Cards

-
-
-

Default Card

-

Standard-Karte mit Rand

-
-
-

Active Card

-

Hervorgehobene Karte

-
-
-

Hover Card

-

Karte mit Hover-Effekt

-
-
-
- - {/* Badges */} -
-

Badges / Status

-
- Healthy - Error - Warning - Info - Default -
-
-
- )} - - {/* Logos Tab */} - {activeTab === 'logos' && ( -
-
-

Logo-Varianten

-
-
-
-
BreakPilot
-
Core Admin
-
-
-
-
-
BreakPilot
-
Core Admin
-
-
-
-
- -
-

Schutzzone

-

- Um das Logo herum muss mindestens der Abstand der Buchstabenhoehe "B" als Freiraum gelassen werden. -

-
-
- )} - - {/* Voice & Tone Tab */} - {activeTab === 'voice' && ( -
-
-

Sprachstil

-
-
-

So schreiben wir

-
    -
  • - + - Klar und direkt -
  • -
  • - + - Technisch praezise, aber verstaendlich -
  • -
  • - + - Handlungsorientiert -
  • -
  • - + - Deutsch als Hauptsprache -
  • -
-
-
-

Das vermeiden wir

-
    -
  • - - - Unnoetige Anglizismen -
  • -
  • - - - Marketing-Sprache -
  • -
  • - - - Passive Formulierungen -
  • -
  • - - - Abkuerzungen ohne Erklaerung -
  • -
-
-
-
-
- )} -
- ) -} diff --git a/admin-core/app/(admin)/development/docs/page.tsx b/admin-core/app/(admin)/development/docs/page.tsx deleted file mode 100644 index 8cef5aa..0000000 --- a/admin-core/app/(admin)/development/docs/page.tsx +++ /dev/null @@ -1,77 +0,0 @@ -'use client' - -import { useState } from 'react' - -const quickLinks = [ - { name: 'Backend Core API', url: 'https://macmini:8000/docs', description: 'FastAPI Swagger Docs' }, - { name: 'Gitea', url: 'http://macmini:3003', description: 'Git Server' }, - { name: 'Woodpecker CI', url: 'http://macmini:8090', description: 'CI/CD Pipelines' }, - { name: 'MkDocs', url: 'http://macmini:8009', description: 'Projekt-Dokumentation' }, -] - -export default function DocsPage() { - const [iframeUrl, setIframeUrl] = useState('http://macmini:8009') - const [isLoading, setIsLoading] = useState(true) - - return ( -
- {/* Quick Links */} -
- {quickLinks.map((link) => ( - - ))} -
- - {/* Iframe Viewer */} -
-
- {iframeUrl} - - In neuem Tab oeffnen - -
-
- {isLoading && ( -
-
-
- )} -