From 682f0c66a36254b2412395f8abae4b10d949055b Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 13 Feb 2025 20:13:54 +0100 Subject: [PATCH] update --- web/app/components/DocSidebar.tsx | 22 +- web/app/components/footer.tsx | 108 ++- web/app/components/hero.tsx | 35 +- web/app/components/mouse-move-effect.tsx | 29 + web/app/components/navbar.tsx | 100 +-- web/app/components/resources.tsx | 52 ++ web/app/components/support-project.tsx | 26 + web/app/components/testimonials.tsx | 22 +- web/app/components/theme-provider.tsx | 11 + web/app/components/ui/.DS_Store | Bin 6148 -> 0 bytes web/app/components/ui/accordion.tsx | 58 ++ web/app/components/ui/alert-dialog.tsx | 141 ++++ web/app/components/ui/alert.tsx | 59 ++ web/app/components/ui/aspect-ratio.tsx | 7 + web/app/components/ui/avatar.tsx | 50 ++ web/app/components/ui/badge.tsx | 36 + web/app/components/ui/breadcrumb.tsx | 115 ++++ web/app/components/ui/calendar.tsx | 66 ++ web/app/components/ui/card.tsx | 79 +++ web/app/components/ui/carousel.tsx | 262 ++++++++ web/app/components/ui/chart.tsx | 365 +++++++++++ web/app/components/ui/checkbox.tsx | 30 + web/app/components/ui/collapsible.tsx | 11 + web/app/components/ui/command.tsx | 153 +++++ web/app/components/ui/context-menu.tsx | 200 ++++++ web/app/components/ui/dialog.tsx | 122 ++++ web/app/components/ui/drawer.tsx | 118 ++++ web/app/components/ui/dropdown-menu.tsx | 200 ++++++ web/app/components/ui/form.tsx | 178 +++++ web/app/components/ui/hover-card.tsx | 29 + web/app/components/ui/input-otp.tsx | 71 ++ web/app/components/ui/input.tsx | 22 + web/app/components/ui/label.tsx | 26 + web/app/components/ui/menubar.tsx | 236 +++++++ web/app/components/ui/navigation-menu.tsx | 128 ++++ web/app/components/ui/pagination.tsx | 117 ++++ web/app/components/ui/popover.tsx | 31 + web/app/components/ui/progress.tsx | 28 + web/app/components/ui/radio-group.tsx | 44 ++ web/app/components/ui/resizable.tsx | 45 ++ web/app/components/ui/scroll-area.tsx | 48 ++ web/app/components/ui/select.tsx | 160 +++++ web/app/components/ui/separator.tsx | 31 + web/app/components/ui/sheet.tsx | 140 ++++ web/app/components/ui/sidebar.tsx | 763 ++++++++++++++++++++++ web/app/components/ui/skeleton.tsx | 15 + web/app/components/ui/slider.tsx | 28 + web/app/components/ui/sonner.tsx | 31 + web/app/components/ui/switch.tsx | 29 + web/app/components/ui/table.tsx | 117 ++++ web/app/components/ui/tabs.tsx | 55 ++ web/app/components/ui/textarea.tsx | 22 + web/app/components/ui/toast.tsx | 129 ++++ web/app/components/ui/toaster.tsx | 35 + web/app/components/ui/toggle-group.tsx | 61 ++ web/app/components/ui/toggle.tsx | 45 ++ web/app/components/ui/tooltip.tsx | 30 + web/app/components/ui/use-mobile.tsx | 19 + web/app/components/ui/use-toast.ts | 194 ++++++ 59 files changed, 5254 insertions(+), 130 deletions(-) create mode 100644 web/app/components/mouse-move-effect.tsx create mode 100644 web/app/components/resources.tsx create mode 100644 web/app/components/support-project.tsx create mode 100644 web/app/components/theme-provider.tsx delete mode 100644 web/app/components/ui/.DS_Store create mode 100644 web/app/components/ui/accordion.tsx create mode 100644 web/app/components/ui/alert-dialog.tsx create mode 100644 web/app/components/ui/alert.tsx create mode 100644 web/app/components/ui/aspect-ratio.tsx create mode 100644 web/app/components/ui/avatar.tsx create mode 100644 web/app/components/ui/badge.tsx create mode 100644 web/app/components/ui/breadcrumb.tsx create mode 100644 web/app/components/ui/calendar.tsx create mode 100644 web/app/components/ui/card.tsx create mode 100644 web/app/components/ui/carousel.tsx create mode 100644 web/app/components/ui/chart.tsx create mode 100644 web/app/components/ui/checkbox.tsx create mode 100644 web/app/components/ui/collapsible.tsx create mode 100644 web/app/components/ui/command.tsx create mode 100644 web/app/components/ui/context-menu.tsx create mode 100644 web/app/components/ui/dialog.tsx create mode 100644 web/app/components/ui/drawer.tsx create mode 100644 web/app/components/ui/dropdown-menu.tsx create mode 100644 web/app/components/ui/form.tsx create mode 100644 web/app/components/ui/hover-card.tsx create mode 100644 web/app/components/ui/input-otp.tsx create mode 100644 web/app/components/ui/input.tsx create mode 100644 web/app/components/ui/label.tsx create mode 100644 web/app/components/ui/menubar.tsx create mode 100644 web/app/components/ui/navigation-menu.tsx create mode 100644 web/app/components/ui/pagination.tsx create mode 100644 web/app/components/ui/popover.tsx create mode 100644 web/app/components/ui/progress.tsx create mode 100644 web/app/components/ui/radio-group.tsx create mode 100644 web/app/components/ui/resizable.tsx create mode 100644 web/app/components/ui/scroll-area.tsx create mode 100644 web/app/components/ui/select.tsx create mode 100644 web/app/components/ui/separator.tsx create mode 100644 web/app/components/ui/sheet.tsx create mode 100644 web/app/components/ui/sidebar.tsx create mode 100644 web/app/components/ui/skeleton.tsx create mode 100644 web/app/components/ui/slider.tsx create mode 100644 web/app/components/ui/sonner.tsx create mode 100644 web/app/components/ui/switch.tsx create mode 100644 web/app/components/ui/table.tsx create mode 100644 web/app/components/ui/tabs.tsx create mode 100644 web/app/components/ui/textarea.tsx create mode 100644 web/app/components/ui/toast.tsx create mode 100644 web/app/components/ui/toaster.tsx create mode 100644 web/app/components/ui/toggle-group.tsx create mode 100644 web/app/components/ui/toggle.tsx create mode 100644 web/app/components/ui/tooltip.tsx create mode 100644 web/app/components/ui/use-mobile.tsx create mode 100644 web/app/components/ui/use-toast.ts diff --git a/web/app/components/DocSidebar.tsx b/web/app/components/DocSidebar.tsx index a91e41d..ded63cf 100644 --- a/web/app/components/DocSidebar.tsx +++ b/web/app/components/DocSidebar.tsx @@ -1,5 +1,9 @@ +"use client" + import Link from "next/link" import { usePathname } from "next/navigation" +import { useState } from "react" +import { Menu } from "lucide-react" const sidebarItems = [ { title: "Introduction", href: "/docs/introduction" }, @@ -7,23 +11,33 @@ const sidebarItems = [ { title: "Getting Started", href: "/docs/getting-started" }, { title: "Features", href: "/docs/features" }, { title: "API", href: "/docs/api" }, + { title: "Guides", href: "/guides" }, { title: "FAQ", href: "/docs/faq" }, ] export default function DocSidebar() { const pathname = usePathname() + const [isOpen, setIsOpen] = useState(false) return ( -