import { Plus } from 'lucide-react'; import { useLocation } from 'wouter'; import { CreateBookmarkModal } from '@/components/CreateBookmarkModal'; import { Button } from '@/components/ui/button'; const BOOKMARKABLE_PATHS = [ '/forms/', '/tasks/', '/dashboard', '/kanban/', '/reports/', '/home', ]; export function AddBookmarkFAB() { const [location] = useLocation(); const isBookmarkable = BOOKMARKABLE_PATHS.some((path) => location === path || location.startsWith(path)); if (!isBookmarkable) return null; const currentUrl = typeof window !== 'undefined' ? window.location.pathname + window.location.search : location; return (