aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/archive
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-04-06 01:35:37 +0100
committerMohamedBassem <me@mbassem.com>2024-04-06 01:35:37 +0100
commit4cf990816817c009a512356373fdb1c4baa5e63b (patch)
tree87109f8b1ad0d2a02b0936745472dc4347167f18 /apps/web/app/dashboard/archive
parentbc6ee2edc9f16791b2bb64049c2c34ed83796d29 (diff)
downloadkarakeep-4cf990816817c009a512356373fdb1c4baa5e63b.tar.zst
ui(web): Add a tooltip explaining what archived means
Diffstat (limited to 'apps/web/app/dashboard/archive')
-rw-r--r--apps/web/app/dashboard/archive/page.tsx10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/web/app/dashboard/archive/page.tsx b/apps/web/app/dashboard/archive/page.tsx
index 3c3520cc..b2b4df4f 100644
--- a/apps/web/app/dashboard/archive/page.tsx
+++ b/apps/web/app/dashboard/archive/page.tsx
@@ -1,9 +1,17 @@
import Bookmarks from "@/components/dashboard/bookmarks/Bookmarks";
+import InfoTooltip from "@/components/ui/info-tooltip";
export default async function ArchivedBookmarkPage() {
return (
<Bookmarks
- header={<p className="text-2xl">🗄️ Archive</p>}
+ header={
+ <span className="flex gap-2">
+ <p className="text-2xl">🗄️ Archive</p>
+ <InfoTooltip size={17} className="my-auto" variant="explain">
+ <p>Archived bookmarks won&apos;t appear in the homepage</p>
+ </InfoTooltip>
+ </span>
+ }
query={{ archived: true }}
showDivider={true}
/>