From 47bd449fbe50a7b423db860ee6a34a7a3f7c3bb4 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sat, 23 Mar 2024 14:33:28 +0000 Subject: feature(web): Add dark mode support --- apps/web/app/dashboard/admin/page.tsx | 11 ++++++----- apps/web/app/dashboard/bookmarks/layout.tsx | 3 ++- apps/web/app/dashboard/layout.tsx | 2 +- apps/web/app/dashboard/lists/page.tsx | 3 ++- apps/web/app/dashboard/search/page.tsx | 3 ++- apps/web/app/dashboard/settings/page.tsx | 2 +- apps/web/app/dashboard/tags/page.tsx | 4 ++-- 7 files changed, 16 insertions(+), 12 deletions(-) (limited to 'apps/web/app/dashboard') diff --git a/apps/web/app/dashboard/admin/page.tsx b/apps/web/app/dashboard/admin/page.tsx index 7b4c3cdd..c44d3142 100644 --- a/apps/web/app/dashboard/admin/page.tsx +++ b/apps/web/app/dashboard/admin/page.tsx @@ -2,6 +2,7 @@ import { useRouter } from "next/navigation"; import { ActionButton } from "@/components/ui/action-button"; +import { Separator } from "@/components/ui/separator"; import LoadingSpinner from "@/components/ui/spinner"; import { Table, @@ -96,7 +97,7 @@ function ServerStatsSection() { -
+

Background Jobs

@@ -190,13 +191,13 @@ export default function AdminPage() { } return ( -
+

Admin

-
+ -
+ -
+
); diff --git a/apps/web/app/dashboard/bookmarks/layout.tsx b/apps/web/app/dashboard/bookmarks/layout.tsx index 8691e822..a2356d23 100644 --- a/apps/web/app/dashboard/bookmarks/layout.tsx +++ b/apps/web/app/dashboard/bookmarks/layout.tsx @@ -1,6 +1,7 @@ import React from "react"; import TopNav from "@/components/dashboard/bookmarks/TopNav"; import UploadDropzone from "@/components/dashboard/UploadDropzone"; +import { Separator } from "@/components/ui/separator"; export default function BookmarksLayout({ children, @@ -13,7 +14,7 @@ export default function BookmarksLayout({
-
+
{children}
diff --git a/apps/web/app/dashboard/layout.tsx b/apps/web/app/dashboard/layout.tsx index b2d3806b..68c0bfbd 100644 --- a/apps/web/app/dashboard/layout.tsx +++ b/apps/web/app/dashboard/layout.tsx @@ -15,7 +15,7 @@ export default async function Dashboard({
-
+
{serverConfig.demoMode && }
diff --git a/apps/web/app/dashboard/lists/page.tsx b/apps/web/app/dashboard/lists/page.tsx index a8c53eb6..d379b1bb 100644 --- a/apps/web/app/dashboard/lists/page.tsx +++ b/apps/web/app/dashboard/lists/page.tsx @@ -1,4 +1,5 @@ import AllListsView from "@/components/dashboard/lists/AllListsView"; +import { Separator } from "@/components/ui/separator"; import { api } from "@/server/api/client"; export default async function ListsPage() { @@ -7,7 +8,7 @@ export default async function ListsPage() { return (

📋 All Lists

-
+
); diff --git a/apps/web/app/dashboard/search/page.tsx b/apps/web/app/dashboard/search/page.tsx index 26b984a7..f09041f3 100644 --- a/apps/web/app/dashboard/search/page.tsx +++ b/apps/web/app/dashboard/search/page.tsx @@ -3,6 +3,7 @@ import { Suspense, useRef } from "react"; import BookmarksGrid from "@/components/dashboard/bookmarks/BookmarksGrid"; import { SearchInput } from "@/components/dashboard/search/SearchInput"; +import { Separator } from "@/components/ui/separator"; import { useBookmarkSearch } from "@/lib/hooks/bookmark-search"; import Loading from "../bookmarks/loading"; @@ -16,7 +17,7 @@ function SearchComp() { return (
-
+ {data ? : }
); diff --git a/apps/web/app/dashboard/settings/page.tsx b/apps/web/app/dashboard/settings/page.tsx index 71712eb9..f75bc298 100644 --- a/apps/web/app/dashboard/settings/page.tsx +++ b/apps/web/app/dashboard/settings/page.tsx @@ -3,7 +3,7 @@ import { ChangePassword } from "@/components/dashboard/settings/ChangePassword"; export default async function Settings() { return ( -
+

Settings

diff --git a/apps/web/app/dashboard/tags/page.tsx b/apps/web/app/dashboard/tags/page.tsx index dec11527..ec09e34e 100644 --- a/apps/web/app/dashboard/tags/page.tsx +++ b/apps/web/app/dashboard/tags/page.tsx @@ -7,7 +7,7 @@ import { getServerAuthSession } from "@/server/auth"; function TagPill({ name, count }: { name: string; count: number }) { return ( {name} {count} @@ -38,7 +38,7 @@ export default async function TagsPage() { return (
All Tags -
+
{tagPill}
); -- cgit v1.2.3-70-g09d2