diff --git a/app/src/components/component/component.tsx b/app/src/components/component/component.tsx deleted file mode 100644 index 39fe965..0000000 --- a/app/src/components/component/component.tsx +++ /dev/null @@ -1,123 +0,0 @@ -/** -* This code was generated by v0 by Vercel. -* @see https://v0.dev/t/tmQkBG9cuxt -* Documentation: https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app -*/ - -/** Add fonts into your Next.js project: - -import { Inter } from 'next/font/google' - -inter({ - subsets: ['latin'], - display: 'swap', -}) - -To read more about using these font, please visit the Next.js documentation: -- App Directory: https://nextjs.org/docs/app/building-your-application/optimizing/fonts -- Pages Directory: https://nextjs.org/docs/pages/building-your-application/optimizing/fonts -**/ -import Link from "next/link" -import { Sheet, SheetTrigger, SheetContent } from "@/components/ui/sheet" -import { Button } from "@/components/ui/button" - -export function Component() { - return ( -
-
- - - Acme Inc - - - - - - -
- -
- -
-
-
-
-
-
- ) -} - -function MenuIcon(props) { - return ( - - - - - - ) -} - - -function MountainIcon(props) { - return ( - - - - ) -} diff --git a/app/src/components/component/hamburgerMenu.tsx b/app/src/components/component/hamburgerMenu.tsx deleted file mode 100644 index b4a4503..0000000 --- a/app/src/components/component/hamburgerMenu.tsx +++ /dev/null @@ -1,67 +0,0 @@ -/** -* This code was generated by v0 by Vercel. -* @see https://v0.dev/t/tmQkBG9cuxt -* Documentation: https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app -*/ - -/** Add fonts into your Next.js project: - -import { Inter } from 'next/font/google' - -inter({ - subsets: ['latin'], - display: 'swap', -}) - -To read more about using these font, please visit the Next.js documentation: -- App Directory: https://nextjs.org/docs/app/building-your-application/optimizing/fonts -- Pages Directory: https://nextjs.org/docs/pages/building-your-application/optimizing/fonts -**/ -import Link from "next/link" -import { Sheet, SheetTrigger, SheetContent } from "@/components/ui/sheet" -import { Button } from "@/components/ui/button" - -const hamburgerMenu = () => { - return ( -
-
- - Acme Inc - - - - - - -
- -
- -
-
-
-
-
-
- ) -} -export default hamburgerMenu; diff --git a/app/src/components/ui/sheet.tsx b/app/src/components/ui/sheet.tsx deleted file mode 100644 index 417e7e1..0000000 --- a/app/src/components/ui/sheet.tsx +++ /dev/null @@ -1,140 +0,0 @@ -"use client" - -import * as React from "react" -import * as SheetPrimitive from "@radix-ui/react-dialog" -import { Cross2Icon } from "@radix-ui/react-icons" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const Sheet = SheetPrimitive.Root - -const SheetTrigger = SheetPrimitive.Trigger - -const SheetClose = SheetPrimitive.Close - -const SheetPortal = SheetPrimitive.Portal - -const SheetOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -SheetOverlay.displayName = SheetPrimitive.Overlay.displayName - -const sheetVariants = cva( - "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out", - { - variants: { - side: { - top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top", - bottom: - "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom", - left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm", - right: - "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm", - }, - }, - defaultVariants: { - side: "right", - }, - } -) - -interface SheetContentProps - extends React.ComponentPropsWithoutRef, - VariantProps {} - -const SheetContent = React.forwardRef< - React.ElementRef, - SheetContentProps ->(({ side = "right", className, children, ...props }, ref) => ( - - - - - - Close - - {children} - - -)) -SheetContent.displayName = SheetPrimitive.Content.displayName - -const SheetHeader = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -SheetHeader.displayName = "SheetHeader" - -const SheetFooter = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -SheetFooter.displayName = "SheetFooter" - -const SheetTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -SheetTitle.displayName = SheetPrimitive.Title.displayName - -const SheetDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -SheetDescription.displayName = SheetPrimitive.Description.displayName - -export { - Sheet, - SheetPortal, - SheetOverlay, - SheetTrigger, - SheetClose, - SheetContent, - SheetHeader, - SheetFooter, - SheetTitle, - SheetDescription, -}