fix: add link to overview
This commit is contained in:
@@ -3,4 +3,5 @@
|
||||
gap: 4.2rem;
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import BackButton from "@/components/BackButton"
|
||||
import { Blocks } from "@/components/Loyalty/Blocks/WebView"
|
||||
import Sidebar from "@/components/Loyalty/Sidebar"
|
||||
import MaxWidth from "@/components/MaxWidth"
|
||||
import LinkToOverview from "@/components/Webviews/LinkToOverview"
|
||||
|
||||
import styles from "./page.module.css"
|
||||
|
||||
@@ -15,10 +15,9 @@ export default async function AboutScandicFriends({
|
||||
const loyaltyPage = await serverClient().contentstack.loyaltyPage.get()
|
||||
return (
|
||||
<section className={styles.content}>
|
||||
<LinkToOverview lang={params.lang} />
|
||||
{loyaltyPage.sidebar ? <Sidebar blocks={loyaltyPage.sidebar} /> : null}
|
||||
|
||||
<MaxWidth className={styles.blocks} tag="main">
|
||||
<BackButton />
|
||||
<Blocks blocks={loyaltyPage.blocks} lang={params.lang} />
|
||||
</MaxWidth>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user