Skip to content

Commit fa390d0

Browse files
authored
Merge pull request #13305 from ethereum/removeScrollButton
Remove scroll button from UseCases template
2 parents 0c2c1e2 + 4f68b2b commit fa390d0

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

src/layouts/UseCases.tsx

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { useRouter } from "next/router"
22
import { useTranslation } from "next-i18next"
3-
import { MdExpandMore } from "react-icons/md"
43
import {
54
Box,
65
Flex,
7-
Icon,
86
ListItem,
97
Text,
108
UnorderedList,
@@ -20,7 +18,7 @@ import Emoji from "@/components/Emoji"
2018
import FeedbackCard from "@/components/FeedbackCard"
2119
import { Image } from "@/components/Image"
2220
import LeftNavBar from "@/components/LeftNavBar"
23-
import InlineLink, { BaseLink } from "@/components/Link"
21+
import InlineLink from "@/components/Link"
2422
import {
2523
ContentContainer,
2624
MobileButton,
@@ -33,8 +31,6 @@ import TableOfContents from "@/components/TableOfContents"
3331
import { getEditPath } from "@/lib/utils/editPath"
3432
import { getSummaryPoints } from "@/lib/utils/getSummaryPoints"
3533

36-
import { MAIN_CONTENT_ID } from "@/lib/constants"
37-
3834
const HeroContainer = (props: ChildOnlyProp) => (
3935
<Flex
4036
bg="cardGradient"
@@ -236,20 +232,6 @@ export const UseCasesLayout = ({
236232
}}
237233
/>
238234
</HeroContainer>
239-
<Flex
240-
as={BaseLink}
241-
to={"#" + MAIN_CONTENT_ID}
242-
bg="ednBackground"
243-
justifyContent="center"
244-
p={4}
245-
width="full"
246-
_hover={{
247-
bg: "background.base",
248-
}}
249-
hideBelow={lgBp}
250-
>
251-
<Icon as={MdExpandMore} fontSize="2xl" color="secondary" />
252-
</Flex>
253235
<Page>
254236
{/* TODO: Switch to `above="lg"` after completion of Chakra Migration */}
255237
<LeftNavBar

0 commit comments

Comments
 (0)