book update

This commit is contained in:
Fatih Kadir Akın
2026-02-06 12:00:53 +03:00
parent 6a983f05e1
commit 7efcc6b42d
2 changed files with 2 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ export default async function BookHomePage() {
</Link>
</Button>
<Button asChild variant="outline" size="lg">
<a href={`/book-pdf/book-${locale}-print.pdf`} download>
<a href={`https://raw.githubusercontent.com/f/prompts.chat/refs/heads/main/public/book-pdf/book-${locale}-print.pdf`} download>
<Download className="mr-2 h-4 w-4" />
{t("downloadPdf")}
</a>

View File

@@ -269,7 +269,7 @@ export function BookSidebar() {
{/* Download PDF button */}
<a
href={`/book-pdf/book-${locale}-print.pdf`}
href={`https://raw.githubusercontent.com/f/prompts.chat/refs/heads/main/public/book-pdf/book-${locale}-print.pdf`}
download
className="flex items-center justify-center gap-1.5 w-full mb-3 px-3 py-1.5 text-xs rounded-md border border-muted-foreground/20 bg-muted/50 text-muted-foreground hover:bg-muted hover:text-foreground transition-colors"
>