diff --git a/src/components/MobileNav.tsx b/src/components/MobileNav.tsx deleted file mode 100644 index 9d1af7d..0000000 --- a/src/components/MobileNav.tsx +++ /dev/null @@ -1,108 +0,0 @@ -"use client"; -import { - Accordion, - AccordionContent, - AccordionItem, - AccordionTrigger, -} from "@/components/ui/accordion"; -import { - Sheet, - SheetClose, - SheetContent, - SheetDescription, - SheetHeader, - SheetTitle, - SheetTrigger, -} from "@/components/ui/sheet"; -import { Category } from "@/lib/types"; -import clsx from "clsx"; -import { Menu } from "lucide-react"; -import Link from "next/link"; -import { useState } from "react"; -import { Badge } from "./ui/badge"; - -export default function MobileNav() { - const [links, setLinks] = useState([]); - - const fetchLinks = async () => { - const res = await fetch("/api/categories", {}); - if (!res.ok) { - throw new Error("Failed to fetch categories"); - } - const links = await res.json(); - setLinks(links); - }; - - return ( -
- - - - - - - Proxmox VE Helper-Scripts - -
-

Scripts

- - {links.map((category) => ( - - - {category.catagoryName} - - - {category.expand.items.map((script, index) => ( -
- - - {script.title}{" "} - - {script.item_type} - - - -
- ))} -
-
- ))} -
-
-
-
-
- -
- ); -} diff --git a/src/components/magicui/shine-border.tsx b/src/components/magicui/shine-border.tsx deleted file mode 100644 index 855408e..0000000 --- a/src/components/magicui/shine-border.tsx +++ /dev/null @@ -1,61 +0,0 @@ -"use client"; - -import { cn } from "@/lib/utils"; - -type TColorProp = string | string[]; - -interface ShineBorderProps { - borderRadius?: number; - borderWidth?: number; - duration?: number; - color?: TColorProp; - className?: string; - children: React.ReactNode; -} - -/** - * @name Shine Border - * @description It is an animated background border effect component with easy to use and configurable props. - * @param borderRadius defines the radius of the border. - * @param borderWidth defines the width of the border. - * @param duration defines the animation duration to be applied on the shining border - * @param color a string or string array to define border color. - * @param className defines the class name to be applied to the component - * @param children contains react node elements. - */ -export default function ShineBorder({ - borderRadius = 8, - borderWidth = 1, - duration = 14, - color = "#000000", - className, - children, -}: ShineBorderProps) { - return ( -
-
- {children} -
- ); -}