From 8dd421a238f97e3dbb99105a6ea3ceb2c1c44c7d Mon Sep 17 00:00:00 2001 From: nuno-aac Date: Wed, 22 Nov 2023 16:11:55 +0000 Subject: [PATCH] Update navbar --- _data/settings/main-menu.yml | 6 ++--- .../src/components/Footer/Footer.stories.tsx | 2 +- .../components/Layout/Navbar/NavLayout.tsx | 26 +++++++++++-------- .../website/src/pages/(components)/Navbar.tsx | 2 -- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/_data/settings/main-menu.yml b/_data/settings/main-menu.yml index 7b89d8c657..4258236b03 100644 --- a/_data/settings/main-menu.yml +++ b/_data/settings/main-menu.yml @@ -81,12 +81,12 @@ items: - title: Resources columns: - blocks: - - title: All blog posts + - title: Content items: - custom_internal_link: /posts/ custom_title: All blog posts - custom_title: Community & events - custom_internal_link: /posts/community-and-events + custom_internal_link: /posts/events-and-webinars hide_from_footer: true - custom_title: Community calls custom_internal_link: /posts/community-calls @@ -107,7 +107,7 @@ items: custom_internal_link: /posts/tutorials-and-guides hide_from_footer: true - custom_title: STARK Struck Podcast - custom_internal_link: /posts/stark-struck + custom_internal_link: /posts/stark-struck-podcast hide_from_footer: true - blocks: - title: OTHER diff --git a/workspaces/website/src/components/Footer/Footer.stories.tsx b/workspaces/website/src/components/Footer/Footer.stories.tsx index f2d09fb5c7..92f1f961b2 100644 --- a/workspaces/website/src/components/Footer/Footer.stories.tsx +++ b/workspaces/website/src/components/Footer/Footer.stories.tsx @@ -278,7 +278,7 @@ export const Solid = () => ( title: "BLOG & MEDIA", items: [ { - custom_title: "All blog posts", + custom_title: "Content", custom_internal_link: "/posts/", }, { diff --git a/workspaces/website/src/components/Layout/Navbar/NavLayout.tsx b/workspaces/website/src/components/Layout/Navbar/NavLayout.tsx index 4876f704db..2fe0ac5c9f 100644 --- a/workspaces/website/src/components/Layout/Navbar/NavLayout.tsx +++ b/workspaces/website/src/components/Layout/Navbar/NavLayout.tsx @@ -70,17 +70,21 @@ export const NavLayout = (props: NavLayoutProps) => { /> - - - {props.languageSwitcher} - + {!!props.languageSwitcher && ( + <> + + + {props.languageSwitcher} + + + )} } search={