Files
web/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/index.tsx
Erik Tiekstra 339e7195dc fix(BOOK-436): Added new section component and deprecated the other
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-13 08:31:26 +00:00

29 lines
761 B
TypeScript

import { Section } from "@/components/Section"
import SectionHeader from "@/components/Section/Header/Deprecated"
import SectionLink from "@/components/Section/Link"
import ClaimPoints from "../ClaimPoints"
import JourneyTable from "./JourneyTable"
import styles from "./earnAndBurn.module.css"
import type { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage"
export default function EarnAndBurn({
link,
subtitle,
title,
}: AccountPageComponentProps) {
return (
<Section>
<div className={styles.header}>
<SectionHeader title={title} link={link} preamble={subtitle} />
<ClaimPoints />
</div>
<JourneyTable />
<SectionLink link={link} variant="mobile" />
</Section>
)
}