refactor: zod validation and pr comments

This commit is contained in:
Christel Westerberg
2024-04-29 14:00:24 +02:00
parent 9f0b044daa
commit d9f1470eb7
31 changed files with 222 additions and 207 deletions

View File

@@ -1,5 +1,4 @@
.layout {
--max-width: 101.4rem;
--header-height: 4.5rem;
display: grid;
@@ -25,4 +24,4 @@
padding-right: 2.4rem;
padding-top: 5.8rem;
}
}
}

View File

@@ -1,6 +1,4 @@
.layout {
--max-width: 101.4rem;
display: grid;
font-family: var(--ff-fira-sans);
background-color: var(--Brand-Coffee-Subtle);

View File

@@ -26,5 +26,6 @@
gap: 6.4rem;
padding-left: 0;
padding-right: 0;
grid-column: 2 / -1;
}
}

View File

@@ -26,13 +26,8 @@ export default async function LoyaltyPage({
return (
<section className={styles.content}>
<aside>
{loyaltyPage.sidebar
? loyaltyPage.sidebar.map((block, i) => (
<Sidebar key={i} block={block} />
))
: null}
</aside>
{loyaltyPage.sidebar ? <Sidebar blocks={loyaltyPage.sidebar} /> : null}
<MaxWidth className={styles.blocks} tag="main">
<Blocks blocks={loyaltyPage.blocks} />
</MaxWidth>