refactor: flatten Pastel routes by removing intermediate palettes and accessibility paths

- Move sub-routes from /pastel/palettes/* and /pastel/accessibility/* to direct children of /pastel
- Update AppSidebar navigation links
- Update Pastel Navbar and Footer links
- Update Tailwind source directives in pastel/globals.css
- Remove intermediate page files
This commit is contained in:
2026-02-23 08:18:44 +01:00
parent 3a100f8fde
commit 7806bcbede
12 changed files with 19 additions and 186 deletions

View File

@@ -7,11 +7,10 @@ import { cn } from '@/lib/utils/cn';
import { Palette } from 'lucide-react';
const navigation = [
{ name: 'Home', href: '/pastel' },
{ name: 'Playground', href: '/pastel/playground' },
{ name: 'Palettes', href: '/pastel/palettes' },
{ name: 'Accessibility', href: '/pastel/accessibility' },
{ name: 'Named Colors', href: '/pastel/names' },
{ name: 'Playground', href: '/pastel' },
{ name: 'Harmony', href: '/pastel/harmony' },
{ name: 'Contrast', href: '/pastel/contrast' },
{ name: 'Names', href: '/pastel/names' },
{ name: 'Batch', href: '/pastel/batch' },
];