fix: add next level perks block

This commit is contained in:
Christel Westerberg
2024-04-11 16:02:30 +02:00
parent c398309cdd
commit 85b83bc58b
15 changed files with 182 additions and 103 deletions

View File

@@ -6,14 +6,18 @@ import styles from "./shortcuts.module.css"
import type { ShortcutsProps } from "@/types/components/myPages/shortcuts"
export default function Shortcuts({ shortcuts }: ShortcutsProps) {
export default function Shortcuts({
shortcuts,
title,
subtitle,
}: ShortcutsProps) {
return (
<section className={styles.shortcuts}>
<header className={styles.header}>
<Title level="h2" uppercase>
Handy Shortcuts
<Title level="h2" as="h4" uppercase>
{title}
</Title>
<p className={styles.subtitle}>The community at your fingertips</p>
<p className={styles.subtitle}>{subtitle}</p>
</header>
<section className={styles.links}>
{shortcuts.map((shortcut) => (