seo: add meta description (tool.summary) to all tool pages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 10:34:42 +01:00
parent bc9e30c918
commit c9c7d22766
6 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
const tool = getToolByHref('/ascii')!; const tool = getToolByHref('/ascii')!;
export const metadata: Metadata = { title: tool.title }; export const metadata: Metadata = { title: tool.title, description: tool.summary };
export default function ASCIIPage() { export default function ASCIIPage() {
return ( return (

View File

@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
const tool = getToolByHref('/color')!; const tool = getToolByHref('/color')!;
export const metadata: Metadata = { title: tool.title }; export const metadata: Metadata = { title: tool.title, description: tool.summary };
export default function ColorPage() { export default function ColorPage() {
return ( return (

View File

@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
const tool = getToolByHref('/favicon')!; const tool = getToolByHref('/favicon')!;
export const metadata: Metadata = { title: tool.title }; export const metadata: Metadata = { title: tool.title, description: tool.summary };
export default function FaviconPage() { export default function FaviconPage() {
return ( return (

View File

@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
const tool = getToolByHref('/media')!; const tool = getToolByHref('/media')!;
export const metadata: Metadata = { title: tool.title }; export const metadata: Metadata = { title: tool.title, description: tool.summary };
export default function MediaPage() { export default function MediaPage() {
return ( return (

View File

@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
const tool = getToolByHref('/qrcode')!; const tool = getToolByHref('/qrcode')!;
export const metadata: Metadata = { title: tool.title }; export const metadata: Metadata = { title: tool.title, description: tool.summary };
export default function QRCodePage() { export default function QRCodePage() {
return ( return (

View File

@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
const tool = getToolByHref('/units')!; const tool = getToolByHref('/units')!;
export const metadata: Metadata = { title: tool.title }; export const metadata: Metadata = { title: tool.title, description: tool.summary };
export default function UnitsPage() { export default function UnitsPage() {
return ( return (