diff --git a/components/library/story-detail.tsx b/components/library/story-detail.tsx index 2610f58..ee82161 100644 --- a/components/library/story-detail.tsx +++ b/components/library/story-detail.tsx @@ -25,7 +25,7 @@ const IMAGE_STYLES = [ ] as const; export function StoryDetail({ story }: StoryDetailProps) { - const initialStyle = story.images ? 'storybook_illustration' : 'storybook_illustration'; // Default style + const initialStyle = story.images ? '3d_rendered' : '3d_rendered'; // Default style const [selectedStyle, setSelectedStyle] = useState(initialStyle); return ( diff --git a/lib/api.ts b/lib/api.ts index 61a3e7f..51a8d72 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -10,11 +10,11 @@ export async function fetchStories(): Promise { return data.map((item) => ({ id: item.name.replace('.md', ''), title: formatTitle(item.name), - description: `A story about ${item.topic}`, + description: `قصه‌ای درباره‌ی ${item.topic}`, ageRange: extractAgeFromFilename(item.name), theme: item.topic, topic: item.topic, - coverImage: getImageUrl(item.topic, item.name, 'cartoon'), + coverImage: getImageUrl(item.topic, item.name, '3d_rendered'), images: { ...item.images, cartoon: getImageUrl(item.topic, item.name, 'cartoon'),