@@ -17,11 +17,9 @@ import type { ChildOnlyProp, Lang } from "@/lib/types"
17
17
import type { MdPageContent , UpgradeFrontmatter } from "@/lib/interfaces"
18
18
19
19
import BeaconChainActions from "@/components/BeaconChainActions"
20
- import Breadcrumbs from "@/components/Breadcrumbs"
21
20
import type { List as ButtonDropdownList } from "@/components/ButtonDropdown"
22
21
import FeedbackCard from "@/components/FeedbackCard"
23
22
import { ContentHero } from "@/components/Hero"
24
- import { Image } from "@/components/Image"
25
23
import LeftNavBar from "@/components/LeftNavBar"
26
24
import { BaseLink } from "@/components/Link"
27
25
import {
@@ -32,7 +30,6 @@ import {
32
30
} from "@/components/MdComponents"
33
31
import MergeArticleList from "@/components/MergeArticleList"
34
32
import MergeInfographic from "@/components/MergeInfographic"
35
- import OldHeading from "@/components/OldHeading"
36
33
import UpgradeStatus from "@/components/UpgradeStatus"
37
34
38
35
import { getSummaryPoints } from "@/lib/utils/getSummaryPoints"
@@ -42,36 +39,12 @@ import { MAIN_CONTENT_ID } from "@/lib/constants"
42
39
43
40
const Page = ( props : FlexProps ) => < MdPage sx = { { } } { ...props } />
44
41
45
- const Title = ( props : ChildOnlyProp ) => (
46
- < OldHeading
47
- as = "h1"
48
- fontSize = "2.5rem"
49
- fontWeight = "bold"
50
- lineHeight = { 1.4 }
51
- mt = { 0 }
52
- { ...props }
53
- />
54
- )
55
-
56
42
type ContainerProps = Pick < BoxProps , "children" | "dir" >
57
43
58
44
const Container = ( props : ContainerProps ) => (
59
45
< Box position = "relative" { ...props } />
60
46
)
61
47
62
- const HeroContainer = ( props : ChildOnlyProp ) => (
63
- < Flex
64
- justify = "flex-end"
65
- direction = { { base : "column-reverse" , lg : "row" } }
66
- bg = "cardGradient"
67
- boxShadow = "inset 0px -1px 0px rgba(0, 0, 0, 0.1)"
68
- minH = "608px"
69
- maxH = { { base : "full" , lg : "608px" } }
70
- w = "full"
71
- { ...props }
72
- />
73
- )
74
-
75
48
const MoreContent = ( props : ChildOnlyProp & { to : string } ) => (
76
49
< Flex
77
50
hideBelow = "lg"
@@ -87,29 +60,6 @@ const MoreContent = (props: ChildOnlyProp & { to: string }) => (
87
60
/>
88
61
)
89
62
90
- const TitleCard = ( props : ChildOnlyProp ) => {
91
- const cardBoxShadow = useToken ( "colors" , "cardBoxShadow" )
92
-
93
- return (
94
- < Flex
95
- direction = "column"
96
- justify = "flex-start"
97
- position = { { base : "relative" , lg : "absolute" } }
98
- bg = { { base : "ednBackground" , lg : "background.base" } }
99
- border = "1px"
100
- borderColor = "border"
101
- borderRadius = "sm"
102
- boxShadow = { { lg : cardBoxShadow } }
103
- maxW = { { base : "full" , lg : "640px" } }
104
- p = { 8 }
105
- top = { { lg : 24 } }
106
- insetInlineStart = { { lg : 24 } }
107
- zIndex = { 10 }
108
- { ...props }
109
- />
110
- )
111
- }
112
-
113
63
const LastUpdated = ( props : ChildOnlyProp ) => (
114
64
< Text
115
65
color = "text200"
0 commit comments