diff --git a/src/app/(dashboard)/dashboard/analysis/page.tsx b/src/app/(dashboard)/dashboard/analysis/page.tsx new file mode 100644 index 0000000..34c30c0 --- /dev/null +++ b/src/app/(dashboard)/dashboard/analysis/page.tsx @@ -0,0 +1,74 @@ +import { + Pagination, + PaginationContent, + PaginationEllipsis, + PaginationItem, + PaginationLink, + PaginationNext, + PaginationPrevious, +} from "@/components/ui/pagination"; +import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area"; + +const Page = () => { + return ( + +
+
+ {Array.from({ length: 10 }).map((_, i) => + i === 0 ? ( + + ) : ( +
+
+
+
+
+ ) + )} +
+ + {/*
+
asdf
*/} + + + + + + + 1 + + + + 2 + + + + 3 + + + + + + + + + + {/*
*/} +
+ +
+ ); +}; + +export default Page; diff --git a/src/components/ui/pagination.tsx b/src/components/ui/pagination.tsx new file mode 100644 index 0000000..9be0bf1 --- /dev/null +++ b/src/components/ui/pagination.tsx @@ -0,0 +1,122 @@ +import * as React from "react" +import { + ChevronLeftIcon, + ChevronRightIcon, + DotsHorizontalIcon, +} from "@radix-ui/react-icons" +import Link from "next/link" + +import { cn } from "@/lib/utils" +import { ButtonProps, buttonVariants } from "@/components/ui/button" + +const Pagination = ({ className, ...props }: React.ComponentProps<"nav">) => ( +