Skip to content

Commit

Permalink
push location
Browse files Browse the repository at this point in the history
  • Loading branch information
TalBenAvi committed Mar 17, 2024
1 parent 32492d0 commit 18039fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions workspaces/website/src/pages/(components)/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import * as NavAccordian from "@ui/Layout/Navbar/NavAccordion";
import type { MainMenu } from "@starknet-io/cms-data/src/settings/main-menu";
import { NavBar } from "@ui/Layout/Navbar/Navbar";
Expand All @@ -15,6 +14,7 @@ import { IconButton } from "@ui/IconButton";
import { SiDiscord, SiGithub, SiTwitter, SiYoutube } from "react-icons/si";
import { SEOTexts } from "@starknet-io/cms-data/src/seo";
import { usePageContext } from "src/renderer/PageContextProvider";
import Tabs from "@chakra-ui/pro-theme/src/components/tabs";

export interface Props {
readonly mainMenu: MainMenu;
Expand All @@ -23,8 +23,8 @@ export interface Props {
readonly ALGOLIA_APP_ID: string;
readonly ALGOLIA_SEARCH_API_KEY: string;
};
readonly searchSEO: SEOTexts['search'];
readonly languageCenterSeo: SEOTexts['language'];
readonly searchSEO: SEOTexts["search"];
readonly languageCenterSeo: SEOTexts["language"];
}

export default function Navbar({
Expand Down Expand Up @@ -88,7 +88,9 @@ export default function Navbar({
) : item.custom_icon === "SiTwitter" ? (
<SiTwitter fontSize="1.25rem" />
) : item.custom_icon === "SiYoutube" ? (
<Box ml="-16px"><SiYoutube fontSize="1.25rem" /></Box>
<Box ml="-16px">
<SiYoutube fontSize="1.25rem" />
</Box>
) : (
<React.Fragment />
)
Expand Down

0 comments on commit 18039fe

Please sign in to comment.