diff --git a/apps/site/components/server/ItemFallback.tsx b/apps/site/components/server/ItemFallback.tsx index 9307bec6..248a1a79 100644 --- a/apps/site/components/server/ItemFallback.tsx +++ b/apps/site/components/server/ItemFallback.tsx @@ -33,18 +33,18 @@ export function ItemFallback({ ) .with( P.when((type: string) => isMarkdown({ mimeType: type })), - () => , + () => , ) .with( P.when((type: string) => isGlb({ mimeType: type })), - () => , + () => , ) .with( P.when((type: string) => isPdf({ mimeType: type })), () => , ) .otherwise(() => ( - + ))} ) @@ -78,24 +78,29 @@ export function VideoFallback() { } export function FileFallback() { - return ( -
- - - - -
- ) - } + return ( +
+ + + + +
+ ) +} -export function TextFallback() { +export function TextFallback({ size }: { size?: 'xs' | 'sm' | 'md' | 'lg' }) { return ( -
+
+
+