Skip to content

Commit 85a511b

Browse files
committed
tmp hide search modal until we resolve issues with Algolia API key
1 parent 5d71fb9 commit 85a511b

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/components/Nav/Mobile/MenuFooter.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ const MenuFooter = ({
3939
py={0}
4040
mt="auto"
4141
>
42-
<Grid templateColumns="repeat(3, 1fr)" w="full">
43-
<FooterButton
42+
<Grid templateColumns="repeat(2, 1fr)" w="full">
43+
{/* Temporarily hide search for now until we resolve issues with the API key */}
44+
{/* <FooterButton
4445
icon={MdSearch}
4546
onClick={() => {
4647
// Workaround to ensure the input for the search modal can have focus
@@ -49,7 +50,8 @@ const MenuFooter = ({
4950
}}
5051
>
5152
<FooterItemText>{t("search")}</FooterItemText>
52-
</FooterButton>
53+
</FooterButton> */}
54+
5355
<FooterButton icon={ThemeIcon} onClick={toggleColorMode}>
5456
<FooterItemText>{t(themeLabelKey)}</FooterItemText>
5557
</FooterButton>

src/components/Nav/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ const Nav = () => {
9494
ms={{ base: 3, xl: 8 }}
9595
>
9696
<Menu hideBelow="md" sections={linkSections} />
97-
<Flex alignItems="center"/* justifyContent="space-between" */>
98-
<Search {...searchModalDisclosure} />
97+
<Flex alignItems="center" /* justifyContent="space-between" */>
98+
{/* Temporarily hide search for now until we resolve issues with the API key */}
99+
{/* <Search {...searchModalDisclosure} /> */}
100+
99101
{/* Desktop */}
100102
<HStack hideBelow="md" gap="0">
101103
<IconButton

0 commit comments

Comments
 (0)