diff --git a/components/waves/layout/WavesLayout.tsx b/components/waves/layout/WavesLayout.tsx index 6f3c7548a2..ce3fbbc313 100644 --- a/components/waves/layout/WavesLayout.tsx +++ b/components/waves/layout/WavesLayout.tsx @@ -54,6 +54,10 @@ function getNotAuthenticatedContent({ readonly isApp: boolean; readonly publicWaveShellState: PublicWaveShellState; }): ReactNode { + if (isApp) { + return ; + } + if (activeWaveId === null || publicWaveShellState.status === "unavailable") { return ; } @@ -64,14 +68,6 @@ function getNotAuthenticatedContent({ ); - if (isApp) { - return ( -
- {publicShell} -
- ); - } - return (
+ {PREVIEW_ROWS.map((row) => ( +
+
+ +
+
+
+
+
+ +
+ {row.lines.map((lineWidth) => ( +
+ ))} +
+ + {row.hasAttachment && ( +
+ )} + + {row.reactions > 0 && ( +
+ {REACTION_KEYS.slice(0, row.reactions).map((reactionKey) => ( +
+ ))} +
+ )} +
+
+ ))} + + ); +} + +function PlaceholderSkeleton() { + return ( +
+
+
+ + +
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ ); +} + +export default function LoggedOutSkeleton() { + return ( +