From 835b31bc873048cdd7f8c3fd81cc785dac928b3f Mon Sep 17 00:00:00 2001 From: "Ala Eddine Menai (Ala)" Date: Tue, 23 Dec 2025 19:47:09 +0100 Subject: [PATCH] clean(lofi): remove unused lofi components --- apps/www/components/lo-fi/accordion.tsx | 32 ------------------ apps/www/components/lo-fi/alert.tsx | 18 ----------- apps/www/components/lo-fi/atom.tsx | 43 ------------------------- apps/www/components/lo-fi/component.tsx | 28 ---------------- apps/www/components/lo-fi/index.tsx | 26 --------------- 5 files changed, 147 deletions(-) delete mode 100644 apps/www/components/lo-fi/accordion.tsx delete mode 100644 apps/www/components/lo-fi/alert.tsx delete mode 100644 apps/www/components/lo-fi/atom.tsx delete mode 100644 apps/www/components/lo-fi/component.tsx delete mode 100644 apps/www/components/lo-fi/index.tsx diff --git a/apps/www/components/lo-fi/accordion.tsx b/apps/www/components/lo-fi/accordion.tsx deleted file mode 100644 index cb3c16b3..00000000 --- a/apps/www/components/lo-fi/accordion.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { ChevronDownIcon, ChevronUpIcon } from "lucide-react" - -import { Atom } from "@/components/lo-fi/atom" - -export function AccordionLoFi() { - return ( -
-
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
-
- ) -} diff --git a/apps/www/components/lo-fi/alert.tsx b/apps/www/components/lo-fi/alert.tsx deleted file mode 100644 index 13e44a49..00000000 --- a/apps/www/components/lo-fi/alert.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { CircleAlertIcon } from "lucide-react" - -import { Atom } from "@/components/lo-fi/atom" - -export function AlertLoFi() { - return ( - - -
- - -
-
- ) -} diff --git a/apps/www/components/lo-fi/atom.tsx b/apps/www/components/lo-fi/atom.tsx deleted file mode 100644 index 8952be09..00000000 --- a/apps/www/components/lo-fi/atom.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const atomVariants = cva( - "inline-flex rounded-lg border-neutral-300 dark:border-neutral-600", - { - variants: { - shade: { - "50": "bg-neutral-50 dark:bg-neutral-900", - "100": "bg-neutral-100 dark:bg-neutral-800", - "200": "bg-neutral-200 dark:bg-neutral-700", - "300": "bg-neutral-300 dark:bg-neutral-600", - "400": "bg-neutral-400 dark:bg-neutral-500", - "500": "bg-neutral-500 dark:bg-neutral-400", - "600": "bg-neutral-600 dark:bg-neutral-300", - "700": "bg-neutral-700 dark:bg-neutral-200", - "800": "bg-neutral-800 dark:bg-neutral-100", - "900": "bg-neutral-900 dark:bg-neutral-50", - }, - }, - defaultVariants: { - shade: "50", - }, - } -) - -function Atom({ - className, - shade, - ...props -}: React.ComponentProps<"div"> & VariantProps) { - return ( -
- ) -} - -export { Atom } diff --git a/apps/www/components/lo-fi/component.tsx b/apps/www/components/lo-fi/component.tsx deleted file mode 100644 index 54b708ee..00000000 --- a/apps/www/components/lo-fi/component.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import Link from "next/link" - -import { Atom } from "@/components/lo-fi/atom" - -function Component({ href, ...props }: React.ComponentProps) { - return -} - -function ComponentContent({ ...props }: React.ComponentProps) { - return ( - - ) -} - -function ComponentName({ ...props }: React.ComponentProps<"div">) { - return ( -
- ) -} - -export { Component, ComponentContent, ComponentName } diff --git a/apps/www/components/lo-fi/index.tsx b/apps/www/components/lo-fi/index.tsx deleted file mode 100644 index 69429ef8..00000000 --- a/apps/www/components/lo-fi/index.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { AccordionLoFi } from "@/components/lo-fi/accordion" -import { AlertLoFi } from "@/components/lo-fi/alert" -import { - Component, - ComponentContent, - ComponentName, -} from "@/components/lo-fi/component" - -export function LoFi() { - return ( -
- - - - - Accordion - - - - - - Alert - -
- ) -}