blob: 5c25d8cc70f2a31b38319e633387194b427596b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import Bookmarks from "@/components/dashboard/bookmarks/Bookmarks";
import GlobalActions from "@/components/dashboard/GlobalActions";
import InfoTooltip from "@/components/ui/info-tooltip";
function header() {
return (
<div className="flex items-center justify-between">
<div className="flex gap-2">
<p className="text-2xl">🗄️ Archive</p>
<InfoTooltip size={17} className="my-auto" variant="explain">
<p>Archived bookmarks won't appear in the homepage</p>
</InfoTooltip>
</div>
<div>
<GlobalActions />
</div>
</div>
);
}
export default async function ArchivedBookmarkPage() {
return (
<Bookmarks
header={header()}
query={{ archived: true }}
showDivider={true}
showEditorCard={true}
/>
);
}
|