fix: add next level perks block
This commit is contained in:
@@ -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) => (
|
||||
|
||||
Reference in New Issue
Block a user