diff --git a/client/src/components/preview-modal.tsx b/client/src/components/preview-modal.tsx
index b0d34e3..ffd6278 100644
--- a/client/src/components/preview-modal.tsx
+++ b/client/src/components/preview-modal.tsx
@@ -293,7 +293,7 @@ export function PreviewModal({
return { fontSize, lines, isTruncated };
};
- const renderInstagramStory = () => {
+ const renderStory = (platform: 'facebook' | 'instagram') => {
const STORY_WIDTH = 360;
const STORY_HEIGHT = 640;
const TEXT_BOX_HEIGHT_RATIO = 0.25;
@@ -311,9 +311,15 @@ export function PreviewModal({
{/* Header */}
-
-
-
+ {platform === 'instagram' ? (
+
+
+
+ ) : (
+
+
+
+ )}
@@ -381,6 +387,9 @@ export function PreviewModal({
);
};
+ const renderFacebookStory = () => renderStory('facebook');
+ const renderInstagramStory = () => renderStory('instagram');
+
return (