diff --git a/.gitignore b/.gitignore index 3b0b403..f4c327c 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ dist-ssr *.sln *.sw? -.env \ No newline at end of file +.env +.env.* \ No newline at end of file diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx index d05bbc6..993a5ad 100644 --- a/src/components/ui/card.tsx +++ b/src/components/ui/card.tsx @@ -1,92 +1,44 @@ -import * as React from "react" +import * as React from 'react'; -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils'; -function Card({ className, ...props }: React.ComponentProps<"div">) { +function Card({ className, ...props }: React.ComponentProps<'div'>) { + return ( +
+ ); +} + +function CardHeader({ className, ...props }: React.ComponentProps<'div'>) { return ( - ) + ); } -function CardHeader({ className, ...props }: React.ComponentProps<"div">) { - return ( - - ) +function CardTitle({ className, ...props }: React.ComponentProps<'div'>) { + return ; } -function CardTitle({ className, ...props }: React.ComponentProps<"div">) { - return ( - - ) +function CardDescription({ className, ...props }: React.ComponentProps<'div'>) { + return ; } -function CardDescription({ className, ...props }: React.ComponentProps<"div">) { - return ( - - ) +function CardAction({ className, ...props }: React.ComponentProps<'div'>) { + return ; } -function CardAction({ className, ...props }: React.ComponentProps<"div">) { - return ( - - ) +function CardContent({ className, ...props }: React.ComponentProps<'div'>) { + return ; } -function CardContent({ className, ...props }: React.ComponentProps<"div">) { - return ( - - ) +function CardFooter({ className, ...props }: React.ComponentProps<'div'>) { + return ; } -function CardFooter({ className, ...props }: React.ComponentProps<"div">) { - return ( - - ) -} - -export { - Card, - CardHeader, - CardFooter, - CardTitle, - CardAction, - CardDescription, - CardContent, -} +export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent }; diff --git a/src/components/ui/checkbox.tsx b/src/components/ui/checkbox.tsx index defeb01..7803f1f 100644 --- a/src/components/ui/checkbox.tsx +++ b/src/components/ui/checkbox.tsx @@ -1,30 +1,24 @@ -import * as React from "react" -import * as CheckboxPrimitive from "@radix-ui/react-checkbox" -import { CheckIcon } from "lucide-react" +import * as React from 'react'; +import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; +import { CheckIcon } from 'lucide-react'; -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils'; -function Checkbox({ - className, - ...props -}: React.ComponentProps+
{body}
- ) + ); } -export { - useFormField, - Form, - FormItem, - FormLabel, - FormControl, - FormDescription, - FormMessage, - FormField, -} +export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField }; diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx index 03295ca..b4217a4 100644 --- a/src/components/ui/input.tsx +++ b/src/components/ui/input.tsx @@ -1,21 +1,21 @@ -import * as React from "react" +import * as React from 'react'; -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils'; -function Input({ className, type, ...props }: React.ComponentProps<"input">) { +function Input({ className, type, ...props }: React.ComponentProps<'input'>) { return ( - ) + ); } -export { Input } +export { Input }; diff --git a/src/components/ui/label.tsx b/src/components/ui/label.tsx index ef7133a..4d5af62 100644 --- a/src/components/ui/label.tsx +++ b/src/components/ui/label.tsx @@ -1,22 +1,19 @@ -import * as React from "react" -import * as LabelPrimitive from "@radix-ui/react-label" +import * as React from 'react'; +import * as LabelPrimitive from '@radix-ui/react-label'; -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils'; -function Label({ - className, - ...props -}: React.ComponentProps