@@ -21,7 +21,7 @@ import {
21
21
} from "@chakra-ui/react"
22
22
23
23
import { AllMetricData , BasePageProps , ChildOnlyProp , Lang } from "@/lib/types"
24
- import type { CommunityEventsReturnType } from "@/lib/interfaces"
24
+ import type { CodeExample , CommunityEventsReturnType } from "@/lib/interfaces"
25
25
26
26
import ActionCard from "@/components/ActionCard"
27
27
import ButtonLink from "@/components/Buttons/ButtonLink"
@@ -33,7 +33,7 @@ import { Image } from "@/components/Image"
33
33
import MainArticle from "@/components/MainArticle"
34
34
import PageMetadata from "@/components/PageMetadata"
35
35
import StatsBoxGrid from "@/components/StatsBoxGrid"
36
- import TitleCardList , { ITitleCardItem } from "@/components/TitleCardList"
36
+ import TitleCardList from "@/components/TitleCardList"
37
37
import Translation from "@/components/Translation"
38
38
39
39
import { existsNamespace } from "@/lib/utils/existsNamespace"
@@ -308,12 +308,6 @@ const HomePage = ({
308
308
} ,
309
309
]
310
310
311
- // todo: move to interfaces
312
- interface CodeExample extends ITitleCardItem {
313
- codeLanguage : string
314
- code : string
315
- }
316
-
317
311
const codeExamples : Array < CodeExample > = [
318
312
{
319
313
title : t ( "page-index:page-index-developers-code-example-title-0" ) ,
0 commit comments