Files
web/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/index.tsx
Bianca Widstam 68c1b3dc50 Merged in chore/BOOK-708-replace-title-component (pull request #3414)
Chore/BOOK-708 replace title component

* chore(BOOK-708): replace title with typography

* chore(BOOK-708): replace title with typography

* chore(BOOK-708): remove Title from package.json


Approved-by: Linus Flood
Approved-by: Anton Gunnarsson
2026-01-12 07:54:59 +00:00

29 lines
756 B
TypeScript

import { Section } from "@/components/Section"
import { SectionHeader } from "@/components/Section/Header"
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 heading={title} link={link} preamble={subtitle} />
<ClaimPoints />
</div>
<JourneyTable />
<SectionLink link={link} variant="mobile" />
</Section>
)
}