diff --git a/.gitignore b/.gitignore index 787cbfdfa..e5aa3e316 100644 --- a/.gitignore +++ b/.gitignore @@ -4,10 +4,7 @@ db/ start.sh supabase.sh -vite-lfg -lfg -vite-lfg/ -lfg/ + **/certificates/ **/node_modules/ diff --git a/vite-lfg/package.json b/vite-lfg/package.json deleted file mode 100644 index 2e3125f93..000000000 --- a/vite-lfg/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "@autumn/vite-lfg", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "tsc -b && vite build", - "lint": "eslint .", - "preview": "vite preview" - }, - "dependencies": { - "@clerk/clerk-react": "^5.24.1", - "@fortawesome/fontawesome-svg-core": "^6.7.2", - "@fortawesome/free-brands-svg-icons": "^6.7.2", - "@fortawesome/pro-duotone-svg-icons": "^6.7.2", - "@fortawesome/pro-regular-svg-icons": "^6.7.2", - "@fortawesome/pro-solid-svg-icons": "^6.7.2", - "@fortawesome/react-fontawesome": "^0.2.2", - "@radix-ui/react-accordion": "^1.2.1", - "@radix-ui/react-checkbox": "^1.1.3", - "@radix-ui/react-dialog": "^1.1.4", - "@radix-ui/react-dropdown-menu": "^2.1.2", - "@radix-ui/react-popover": "^1.1.4", - "@radix-ui/react-select": "^2.1.4", - "@radix-ui/react-separator": "^1.1.0", - "@radix-ui/react-slot": "^1.1.2", - "@radix-ui/react-switch": "^1.1.2", - "@radix-ui/react-tabs": "^1.1.2", - "@radix-ui/react-toast": "^1.2.2", - "@radix-ui/react-tooltip": "^1.1.4", - "@supabase/supabase-js": "^2.47.2", - "@tailwindcss/vite": "^4.0.13", - "@useautumn/react": "^0.0.13", - "@wooorm/starry-night": "^3.6.0", - "axios": "^1.8.3", - "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", - "cmdk": "^1.0.0", - "date-fns": "^3.6.0", - "framer-motion": "^11.13.1", - "hast-util-to-html": "^8.0.0", - "ksuid": "^3.0.0", - "lodash": "^4.17.21", - "lucide-react": "^0.479.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-router": "^7.3.0", - "swr": "^2.2.5", - "tailwind-merge": "^3.0.2", - "tailwindcss-animate": "^1.0.7", - "tailwindcss-animated": "^2.0.0" - }, - "devDependencies": { - "@autumn/shared": "*", - "@eslint/js": "^9.21.0", - "@types/node": "^22.13.10", - "@types/react": "^18.3.18", - "@types/react-dom": "^18.3.5", - "@vitejs/plugin-react": "^4.3.4", - "autoprefixer": "^10.4.21", - "eslint": "^9.21.0", - "eslint-plugin-react-hooks": "^5.1.0", - "eslint-plugin-react-refresh": "^0.4.19", - "globals": "^15.15.0", - "postcss": "^8.5.3", - "tailwindcss": "^3.4.17", - "typescript": "~5.7.2", - "typescript-eslint": "^8.24.1", - "vite": "^6.2.0" - } -} diff --git a/vite-lfg/postcss.config.cjs b/vite-lfg/postcss.config.cjs deleted file mode 100644 index e2dc47804..000000000 --- a/vite-lfg/postcss.config.cjs +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - } -} \ No newline at end of file diff --git a/vite-lfg/src/App.tsx b/vite-lfg/src/App.tsx deleted file mode 100644 index 1419595a3..000000000 --- a/vite-lfg/src/App.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { SignedIn, UserButton } from "@clerk/clerk-react"; -import { SignedOut, SignInButton } from "@clerk/clerk-react"; -import { cn } from "./lib/utils"; - -function App() { - return ( -
- {/* SIDEBAR */} -
- -
-
-
- {/* {children} */} -
-
-
-

- Autumn is coming to mobile soon -

-

- We're currently designed for larger screens. Come back on - your desktop? -

-
-
-
- {/* @ts-expect-error this is a valid type */} - - - - {/* @ts-expect-error this is a valid type */} - - - -
-
- ); -} - -export default App; diff --git a/vite-lfg/src/app/customers.tsx b/vite-lfg/src/app/customers.tsx deleted file mode 100644 index 6db988ce4..000000000 --- a/vite-lfg/src/app/customers.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export const CustomersPage = () => { - return
Customers
; -}; diff --git a/vite-lfg/src/app/layout.tsx b/vite-lfg/src/app/layout.tsx deleted file mode 100644 index 6bfc0afc5..000000000 --- a/vite-lfg/src/app/layout.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import { cn } from "@/lib/utils"; -import { MainSidebar } from "@/views/new-sidebar/MainSidebar"; - -import { Outlet } from "react-router"; - -export function MainLayout() { - return ( -
- {/* {env === AppEnv.Sandbox && ( -
-

You're in sandbox mode.

-
- )} */} - - - -
-
- -
-
-
-

- Autumn is coming to mobile soon -

-

- We're currently designed for larger screens. Come back on - your desktop? -

-
-
-
-
- ); -} diff --git a/vite-lfg/src/components/general/RefreshHandler.tsx b/vite-lfg/src/components/general/RefreshHandler.tsx deleted file mode 100644 index 95b7f63f9..000000000 --- a/vite-lfg/src/components/general/RefreshHandler.tsx +++ /dev/null @@ -1,12 +0,0 @@ -"use client"; - -import { useRouter } from "next/navigation"; - -export default function RefreshHandler({ refresh }: { refresh: boolean }) { - const router = useRouter(); - if (refresh) { - router.refresh(); - } - - return <>; -} diff --git a/vite-lfg/src/components/general/SmallSpinner.tsx b/vite-lfg/src/components/general/SmallSpinner.tsx deleted file mode 100644 index f781ab988..000000000 --- a/vite-lfg/src/components/general/SmallSpinner.tsx +++ /dev/null @@ -1,13 +0,0 @@ -// import { LucideLoader2 } from "lucide-react"; - -import { LoaderCircle } from "lucide-react"; - -function SmallSpinner() { - // return ; - return ( - //
- - ); -} - -export default SmallSpinner; diff --git a/vite-lfg/src/components/ui/accordion.tsx b/vite-lfg/src/components/ui/accordion.tsx deleted file mode 100644 index e31d21345..000000000 --- a/vite-lfg/src/components/ui/accordion.tsx +++ /dev/null @@ -1,57 +0,0 @@ -"use client" - -import * as React from "react" -import * as AccordionPrimitive from "@radix-ui/react-accordion" -import { ChevronDown } from "lucide-react" - -import { cn } from "@/lib/utils" - -const Accordion = AccordionPrimitive.Root - -const AccordionItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AccordionItem.displayName = "AccordionItem" - -const AccordionTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - svg]:rotate-180", - className - )} - {...props} - > - {children} - - - -)) -AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName - -const AccordionContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - -
{children}
-
-)) -AccordionContent.displayName = AccordionPrimitive.Content.displayName - -export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } diff --git a/vite-lfg/src/components/ui/alert.tsx b/vite-lfg/src/components/ui/alert.tsx deleted file mode 100644 index 218f631f4..000000000 --- a/vite-lfg/src/components/ui/alert.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const alertVariants = cva( - "relative w-full rounded-lg border border-zinc-200 px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-zinc-950 [&>svg~*]:pl-7 dark:border-zinc-800 dark:[&>svg]:text-zinc-50", - { - variants: { - variant: { - default: "bg-white text-zinc-950 dark:bg-zinc-950 dark:text-zinc-50", - destructive: - "border-red-500/50 text-red-500 dark:border-red-500 [&>svg]:text-red-500 dark:border-red-900/50 dark:text-red-900 dark:dark:border-red-900 dark:[&>svg]:text-red-900", - }, - }, - defaultVariants: { - variant: "default", - }, - } -) - -const Alert = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes & VariantProps ->(({ className, variant, ...props }, ref) => ( -
-)) -Alert.displayName = "Alert" - -const AlertTitle = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -AlertTitle.displayName = "AlertTitle" - -const AlertDescription = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -AlertDescription.displayName = "AlertDescription" - -export { Alert, AlertTitle, AlertDescription } diff --git a/vite-lfg/src/components/ui/breadcrumb.tsx b/vite-lfg/src/components/ui/breadcrumb.tsx deleted file mode 100644 index 7a6c8d950..000000000 --- a/vite-lfg/src/components/ui/breadcrumb.tsx +++ /dev/null @@ -1,121 +0,0 @@ -import * as React from "react"; -import { Slot } from "@radix-ui/react-slot"; -import { ChevronRight, MoreHorizontal } from "lucide-react"; - -import { cn } from "@/lib/utils"; - -const Breadcrumb = React.forwardRef< - HTMLElement, - React.ComponentPropsWithoutRef<"nav"> & { - separator?: React.ReactNode; - } ->(({ ...props }, ref) =>