Add Clerk authentication and update auth flow for stories and API routes

This commit is contained in:
Riccardo Giorato
2025-12-25 14:17:32 +01:00
parent bbe8c8caf8
commit 8bc68eb102
10 changed files with 308 additions and 103 deletions
+2 -2
View File
@@ -24,12 +24,12 @@ export function ComicCanvas({ page }: ComicCanvasProps) {
<div className="relative z-10 w-full max-w-xl">
<div className="bg-white w-full p-3 shadow-2xl rounded-sm mx-auto" style={{ maxWidth: "512px" }}>
<div className="w-full border-4 border-black overflow-hidden relative aspect-[3/4]">
<div className="w-full border-4 border-black overflow-hidden relative aspect-3/4">
<div className="w-full h-full bg-neutral-900">
<img
src={page.image || "/placeholder.svg"}
alt={`Page ${page.id}`}
className="w-full h-full object-cover opacity-90 grayscale-[10%] contrast-110"
className="w-full h-full object-cover opacity-90 grayscale-10 contrast-110"
/>
</div>
<div className="scan-line opacity-30" />