[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:
22
fictionarchive-web-astro/src/pages/gated-404.astro
Normal file
22
fictionarchive-web-astro/src/pages/gated-404.astro
Normal 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>
|
||||
Reference in New Issue
Block a user