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

@@ -24,17 +24,17 @@ export function Footer() {
<h3 className="font-semibold">Resources</h3>
<ul className="space-y-2 text-sm">
<li>
<Link href="/pastel/playground" className="text-muted-foreground hover:text-foreground transition-colors">
<Link href="/pastel" className="text-muted-foreground hover:text-foreground transition-colors">
Color Playground
</Link>
</li>
<li>
<Link href="/pastel/palettes" className="text-muted-foreground hover:text-foreground transition-colors">
<Link href="/pastel/harmony" className="text-muted-foreground hover:text-foreground transition-colors">
Palette Generator
</Link>
</li>
<li>
<Link href="/pastel/accessibility" className="text-muted-foreground hover:text-foreground transition-colors">
<Link href="/pastel/contrast" className="text-muted-foreground hover:text-foreground transition-colors">
Accessibility Tools
</Link>
</li>