[FA-misc] Switches to using DTOs, updates frontend with details and reader page, updates novel import to be an upsert

This commit is contained in:
gamer147
2025-12-08 18:30:00 -05:00
parent c9d93a4e55
commit 81e4e88ad4
48 changed files with 3298 additions and 329 deletions

View File

@@ -0,0 +1,22 @@
---
// Internal route used by middleware for unauthenticated users
Astro.response.status = 404;
import GatedLayout from '../layouts/GatedLayout.astro';
import { Card, CardContent, CardHeader, CardTitle } from '../lib/components/ui/card';
---
<GatedLayout title="Not Found - FictionArchive">
<div class="flex min-h-[50vh] items-center justify-center">
<Card class="mx-auto max-w-md text-center shadow-md shadow-primary/10">
<CardHeader>
<CardTitle class="text-4xl font-bold">404</CardTitle>
</CardHeader>
<CardContent class="space-y-4">
<p class="text-muted-foreground">
The page you're looking for doesn't exist or has been moved.
</p>
</CardContent>
</Card>
</div>
</GatedLayout>