From 748bb1720fd81e97a84c3e92f89d606e976b52e3 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 28 May 2025 00:18:16 +0000 Subject: (대표님) 컴포넌트 파트 커밋 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/shell.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'components/shell.tsx') diff --git a/components/shell.tsx b/components/shell.tsx index 8082109b..cfa03c9e 100644 --- a/components/shell.tsx +++ b/components/shell.tsx @@ -3,13 +3,14 @@ import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" -const shellVariants = cva("grid items-center gap-8 pb-8 pt-6 md:py-8", { +const shellVariants = cva("", { variants: { variant: { - default: "container", + default: "container grid items-center gap-8 pb-8 pt-6 md:py-8", sidebar: "", centered: "container flex h-dvh max-w-2xl flex-col justify-center py-16", markdown: "container max-w-3xl py-8 md:py-10 lg:py-10", + fullscreen: "container h-full flex flex-col gap-4 py-4", // 새로운 fullscreen variant }, }, defaultVariants: { @@ -34,4 +35,4 @@ function Shell({ ) } -export { Shell, shellVariants } +export { Shell, shellVariants } \ No newline at end of file -- cgit v1.2.3