Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
---
import { cn } from "@lib/utils"
type Props = {
size: "sm" | "md" | "lg" | "xl" | "2xl"
}
const { size } = Astro.props;
---
<div class={cn(
"w-full h-full mx-auto px-5",
size === "sm" && "max-w-screen-sm",
size === "md" && "max-w-screen-md",
size === "lg" && "max-w-screen-lg",
size === "xl" && "max-w-screen-xl",
size === "2xl" && "max-w-screen-2xl",
)}>
<slot/>
</div>
007e853d2This file is pinned to the selected release. Download the original to open it in your design tool.