refactor: extract ColorManipulation component and pass icon/summary to AppPage

- Rename ColorPage → ColorManipulation (no AppPage wrapper inside)
- Move AppPage + title/description/icon to color/page.tsx, consistent with other tools
- AppPage now accepts icon prop directly; removes internal usePathname lookup and 'use client'
- All tool pages pass tool.summary as description and tool.icon as icon

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 09:57:06 +01:00
parent 82649f6674
commit 28747a6c8f
10 changed files with 408 additions and 415 deletions

View File

@@ -11,7 +11,8 @@ export default function MediaPage() {
return (
<AppPage
title={tool.title}
description={tool.description}
description={tool.summary}
icon={tool.icon}
>
<FileConverter />
</AppPage>