diff --git a/app/[locale]/animation-sources/page.tsx b/app/[locale]/animation-sources/page.tsx index 3f6d67e..eb266a5 100644 --- a/app/[locale]/animation-sources/page.tsx +++ b/app/[locale]/animation-sources/page.tsx @@ -73,12 +73,7 @@ export default async function AnimationSourcesPage({ return ( ); } diff --git a/components/animation-sources-content.tsx b/components/animation-sources-content.tsx index 442eb22..d32db0f 100644 --- a/components/animation-sources-content.tsx +++ b/components/animation-sources-content.tsx @@ -5,34 +5,15 @@ import type { AnimationSource } from "@/data/animation-sources"; type AnimationSourcesContentProps = { sources: AnimationSource[]; - labels: { - title: string; - description: string; - empty: string; - itemCount: string; - }; + emptyLabel: string; }; export function AnimationSourcesContent({ sources, - labels, + emptyLabel, }: AnimationSourcesContentProps) { return ( -
-
-
-
- {labels.title} - - {labels.description} - -
- - {labels.itemCount} - -
-
- +
{sources.length > 0 ? (
{sources.map((source) => ( @@ -55,7 +36,7 @@ export function AnimationSourcesContent({ ) : ( - {labels.empty} + {emptyLabel} )} diff --git a/messages/en.json b/messages/en.json index a71181e..f8cca25 100644 --- a/messages/en.json +++ b/messages/en.json @@ -89,7 +89,6 @@ "title": "Animation Sources", "description": "Production notes, prompts, and reusable code from animations I create for web and mobile products.", "empty": "No animation sources have been added yet.", - "itemCount": "{count} sources", "back": "Back to animation sources", "toc": "Table of Contents", "closeToc": "Close table of contents", diff --git a/messages/tr.json b/messages/tr.json index 960a55e..6e66524 100644 --- a/messages/tr.json +++ b/messages/tr.json @@ -89,7 +89,6 @@ "title": "Animasyon Kaynakları", "description": "Web ve mobil ürünler için hazırladığım animasyonların üretim süreçleri, promptları ve uygulanabilir kodları.", "empty": "Henüz animasyon kaynağı eklenmedi.", - "itemCount": "{count} kaynak", "back": "Animasyon kaynaklarına dön", "toc": "İçindekiler", "closeToc": "İçindekileri kapat",