refactor: break out Section container

This commit is contained in:
Christel Westerberg
2024-06-18 15:14:40 +02:00
parent d03e28db4c
commit ceee9fd154
26 changed files with 64 additions and 267 deletions

View File

@@ -1,5 +1,6 @@
import { ArrowRightIcon } from "@/components/Icons"
import Header from "@/components/SectionHeader"
import SectionContainer from "@/components/Section/Container"
import Header from "@/components/Section/Header"
import Link from "@/components/TempDesignSystem/Link"
import Body from "@/components/TempDesignSystem/Text/Body"
@@ -14,7 +15,7 @@ export default function Shortcuts({
title,
}: ShortcutsProps) {
return (
<section className={styles.shortcuts}>
<SectionContainer>
<Header
link={undefined}
subtitle={subtitle}
@@ -36,6 +37,6 @@ export default function Shortcuts({
</Link>
))}
</section>
</section>
</SectionContainer>
)
}