From 2a7afcae434afe77e67191b854561f6a6b160ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Flor=C3=AAncio?= Date: Sat, 10 Jan 2026 12:13:33 +0000 Subject: [PATCH] feat: web app cleanup (#2) --- apps/web/app/layout.tsx | 4 +- apps/web/app/page.tsx | 4 +- apps/web/components/component-example.tsx | 495 ---------------------- apps/web/components/example.tsx | 53 --- apps/web/components/kanban-board.tsx | 84 ++++ apps/web/components/kanban-card.tsx | 43 ++ apps/web/components/kanban-column.tsx | 105 +++++ apps/web/package-lock.json | 57 +++ apps/web/package.json | 3 + apps/web/public/file.svg | 1 - apps/web/public/globe.svg | 1 - apps/web/public/next.svg | 1 - apps/web/public/vercel.svg | 1 - apps/web/public/window.svg | 1 - 14 files changed, 296 insertions(+), 557 deletions(-) delete mode 100644 apps/web/components/component-example.tsx delete mode 100644 apps/web/components/example.tsx create mode 100644 apps/web/components/kanban-board.tsx create mode 100644 apps/web/components/kanban-card.tsx create mode 100644 apps/web/components/kanban-column.tsx delete mode 100644 apps/web/public/file.svg delete mode 100644 apps/web/public/globe.svg delete mode 100644 apps/web/public/next.svg delete mode 100644 apps/web/public/vercel.svg delete mode 100644 apps/web/public/window.svg diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index d693bc96f6..e767e64fef 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -15,8 +15,8 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Kandev - AI Kanban", + description: "AI-powered kanban board for developers", }; export default function RootLayout({ diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index 141152731d..fb9e7aa404 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -1,5 +1,5 @@ -import { ComponentExample } from "@/components/component-example"; +import { KanbanBoard } from '@/components/kanban-board'; export default function Page() { -return ; + return ; } \ No newline at end of file diff --git a/apps/web/components/component-example.tsx b/apps/web/components/component-example.tsx deleted file mode 100644 index ed4dc3bbab..0000000000 --- a/apps/web/components/component-example.tsx +++ /dev/null @@ -1,495 +0,0 @@ -"use client" - -import * as React from "react" - -import { - Example, - ExampleWrapper, -} from "@/components/example" -import { - AlertDialog, - AlertDialogAction, - AlertDialogCancel, - AlertDialogContent, - AlertDialogDescription, - AlertDialogFooter, - AlertDialogHeader, - AlertDialogMedia, - AlertDialogTitle, - AlertDialogTrigger, -} from "@/components/ui/alert-dialog" -import { Badge } from "@/components/ui/badge" -import { Button } from "@/components/ui/button" -import { - Card, - CardAction, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "@/components/ui/card" -import { - Combobox, - ComboboxContent, - ComboboxEmpty, - ComboboxInput, - ComboboxItem, - ComboboxList, -} from "@/components/ui/combobox" -import { - DropdownMenu, - DropdownMenuCheckboxItem, - DropdownMenuContent, - DropdownMenuGroup, - DropdownMenuItem, - DropdownMenuLabel, - DropdownMenuPortal, - DropdownMenuRadioGroup, - DropdownMenuRadioItem, - DropdownMenuSeparator, - DropdownMenuShortcut, - DropdownMenuSub, - DropdownMenuSubContent, - DropdownMenuSubTrigger, - DropdownMenuTrigger, -} from "@/components/ui/dropdown-menu" -import { Field, FieldGroup, FieldLabel } from "@/components/ui/field" -import { Input } from "@/components/ui/input" -import { - Select, - SelectContent, - SelectGroup, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/components/ui/select" -import { Textarea } from "@/components/ui/textarea" -import { IconPlus, IconBluetooth, IconDotsVertical, IconFile, IconFolder, IconFolderOpen, IconFileCode, IconDots, IconFolderSearch, IconDeviceFloppy, IconDownload, IconEye, IconLayout, IconPalette, IconSun, IconMoon, IconDeviceDesktop, IconUser, IconCreditCard, IconSettings, IconKeyboard, IconLanguage, IconBell, IconMail, IconShield, IconHelpCircle, IconFileText, IconLogout } from "@tabler/icons-react" - -export function ComponentExample() { - return ( - - - - - ) -} - -function CardExample() { - return ( - - -
- Photo by mymind on Unsplash - - Observability Plus is replacing Monitoring - - Switch to the improved way to explore your data, with natural - language. Monitoring will no longer be available on the Pro plan in - November, 2025 - - - - - - - - - - - - - Allow accessory to connect? - - Do you want to allow the USB accessory to connect to this - device? - - - - Don't allow - Allow - - - - - Warning - - - - - ) -} - -const frameworks = [ - "Next.js", - "SvelteKit", - "Nuxt.js", - "Remix", - "Astro", -] as const - -function FormExample() { - const [notifications, setNotifications] = React.useState({ - email: true, - sms: false, - push: true, - }) - const [theme, setTheme] = React.useState("light") - - return ( - - - - User Information - Please fill in your details below - - - - - - - - File - - - New File - ⌘N - - - - New Folder - ⇧⌘N - - - - - Open Recent - - - - - Recent Projects - - - Project Alpha - - - - Project Beta - - - - - More Projects - - - - - - Project Gamma - - - - Project Delta - - - - - - - - - - Browse... - - - - - - - - - Save - ⌘S - - - - Export - ⇧⌘E - - - - - View - - setNotifications({ - ...notifications, - email: checked === true, - }) - } - > - - Show Sidebar - - - setNotifications({ - ...notifications, - sms: checked === true, - }) - } - > - - Show Status Bar - - - - - Theme - - - - - Appearance - - - - Light - - - - Dark - - - - System - - - - - - - - - - Account - - - Profile - ⇧⌘P - - - - Billing - - - - - Settings - - - - - Preferences - - - Keyboard Shortcuts - - - - Language - - - - - Notifications - - - - - - Notification Types - - - setNotifications({ - ...notifications, - push: checked === true, - }) - } - > - - Push Notifications - - - setNotifications({ - ...notifications, - email: checked === true, - }) - } - > - - Email Notifications - - - - - - - - - - - Privacy & Security - - - - - - - - - - - Help & Support - - - - Documentation - - - - - - - Sign Out - ⇧⌘Q - - - - - - - -
- -
- - Name - - - - Role - - -
- - - Framework - - - - - No frameworks found. - - {(item) => ( - - {item} - - )} - - - - - - Comments -