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:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user