From 284fd1f4b6e59abd19891ef59f107d06b4987f1c Mon Sep 17 00:00:00 2001 From: 0xShikhar Date: Thu, 16 May 2024 14:02:47 +0530 Subject: [PATCH 1/2] added starknet official discord link on footer --- workspaces/website/src/components/Footer/Footer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspaces/website/src/components/Footer/Footer.tsx b/workspaces/website/src/components/Footer/Footer.tsx index 5b702e1f8f..12b0abc669 100644 --- a/workspaces/website/src/components/Footer/Footer.tsx +++ b/workspaces/website/src/components/Footer/Footer.tsx @@ -158,12 +158,12 @@ const Root = ({ children, seo, ...rest }: RootProps) => { > } size="small" marginRight="16px" - /> + /> Date: Thu, 16 May 2024 14:06:23 +0530 Subject: [PATCH 2/2] added starknet official discord link on main menu and communities page --- _data/pages/online-communities.yml | 2 +- _data/settings/main-menu.yml | 2 +- .../website/src/components/Footer/Footer.tsx | 22 +++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_data/pages/online-communities.yml b/_data/pages/online-communities.yml index 626c85d240..c8f996e08b 100644 --- a/_data/pages/online-communities.yml +++ b/_data/pages/online-communities.yml @@ -17,7 +17,7 @@ blocks: - type: link_list_item link: custom_title: Discord - custom_external_link: https://starknet.io/discord + custom_external_link: https://discord.com/invite/starknet-community subLabel: label: "Join the conversation on Discord " - type: link_list_item diff --git a/_data/settings/main-menu.yml b/_data/settings/main-menu.yml index b86189204d..87b3a8c582 100644 --- a/_data/settings/main-menu.yml +++ b/_data/settings/main-menu.yml @@ -76,7 +76,7 @@ items: custom_external_link: https://www.youtube.com/@starkware_ltd - custom_title: Discord custom_icon: SiDiscord - custom_external_link: https://starknet.io/discord + custom_external_link: https://discord.com/invite/starknet-community - custom_title: GitHub custom_icon: SiGithub custom_external_link: https://github.com/keep-starknet-strange/awesome-starknet diff --git a/workspaces/website/src/components/Footer/Footer.tsx b/workspaces/website/src/components/Footer/Footer.tsx index 12b0abc669..11c1cf6ef9 100644 --- a/workspaces/website/src/components/Footer/Footer.tsx +++ b/workspaces/website/src/components/Footer/Footer.tsx @@ -19,14 +19,14 @@ import { StarknetLogo } from "../Logo/StarknetLogo"; type RootProps = { children: React.ReactNode; } & ChakraBoxProps & { - seo: { - footerText: string; - footerDisclaimers: { - text: string; - link: string; - }[]; - }; + seo: { + footerText: string; + footerDisclaimers: { + text: string; + link: string; + }[]; }; +}; const Root = ({ children, seo, ...rest }: RootProps) => { return ( @@ -67,7 +67,7 @@ const Root = ({ children, seo, ...rest }: RootProps) => { pt="40px" pb={{ base: "40px", md: "0px" }} px="30px" - gap={{ base: "16px", md: "24px"}} + gap={{ base: "16px", md: "24px" }} display={{ base: "flex", xl: "none" }} direction={{ base: "column", md: "row" }} > @@ -109,7 +109,7 @@ const Root = ({ children, seo, ...rest }: RootProps) => { maxW="1200" width="100%" px="30px" - justifyContent={{ md: "space-between"}} + justifyContent={{ md: "space-between" }} > { - + { icon={} size="small" marginRight="16px" - /> + />