fix: add heading and subtitle to overview table

This commit is contained in:
Christel Westerberg
2024-06-24 12:03:05 +02:00
parent 385d5ade28
commit fe6e4e27e1
10 changed files with 60 additions and 87 deletions

View File

@@ -1,6 +1,7 @@
import { serverClient } from "@/lib/trpc/server"
import Content from "@/components/MyPages/AccountPage/Content"
import Title from "@/components/TempDesignSystem/Text/Title"
import { getIntl } from "@/i18n"
import styles from "./page.module.css"
@@ -19,6 +20,7 @@ export default async function MyPages({
return (
<main className={styles.blocks}>
<Title>{accountPage.heading}</Title>
{accountPage.content.length ? (
<Content lang={params.lang} content={accountPage.content} />
) : (