"use client"; import { useAuth } from "@/components/auth/AuthContext"; import { ArrowLink } from "@/components/ArrowLink"; export function BookletLink({ slug }: { slug: string }) { const { isAuthenticated, isLoading } = useAuth(); if (isLoading) return null; if (!isAuthenticated) { return ( Log in to download ); } return ( Download PDF ); }