diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-28 00:18:16 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-28 00:18:16 +0000 |
| commit | 748bb1720fd81e97a84c3e92f89d606e976b52e3 (patch) | |
| tree | a7f7f377035cd04912fe0541368884f976f4ee6d /components/shell.tsx | |
| parent | 9e280704988fdeffa05c1d8cbb731722f666c6af (diff) | |
(대표님) 컴포넌트 파트 커밋
Diffstat (limited to 'components/shell.tsx')
| -rw-r--r-- | components/shell.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
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 |
