Ship Novya PWA with backend for deployable production use.

Fix production TypeScript builds and add DEPLOY.md so the app can be hosted from this repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-09-03 21:01:52 +03:30
co-authored by Cursor
parent aa9236fb92
commit 370ac15471
193 changed files with 25997 additions and 1991 deletions
@@ -0,0 +1,16 @@
import { Lightbulb } from 'lucide-react';
import type { ExerciseBlockData } from '@/types/contentBlocks';
export function ExerciseBlock({ block }: { block: ExerciseBlockData }) {
return (
<div className="rounded-lg border border-amber-500/20 bg-amber-500/5 p-3">
<div className="mb-1 flex items-center gap-2">
<Lightbulb className="h-4 w-4 text-amber-600" />
<p className="text-sm font-medium text-amber-900 dark:text-amber-200">
{block.title ?? 'تمرین'}
</p>
</div>
<p className="text-sm text-amber-800 dark:text-amber-300">{block.prompt}</p>
</div>
);
}