Skip to content

Commit

Permalink
Revert "feat(web): ✨🚧 WIP add button->modal"
Browse files Browse the repository at this point in the history
This reverts commit 83548c5.
  • Loading branch information
collinbarrett committed Jul 24, 2024
1 parent 88a1638 commit dbd83c3
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 201 deletions.
30 changes: 0 additions & 30 deletions web/app/@modal/(.)lists/[id]/modal.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions web/app/@modal/(.)lists/[id]/page.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/@modal/default.tsx

This file was deleted.

11 changes: 5 additions & 6 deletions web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@ const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = siteMetadata;

export default function RootLayout(props: {
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
modal: React.ReactNode;
}) {
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={inter.className}>
<ThemeProvider attribute="class" enableSystem disableTransitionOnChange>
<div className="flex min-h-screen w-full flex-col">
<Header />
<main className="flex flex-1 flex-col gap-4 p-4 md:gap-8 md:p-8">
{props.children}
{props.modal}
<div id="modal-root" />
{children}
</main>
</div>
</ThemeProvider>
Expand Down
8 changes: 0 additions & 8 deletions web/app/lists/[id]/page.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions web/components/filterlists-table/columns.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use client";

import Link from "next/link";
import { ArrowDownIcon, ArrowUpIcon } from "@radix-ui/react-icons";
import { ColumnDef } from "@tanstack/react-table";

Expand All @@ -9,16 +8,6 @@ import { Button } from "@/components/ui/button";
import { FilterList } from "./filterlist";

export const columns: ColumnDef<FilterList>[] = [
{
accessorKey: "id",
cell: ({ row }) => {
return (
<Link className="card" key={row.id} href={`/lists/${row.id}`} passHref>
{row.id}
</Link>
);
},
},
{
accessorKey: "name",
header: ({ column }) => {
Expand Down
118 changes: 0 additions & 118 deletions web/components/ui/drawer.tsx

This file was deleted.

15 changes: 1 addition & 14 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"react-dom": "^18",
"sharp": "^0.33.4",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.9.1"
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
Expand Down

0 comments on commit dbd83c3

Please sign in to comment.