diff --git a/components/dashboard/date-range-picker.tsx b/components/dashboard/date-range-picker.tsx deleted file mode 100644 index b9d6c73..0000000 --- a/components/dashboard/date-range-picker.tsx +++ /dev/null @@ -1,57 +0,0 @@ -"use client"; - -import { Button } from "@/components/ui/button"; -import { Calendar } from "@/components/ui/calendar"; -import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; -import { cn } from "@/lib/utils"; -import { CalendarIcon } from "@radix-ui/react-icons"; -import { addDays, format } from "date-fns"; -import * as React from "react"; -import { DateRange } from "react-day-picker"; - -export function CalendarDateRangePicker({ className }: React.HTMLAttributes) { - const [date, setDate] = React.useState({ - from: new Date(2023, 0, 20), - to: addDays(new Date(2023, 0, 20), 20), - }); - - return ( -
- - - - - - - - -
- ); -} diff --git a/components/dashboard/main-nav.tsx b/components/dashboard/main-nav.tsx deleted file mode 100644 index 09961c1..0000000 --- a/components/dashboard/main-nav.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { cn } from "@/lib/utils"; -import Link from "next/link"; - -export function MainNav({ className, ...props }: React.HTMLAttributes) { - return ( - - ); -} diff --git a/components/dashboard/overview.tsx b/components/dashboard/overview.tsx deleted file mode 100644 index 542d97e..0000000 --- a/components/dashboard/overview.tsx +++ /dev/null @@ -1,72 +0,0 @@ -"use client"; - -import { Bar, BarChart, ResponsiveContainer, XAxis, YAxis } from "recharts"; - -const data = [ - { - name: "Jan", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Feb", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Mar", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Apr", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "May", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Jun", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Jul", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Aug", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Sep", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Oct", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Nov", - total: Math.floor(Math.random() * 5000) + 1000, - }, - { - name: "Dec", - total: Math.floor(Math.random() * 5000) + 1000, - }, -]; - -export function Overview() { - return ( - - - - `$${value}`} - /> - - - - ); -} diff --git a/components/dashboard/recent-sales.tsx b/components/dashboard/recent-sales.tsx deleted file mode 100644 index f0b3166..0000000 --- a/components/dashboard/recent-sales.tsx +++ /dev/null @@ -1,63 +0,0 @@ -import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; - -export function RecentSales() { - return ( -
-
- - - OM - -
-

Olivia Martin

-

olivia.martin@email.com

-
-
+$1,999.00
-
-
- - - JL - -
-

Jackson Lee

-

jackson.lee@email.com

-
-
+$39.00
-
-
- - - IN - -
-

Isabella Nguyen

-

isabella.nguyen@email.com

-
-
+$299.00
-
-
- - - WK - -
-

William Kim

-

will@email.com

-
-
+$99.00
-
-
- - - SD - -
-

Sofia Davis

-

sofia.davis@email.com

-
-
+$39.00
-
-
- ); -} diff --git a/components/dashboard/search.tsx b/components/dashboard/search.tsx deleted file mode 100644 index 4f20186..0000000 --- a/components/dashboard/search.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { Input } from "@/components/ui/input"; - -export function Search() { - return ( -
- -
- ); -} diff --git a/components/dashboard/team-switcher.tsx b/components/dashboard/team-switcher.tsx deleted file mode 100644 index 17687a7..0000000 --- a/components/dashboard/team-switcher.tsx +++ /dev/null @@ -1,190 +0,0 @@ -"use client"; - -import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; -import { Button } from "@/components/ui/button"; -import { - Command, - CommandEmpty, - CommandGroup, - CommandInput, - CommandItem, - CommandList, - CommandSeparator, -} from "@/components/ui/command"; -import { - Dialog, - DialogContent, - DialogDescription, - DialogFooter, - DialogHeader, - DialogTitle, - DialogTrigger, -} from "@/components/ui/dialog"; -import { Input } from "@/components/ui/input"; -import { Label } from "@/components/ui/label"; -import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@/components/ui/select"; -import { cn } from "@/lib/utils"; -import { CaretSortIcon, CheckIcon, PlusCircledIcon } from "@radix-ui/react-icons"; -import * as React from "react"; - -const groups = [ - { - label: "Personal Account", - teams: [ - { - label: "Alicia Koch", - value: "personal", - }, - ], - }, - { - label: "Teams", - teams: [ - { - label: "Acme Inc.", - value: "acme-inc", - }, - { - label: "Monsters Inc.", - value: "monsters", - }, - ], - }, -]; - -type Team = (typeof groups)[number]["teams"][number]; - -type PopoverTriggerProps = React.ComponentPropsWithoutRef; - -interface TeamSwitcherProps extends PopoverTriggerProps {} - -export default function TeamSwitcher({ className }: TeamSwitcherProps) { - const [open, setOpen] = React.useState(false); - const [showNewTeamDialog, setShowNewTeamDialog] = React.useState(false); - const [selectedTeam, setSelectedTeam] = React.useState(groups[0].teams[0]); - - return ( - - - - - - - - - - No team found. - {groups.map((group) => ( - - {group.teams.map((team) => ( - { - setSelectedTeam(team); - setOpen(false); - }} - className="text-sm" - > - - - SC - - {team.label} - - - ))} - - ))} - - - - - - { - setOpen(false); - setShowNewTeamDialog(true); - }} - > - - Create Team - - - - - - - - - - Create team - Add a new team to manage products and customers. - -
-
-
- - -
-
- - -
-
-
- - - - -
-
- ); -} diff --git a/components/dashboard/user-nav.tsx b/components/dashboard/user-nav.tsx deleted file mode 100644 index 4c6bfd8..0000000 --- a/components/dashboard/user-nav.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; -import { Button } from "@/components/ui/button"; -import { - DropdownMenu, - DropdownMenuContent, - DropdownMenuGroup, - DropdownMenuItem, - DropdownMenuLabel, - DropdownMenuSeparator, - DropdownMenuShortcut, - DropdownMenuTrigger, -} from "@/components/ui/dropdown-menu"; - -export function UserNav() { - return ( - - - - - - -
-

shadcn

-

m@example.com

-
-
- - - - Profile - ⇧⌘P - - - Billing - ⌘B - - - Settings - ⌘S - - New Team - - - - Log out - ⇧⌘Q - -
-
- ); -}