Files
web/app/[lang]/(live)/(protected)/my-pages/benefits/page.tsx
Michael Zetterberg 14e93eba7c chore: lint fix
2024-04-23 14:43:17 +02:00

40 lines
1.3 KiB
TypeScript

import CurrentBenefitsBlock from "@/components/MyPages/Blocks/Benefits/CurrentLevel"
import NextLevelBenefitsBlock from "@/components/MyPages/Blocks/Benefits/NextLevel"
import Shortcuts from "@/components/MyPages/Blocks/Shortcuts"
import Title from "@/components/MyPages/Title"
import { shortcuts } from "./_constants"
import styles from "./page.module.css"
import type { LangParams, PageArgs } from "@/types/params"
export default function BenefitsPage({ params }: PageArgs<LangParams>) {
return (
<main className={styles.container}>
<header className={styles.header}>
<Title as="h3" className={styles.title} uppercase>
Your Perks and benefits. Tailored just for{" "}
<span className={styles.red}>you.</span>
</Title>
<p className={styles.preamble}>
Discover the exclusive benefits and delightful surprises our
friendship unlocks.
</p>
</header>
<CurrentBenefitsBlock />
<Shortcuts
shortcuts={shortcuts}
title={
<span className={styles.title}>
Perks and benefits{" "}
<span className={styles.red}>for All friends.</span>
</span>
}
subtitle="Always Yours. Universal Benefits for the Scandic Friends community."
/>
<NextLevelBenefitsBlock />
</main>
)
}