From fbdd7a581cb7c23698e5c521fe72b6ab21bd38ce Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Wed, 15 May 2024 08:52:01 -0600 Subject: [PATCH 1/4] Update components-marketing - See: storybookjs/components-marketing#74 - Address breaking changes --- components/layout/AppLayout.tsx | 9 +- components/layout/Header.tsx | 16 +- mock/layout.json | 4 - package.json | 2 +- pnpm-lock.yaml | 1150 ++++++++++++++--- .../components/layout/AppLayout.stories.tsx | 4 - 6 files changed, 997 insertions(+), 188 deletions(-) diff --git a/components/layout/AppLayout.tsx b/components/layout/AppLayout.tsx index dafe803..93b28f4 100644 --- a/components/layout/AppLayout.tsx +++ b/components/layout/AppLayout.tsx @@ -30,16 +30,11 @@ const Footer = styled(MarketingFooter)` margin-top: 80px; `; -export const AppLayout: React.FC = ({ - children, - pageProps: { githubStars, latestPost, latestVersion, subscriberCount, npmTag }, -}) => ( +export const AppLayout: React.FC = ({ children, pageProps: { githubStars, latestVersion, subscriberCount, npmTag } }) => ( <> - {githubStars && latestPost && latestVersion && ( -
- )} + {githubStars && latestVersion &&
}
{children}
{subscriberCount &&