diff --git a/frontend/src/routes/finish.tsx b/frontend/src/routes/finish.tsx index b26afa2..4f98e72 100644 --- a/frontend/src/routes/finish.tsx +++ b/frontend/src/routes/finish.tsx @@ -1,5 +1,6 @@ import { $api } from '@/api' import { useMe } from '@/api/me.ts' +import { FieldTemplate } from '@/components/mahjong/field-template.ts' import { getLevelById } from '@/components/mahjong/levels.ts' import { Button } from '@/components/ui/button.tsx' import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card.tsx' @@ -110,6 +111,38 @@ function RouteComponent() { {clicks_num} +
+ {(help_number_used === 0) && ( + + + + Без подсказок! + + + +
+ +
+
+
+ )} + + {(clicks_num === FieldTemplate.decode(level.template).tileCoords.length) && ( + + + + Минимум кликов! + + + +
+ +
+
+
+ )} +
+