diff --git a/apps/web/src/components/QrStandGeneratorClient.tsx b/apps/web/src/components/QrStandGeneratorClient.tsx index 1b9c133..b943a10 100644 --- a/apps/web/src/components/QrStandGeneratorClient.tsx +++ b/apps/web/src/components/QrStandGeneratorClient.tsx @@ -205,97 +205,167 @@ export function QrStandGeneratorClient({ style={{ background: activePreset.bgGradient }} > {/* Tabletop Plaque Container */} -
- {/* Inner Line Accent */} + {activePreset.svgTemplateUrl ? (
+ ref={standRef} + className="w-[360px] sm:w-[380px] aspect-[672/900] rounded-[2.5rem] relative overflow-hidden shadow-[0_25px_60px_rgba(0,0,0,0.6)] border-2 border-white/10" + > + {/* SVG Template Vector Background Graphic */} + {activePreset.name} - {/* 01. Brand Badge */} -
-
+ {/* Dynamic Restaurant Logo & Name Header Overlay */} +
{logoUrl ? ( {restaurantName} ) : null} {restaurantName}
- {/* Scan Action Text */} -

- DİJİTAL MENÜ
- KAMERANIZLA TARATIN -

-
- - {/* 02. Centered Custom QR Code Box */} -
- -
- - {/* 03. Category Highlights Footer */} -
-

- Telefonunuzun kamerasını doğrultun -

- - {/* Category Text Stack */} -
- {displayCategories.map((cat, idx) => ( -
-
{cat}
- {idx < displayCategories.length - 1 && ( -
- )} -
- ))} + {/* Dynamic QR Code Canvas Overlay */} +
+
-
-
+ + {/* Dynamic Categories Overlay */} +
+

+ Telefonunuzun kamerasını doğrultun +

+
+ {displayCategories.map((cat, idx) => ( +
+
{cat}
+ {idx < displayCategories.length - 1 && ( +
+ )} +
+ ))} +
+
+
+ ) : ( +
+ {/* Inner Line Accent */} +
+ + {/* 01. Brand Badge */} +
+
+ {logoUrl ? ( + {restaurantName} + ) : null} + + {restaurantName} + +
+ + {/* Scan Action Text */} +

+ DİJİTAL MENÜ
+ KAMERANIZLA TARATIN +

+
+ + {/* 02. Centered Custom QR Code Box */} +
+ +
+ + {/* 03. Category Highlights Footer */} + +
+ )}