refactor: break out Section container
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { MembershipLevelEnum } from "@/constants/membershipLevels"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import Header from "@/components/SectionHeader"
|
||||
import SectionContainer from "@/components/Section/Container"
|
||||
import Header from "@/components/Section/Header"
|
||||
import Grids from "@/components/TempDesignSystem/Grids"
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
|
||||
@@ -45,7 +46,7 @@ export default async function CurrentBenefitsBlock({
|
||||
}
|
||||
|
||||
return (
|
||||
<section className={styles.container}>
|
||||
<SectionContainer>
|
||||
<Header title={title} link={link} subtitle={subtitle} />
|
||||
<Grids.Scrollable>
|
||||
{currentLevel.benefits.map((benefit, idx) => (
|
||||
@@ -63,6 +64,6 @@ export default async function CurrentBenefitsBlock({
|
||||
</Link>
|
||||
))}
|
||||
</Grids.Scrollable>
|
||||
</section>
|
||||
</SectionContainer>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user