File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,14 @@ import {
15
15
UnorderedList ,
16
16
} from "@chakra-ui/react"
17
17
18
- import type {
19
- BasePageProps ,
20
- CommonHeroProps ,
21
- TranslationKey ,
22
- } from "@/lib/types"
18
+ import type { BasePageProps , TranslationKey } from "@/lib/types"
23
19
24
20
import { ButtonLink } from "@/components/Buttons"
25
21
import Card from "@/components/Card"
26
22
import ExpandableCard from "@/components/ExpandableCard"
27
23
import FeedbackCard from "@/components/FeedbackCard"
28
24
import { HubHero } from "@/components/Hero"
25
+ import type { HubHeroProps } from "@/components/Hero/HubHero"
29
26
import { Image } from "@/components/Image"
30
27
import InfoBanner from "@/components/InfoBanner"
31
28
import Layer2ProductCard from "@/components/Layer2ProductCard"
@@ -128,7 +125,7 @@ const Layer2Page = () => {
128
125
const { t } = useTranslation ( "page-layer-2" )
129
126
const layer2DataCombined = [ ...layer2Data . optimistic , ...layer2Data . zk ]
130
127
131
- const heroContent : CommonHeroProps = {
128
+ const heroContent : HubHeroProps = {
132
129
title : t ( "layer-2-hero-title" ) ,
133
130
header : t ( "layer-2-hero-header" ) ,
134
131
description : t ( "layer-2-hero-subtitle" ) ,
Original file line number Diff line number Diff line change @@ -12,12 +12,7 @@ import {
12
12
useToken ,
13
13
} from "@chakra-ui/react"
14
14
15
- import type {
16
- BasePageProps ,
17
- ChildOnlyProp ,
18
- CommonHeroProps ,
19
- ToCItem ,
20
- } from "@/lib/types"
15
+ import type { BasePageProps , ChildOnlyProp , ToCItem } from "@/lib/types"
21
16
22
17
import ButtonLink from "@/components/Buttons/ButtonLink"
23
18
import OriginalCard , {
@@ -26,6 +21,7 @@ import OriginalCard, {
26
21
import DocLink from "@/components/DocLink"
27
22
import FeedbackCard from "@/components/FeedbackCard"
28
23
import { HubHero } from "@/components/Hero"
24
+ import type { HubHeroProps } from "@/components/Hero/HubHero"
29
25
import { Image , type ImageProps } from "@/components/Image"
30
26
import LeftNavBar from "@/components/LeftNavBar"
31
27
import InlineLink from "@/components/Link"
@@ -184,7 +180,7 @@ const LearnPage = () => {
184
180
url : "#" + id ,
185
181
} ) )
186
182
187
- const heroContent : CommonHeroProps = {
183
+ const heroContent : HubHeroProps = {
188
184
title : t ( "common:learn-hub" ) ,
189
185
header : t ( "hero-header" ) ,
190
186
description : t ( "hero-subtitle" ) ,
You can’t perform that action at this time.
0 commit comments