Simplify auth, remove abstraction layers, add shadcn components

- Delete lib/api/errors.ts and lib/api/auth-guard.ts, inline
  NextResponse.json() error responses directly in route handlers
- Replace non-standard amber CSS variables with primary/primary-foreground
- Regenerate shadcn UI components with biome-ignore comments
- Add CLAUDE.md for repository guidance
- Update dependencies and pnpm lockfile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 15:00:15 -05:00
co-authored by Claude Opus 4.6
parent b02ff1cdc1
commit 095b64ab42
85 changed files with 6125 additions and 296 deletions
+3 -3
View File
@@ -66,7 +66,7 @@ export default function SearchPage() {
{loading && (
<div className="flex items-center justify-center py-16">
<div className="h-6 w-6 animate-spin rounded-full border-2 border-amber border-t-transparent" />
<div className="h-6 w-6 animate-spin rounded-full border-2 border-primary border-t-transparent" />
</div>
)}
@@ -96,8 +96,8 @@ export default function SearchPage() {
{importing === r.tmdbId && (
<div className="absolute inset-0 flex items-center justify-center rounded-lg bg-background/80 backdrop-blur-sm">
<div className="flex items-center gap-2">
<div className="h-4 w-4 animate-spin rounded-full border-2 border-amber border-t-transparent" />
<span className="text-sm font-medium text-amber">
<div className="h-4 w-4 animate-spin rounded-full border-2 border-primary border-t-transparent" />
<span className="text-sm font-medium text-primary">
Importing
</span>
</div>