Files
web/components/Blocks/DynamicContent/Points/EarnAndBurn/index.tsx
2024-09-24 09:47:31 +02:00

22 lines
617 B
TypeScript

import SectionContainer from "@/components/Section/Container"
import SectionHeader from "@/components/Section/Header"
import SectionLink from "@/components/Section/Link"
import JourneyTable from "./JourneyTable"
import type { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage"
export default function EarnAndBurn({
link,
subtitle,
title,
}: AccountPageComponentProps) {
return (
<SectionContainer>
<SectionHeader title={title} link={link} preamble={subtitle} />
<JourneyTable />
<SectionLink link={link} variant="mobile" />
</SectionContainer>
)
}