diff --git a/workspaces/website/src/components/Footer/Footer.tsx b/workspaces/website/src/components/Footer/Footer.tsx index 275ab6a0e7..c4a3fa281f 100644 --- a/workspaces/website/src/components/Footer/Footer.tsx +++ b/workspaces/website/src/components/Footer/Footer.tsx @@ -3,13 +3,11 @@ import { BoxProps as ChakraBoxProps, ButtonGroup, Container, - HStack, Stack, Text, Icon, Link, Divider, - Center, useColorModeValue, } from "@chakra-ui/react"; import { Heading } from "@ui/Typography/Heading"; @@ -23,6 +21,10 @@ type RootProps = { } & ChakraBoxProps & { seo: { footerText: string; + footerDisclaimers: { + text: string; + link: string; + }[]; }; }; @@ -44,7 +46,8 @@ const Root = ({ children, seo, ...rest }: RootProps) => { { )} marginBottom="0px" opacity="1" + display={{ base: "flex", md: "none" }} + /> + + {seo?.footerDisclaimers.map((disclaimer, index) => ( + + {disclaimer.text} + + ))} + + - - + -
- -
+ {seo?.footerText} -
+
+ + {seo?.footerDisclaimers.map((disclaimer, index) => ( + + {disclaimer.text} + + ))} +