feat(WEB-154): my profile view

This commit is contained in:
Simon Emanuelsson
2024-04-05 08:28:20 +02:00
parent 3b05b9f205
commit 82e4d40203
95 changed files with 1239 additions and 196 deletions

View File

@@ -0,0 +1,17 @@
import { cva } from "class-variance-authority"
import styles from "./maxWidth.module.css"
import type { MaxWidthProps } from "@/types/components/max-width"
const maxWidthVariants = cva(styles.container)
export default function MaxWidth({
className,
tag = "section",
...props
}: MaxWidthProps
) {
const Cmp = tag
return <Cmp className={maxWidthVariants({ className })} {...props} />
}