From 267db791290f4f539d7bda113992e3d1690b0e8b Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 27 Dec 2025 11:59:39 +0200
Subject: feat: support archiving as pdf (#2309)

* feat: support archiving as pdf

* add supprot for manually triggering pdf downloads

* fix submenu

* menu cleanup

* fix store pdf
---
 apps/web/lib/attachments.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'apps/web/lib/attachments.tsx')

diff --git a/apps/web/lib/attachments.tsx b/apps/web/lib/attachments.tsx
index 81b9f12d..5d7175ec 100644
--- a/apps/web/lib/attachments.tsx
+++ b/apps/web/lib/attachments.tsx
@@ -2,6 +2,7 @@ import {
   Archive,
   Camera,
   FileCode,
+  FileText,
   Image,
   Paperclip,
   SquareUser,
@@ -13,6 +14,7 @@ import { ZAssetType } from "@karakeep/shared/types/bookmarks";
 
 export const ASSET_TYPE_TO_ICON: Record<ZAssetType, React.ReactNode> = {
   screenshot: <Camera className="size-4" />,
+  pdf: <FileText className="size-4" />,
   assetScreenshot: <Camera className="size-4" />,
   fullPageArchive: <Archive className="size-4" />,
   precrawledArchive: <Archive className="size-4" />,
-- 
cgit v1.2.3-70-g09d2

