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

@@ -7,6 +7,7 @@
'use client';
import { useState } from 'react';
import Link from 'next/link';
import { Header } from '@/components/home/Header';
import { HeroSection } from '@/components/home/HeroSection';
import { ContextSection } from '@/components/home/ContextSection';
@@ -69,30 +70,23 @@ export default function Home() {
© {new Date().getFullYear()} FastNext Template. MIT Licensed.
</div>
<div className="flex items-center gap-6 text-sm text-muted-foreground">
<Link href="/demos" className="hover:text-foreground transition-colors">
Demo Tour
</Link>
<Link href="/dev" className="hover:text-foreground transition-colors">
Design System
</Link>
<a
href="https://github.com/your-org/fast-next-template"
href="https://github.com"
target="_blank"
rel="noopener noreferrer"
className="hover:text-foreground transition-colors"
>
GitHub
</a>
<a
href="https://github.com/your-org/fast-next-template#documentation"
target="_blank"
rel="noopener noreferrer"
className="hover:text-foreground transition-colors"
>
<Link href="/dev/docs" className="hover:text-foreground transition-colors">
Documentation
</a>
<a
href="https://github.com/your-org/fast-next-template/issues"
target="_blank"
rel="noopener noreferrer"
className="hover:text-foreground transition-colors"
>
Report Issue
</a>
</Link>
</div>
</div>
</div>