feat(mobile): integrate QrTemplate8 Emerald & Gold Special with 8.jpeg background and live editing

This commit is contained in:
AyrisAI
2026-08-21 01:10:40 +03:00
parent b0645c0ac3
commit 102a9a744b
6 changed files with 387 additions and 0 deletions
@@ -6,8 +6,10 @@ import QrTemplate3 from "./QrTemplate3";
import QrTemplate4 from "./QrTemplate4";
import QrTemplate5 from "./QrTemplate5";
import QrTemplate6 from "./QrTemplate6";
import QrTemplate8 from "./QrTemplate8";
export interface TextItemConfig {
text: string;
fontSize?: number;
fontId?: string;
@@ -127,6 +129,7 @@ export const COMPONENT_TEMPLATES: Record<
"qr-4": QrTemplate4,
"qr-5": QrTemplate5,
"qr-6": QrTemplate6,
"qr-8": QrTemplate8,
};
// Her template'in aspect ratio'su (width/height)
@@ -137,4 +140,6 @@ export const TEMPLATE_ASPECT_RATIOS: Record<string, number> = {
"qr-4": 400 / 580, // 400x580 = zarif altın çerçeve
"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
};