Files
SnapOtter/apps/web/src/lib/icon-map.ts
T
SnapOtter 0309e0f680 chore: deploy to Cloudflare Pages and update branding
- Add Cloudflare Pages deployment for landing page (snapotter.com) and
  docs (docs.snapotter.com)
- Create deploy-landing.yml and update deploy-docs.yml workflows
- Update CI to ignore apps/landing/** paths
- Fix logo transparency (remove white background) across all apps
- Recreate social-preview.png with SnapOtter branding
- Update all docs URLs from GitHub Pages to docs.snapotter.com
- Update VitePress config: light theme default, fix llms.txt paths
- Add .vitepress/cache/ and .env.* to gitignore
2026-04-24 18:06:29 +08:00

105 lines
1.3 KiB
TypeScript

import type { LucideIcon } from "lucide-react";
import {
CheckCircle2,
Code,
Columns,
Columns2,
Copy,
Crop,
Eraser,
Eye,
EyeOff,
FileEdit,
FileImage,
FileOutput,
FileText,
FileType,
Film,
Focus,
Frame,
Globe,
Grid3x3,
Image,
Info,
Layers,
LayoutGrid,
Maximize2,
Minimize2,
Palette,
PenLine,
PenTool,
Pipette,
QrCode,
RotateCw,
ScanFace,
ScanLine,
ScanText,
ShieldOff,
SlidersHorizontal,
Sparkles,
Stamp,
Star,
TextCursorInput,
Type,
Undo2,
UserCheck,
Wand2,
Wrench,
Zap,
ZoomIn,
} from "lucide-react";
// Only the icons actually used by tool definitions in @snapotter/shared constants.
// Avoids `import * as icons from "lucide-react"` which pulls the entire 1000+ icon library.
export const ICON_MAP: Record<string, LucideIcon> = {
CheckCircle2,
Code,
Columns,
Columns2,
Copy,
Crop,
Eraser,
Eye,
EyeOff,
FileEdit,
FileImage,
FileOutput,
FileText,
FileType,
Film,
Focus,
Frame,
Globe,
Grid3x3,
Image,
Info,
LayoutGrid,
Layers,
Maximize2,
Minimize2,
Palette,
PenLine,
PenTool,
Pipette,
QrCode,
RotateCw,
ScanFace,
ScanLine,
ScanText,
ShieldOff,
SlidersHorizontal,
Sparkles,
Stamp,
Star,
TextCursorInput,
Type,
Undo2,
UserCheck,
Wand2,
Wrench,
Zap,
ZoomIn,
};