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

@@ -0,0 +1,4 @@
.container {
display: grid;
gap: var(--Spacing-x3);
}

View File

@@ -0,0 +1,13 @@
import styles from "./container.module.css"
export default function SectionContainer({
children,
className = "",
...props
}: React.HTMLAttributes<HTMLElement>) {
return (
<section {...props} className={`${styles.container} ${className}`}>
{children}
</section>
)
}