lifetracker/apps/web/app/dashboard/archive/page.tsx

25 lines
620 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Bookmarks from "@/components/dashboard/bookmarks/Bookmarks";
import InfoTooltip from "@/components/ui/info-tooltip";
function header() {
return (
<div 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>
</div>
);
}
export default async function ArchivedBookmarkPage() {
return (
<Bookmarks
header={header()}
query={{ archived: true }}
showDivider={true}
showEditorCard={true}
/>
);
}