feat(mobile): integrate QrTemplate9 Vintage Table Menu with 9.jpeg background and live editing

This commit is contained in:
AyrisAI
2026-08-21 01:19:04 +03:00
parent 102a9a744b
commit d00b45ce72
6 changed files with 528 additions and 1 deletions
@@ -7,9 +7,9 @@ import QrTemplate4 from "./QrTemplate4";
import QrTemplate5 from "./QrTemplate5";
import QrTemplate6 from "./QrTemplate6";
import QrTemplate8 from "./QrTemplate8";
import QrTemplate9 from "./QrTemplate9";
export interface TextItemConfig {
text: string;
fontSize?: number;
fontId?: string;
@@ -130,6 +130,7 @@ export const COMPONENT_TEMPLATES: Record<
"qr-5": QrTemplate5,
"qr-6": QrTemplate6,
"qr-8": QrTemplate8,
"qr-9": QrTemplate9,
};
// Her template'in aspect ratio'su (width/height)
@@ -141,5 +142,7 @@ export const TEMPLATE_ASPECT_RATIOS: Record<string, number> = {
"qr-5": 380 / 500, // 380x500 = PNG arka planlı modern kart
"qr-6": 400 / 580, // 400x580 = taş & ızgara vintage stant
"qr-8": 1, // 1024x1024 = 1:1 Emerald Gold Özel Tasarım
"qr-9": 1, // 1024x1024 = 1:1 Vintage Table Menu Özel Tasarım
};