Redesign DemoSection with additional layout, content adjustments, and new demos

- Added User Dashboard demo with `UserCircle` icon and "NEW" badge.
- Introduced "View Complete Demo Tour" CTA linking to the Demo Tour page.
- Adjusted grid layout to support 4 columns for better spacing: `md:grid-cols-2 lg:grid-cols-4`.
- Enhanced Demo credentials modal with richer content outlining user and admin account capabilities.
- Adjusted navigation links: renamed "Components" to "Design System" and added Demo Tour link.
- Updated Demo Tour with leisurely paths, feature checklists, and new demo categories (user and admin flows).
This commit is contained in:
2025-11-12 17:36:41 +01:00
parent 46ff95d8b9
commit 228d12b379
7 changed files with 484 additions and 47 deletions

View File

@@ -10,7 +10,7 @@
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { Code2, Palette, LayoutDashboard, Box, FileText, BookOpen, Home } from 'lucide-react';
import { Code2, Palette, LayoutDashboard, Box, FileText, BookOpen, Home, ArrowLeft, Rocket } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { Badge } from '@/components/ui/badge';
import { ThemeToggle } from '@/components/theme';
@@ -21,6 +21,12 @@ interface DevLayoutProps {
}
const navItems = [
{
title: 'Home',
href: '/',
icon: ArrowLeft,
exact: true,
},
{
title: 'Hub',
href: '/dev',
@@ -52,6 +58,11 @@ const navItems = [
href: '/dev/docs',
icon: BookOpen,
},
{
title: 'Live Demos',
href: '/demos',
icon: Rocket,
},
];
export function DevLayout({ children }: DevLayoutProps) {