From e0dfb55c5457aec489fc084c4567e791b4c65eb1 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 26 Mar 2025 00:37:41 +0000
Subject: 3/25 까지의 대표님 작업사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/shell.tsx | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 components/shell.tsx

(limited to 'components/shell.tsx')

diff --git a/components/shell.tsx b/components/shell.tsx
new file mode 100644
index 00000000..8082109b
--- /dev/null
+++ b/components/shell.tsx
@@ -0,0 +1,37 @@
+import * as React from "react"
+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", {
+  variants: {
+    variant: {
+      default: "container",
+      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",
+    },
+  },
+  defaultVariants: {
+    variant: "default",
+  },
+})
+
+interface ShellProps
+  extends React.HTMLAttributes<HTMLDivElement>,
+    VariantProps<typeof shellVariants> {
+  as?: React.ElementType
+}
+
+function Shell({
+  className,
+  as: Comp = "section",
+  variant,
+  ...props
+}: ShellProps) {
+  return (
+    <Comp className={cn(shellVariants({ variant }), className)} {...props} />
+  )
+}
+
+export { Shell, shellVariants }
-- 
cgit v1.2.3

