1
1
import { useRouter } from "next/router"
2
2
import { useTranslation } from "next-i18next"
3
- import { MdExpandMore } from "react-icons/md"
4
3
import {
5
4
Box ,
6
5
type BoxProps ,
7
- Flex ,
8
6
type FlexProps ,
9
- Icon ,
10
7
List ,
11
8
ListItem ,
12
9
Text ,
@@ -21,7 +18,6 @@ import type { List as ButtonDropdownList } from "@/components/ButtonDropdown"
21
18
import FeedbackCard from "@/components/FeedbackCard"
22
19
import { ContentHero } from "@/components/Hero"
23
20
import LeftNavBar from "@/components/LeftNavBar"
24
- import { BaseLink } from "@/components/Link"
25
21
import {
26
22
ContentContainer ,
27
23
MobileButton ,
@@ -35,8 +31,6 @@ import UpgradeStatus from "@/components/UpgradeStatus"
35
31
import { getSummaryPoints } from "@/lib/utils/getSummaryPoints"
36
32
import { getLocaleTimestamp } from "@/lib/utils/time"
37
33
38
- import { MAIN_CONTENT_ID } from "@/lib/constants"
39
-
40
34
const Page = ( props : FlexProps ) => < MdPage sx = { { } } { ...props } />
41
35
42
36
type ContainerProps = Pick < BoxProps , "children" | "dir" >
@@ -45,21 +39,6 @@ const Container = (props: ContainerProps) => (
45
39
< Box position = "relative" { ...props } />
46
40
)
47
41
48
- const MoreContent = ( props : ChildOnlyProp & { to : string } ) => (
49
- < Flex
50
- hideBelow = "lg"
51
- as = { BaseLink }
52
- bg = "ednBackground"
53
- justify = "center"
54
- p = { 4 }
55
- w = "full"
56
- _hover = { {
57
- bg : "background.base" ,
58
- } }
59
- { ...props }
60
- />
61
- )
62
-
63
42
const LastUpdated = ( props : ChildOnlyProp ) => (
64
43
< Text
65
44
color = "text200"
@@ -152,9 +131,6 @@ export const UpgradeLayout = ({
152
131
heroImg = { frontmatter . image }
153
132
blurDataURL = { frontmatter . blurDataURL }
154
133
/>
155
- < MoreContent to = { "#" + MAIN_CONTENT_ID } >
156
- < Icon as = { MdExpandMore } fontSize = "2xl" color = "secondary" />
157
- </ MoreContent >
158
134
< Page >
159
135
{ /* TODO: Switch to `above="lg"` after completion of Chakra Migration */ }
160
136
< LeftNavBar
0 commit comments