**Design System Enhancements:** Replace .md links with clean paths in /dev documentation. Migrate anchor tags (<a>) to Next.js <Link> components for internal navigation. Add dynamic [...slug] markdown route for rendering docs. Introduce MarkdownContent for styled markdown rendering with syntax highlighting. Perform general cleanup of unused imports and variables in design system files. Fix minor wording issues.

This commit is contained in:
2025-11-02 13:33:47 +01:00
parent c3c6a18dd1
commit 13771c5354
11 changed files with 2214 additions and 51 deletions

View File

@@ -13,7 +13,7 @@ import Link from 'next/link';
import {
Moon, Sun, Mail, User,
Settings, LogOut, Shield, AlertCircle, Info,
CheckCircle2, AlertTriangle, Trash2, ArrowLeft
Trash2, ArrowLeft
} from 'lucide-react';
import { Button } from '@/components/ui/button';
import {

View File

@@ -8,7 +8,6 @@
'use client';
import { useState } from 'react';
import { Code2, Eye } from 'lucide-react';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
@@ -49,7 +48,6 @@ export function Example({
centered = false,
tags,
}: ExampleProps) {
const [showCode, setShowCode] = useState(false);
// Compact variant - no card wrapper
if (variant === 'compact') {