diff --git a/.gitignore b/.gitignore index 5b531e0e..68c8fbd4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ node_modules /.cache /build .env + +*.DS_Store diff --git a/ROUTING.md b/ROUTING.md new file mode 100644 index 00000000..e95360e5 --- /dev/null +++ b/ROUTING.md @@ -0,0 +1,52 @@ +- / +- pricing +- about +- help +- legal + - privacy-policy + - terms-and-condition +- career + - :id (individual jobs page) +- trial (squeeze page) +- blog + - latest (latest articles page) + - :id (Individual blog page) +- contact +- faq +- waitlist +- auth + - register + - ?otp + - organisation + - login + - email-link + - success + - forgot-password + - verify-otp + - success + - reset-password +- dashboard + - products + - add + - :id + - settings + - profile + - account-security + - password + - payment-information + - checkout + - cancel-subscription + - notification + - payment-information + - data-and-privacy + - language-and-region +- admin + - dashboard + - products + - add + - :id + - users + - email-templates + - squeeze + - waitlist + - settings diff --git a/app/components/ui/accordion.tsx b/app/components/ui/accordion.tsx index 6f1b87c3..f2ab1670 100644 --- a/app/components/ui/accordion.tsx +++ b/app/components/ui/accordion.tsx @@ -3,13 +3,17 @@ import * as AccordionPrimitive from "@radix-ui/react-accordion"; import { cn } from "app/lib/utils/cn"; import { ChevronDown } from "lucide-react"; -import * as React from "react"; +import { + forwardRef, + type ComponentPropsWithoutRef, + type ElementRef, +} from "react"; const Accordion = AccordionPrimitive.Root; -const AccordionItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef +const AccordionItem = forwardRef< + ElementRef, + ComponentPropsWithoutRef >(({ className, ...properties }, reference) => ( , - React.ComponentPropsWithoutRef +const AccordionTrigger = forwardRef< + ElementRef, + ComponentPropsWithoutRef >(({ className, children, ...properties }, reference) => ( , - React.ComponentPropsWithoutRef +const AccordionContent = forwardRef< + ElementRef, + ComponentPropsWithoutRef >(({ className, children, ...properties }, reference) => (