@extends('digitalmenu::layouts.app') @section('title', 'QR Management | ' . $shop->name) @section('styles') @endsection @section('content') @php $menuUrl = url('/digital-menu/shop/' . $shop->short_code); $isFood = $shopType === 'food_and_drink'; $typeLabel = $isFood ? 'Food & Drink' : 'Retail'; $typeIcon = $isFood ? 'restaurant_menu' : 'storefront'; $typeColor = $isFood ? 'text-tertiary' : 'text-secondary'; $typeBg = $isFood ? 'bg-tertiary-fixed' : 'bg-secondary-fixed'; // Pre-encode the logo server-side so the canvas can draw it without CORS $logoDataUri = null; if (!empty($shop->logo)) { try { $logoBytes = @file_get_contents(config('global.s3_path') . 'shop/' . $shop->logo); if ($logoBytes !== false) { $mime = (new \finfo(FILEINFO_MIME_TYPE))->buffer($logoBytes) ?: 'image/jpeg'; $logoDataUri = 'data:' . $mime . ';base64,' . base64_encode($logoBytes); } } catch (\Exception $e) {} } @endphp
Scan this code to access the digital menu for {{ $shop->name }}.
Digital Menu
Point your camera at the code to view the menu.
© {{ date('Y') }} VEMBERS - Digital Menu (https://vembers.com)
Print this QR code and place it on your tables or counter. Customers scan it with their phone camera to instantly view your {{ strtolower($typeLabel) }} menu — no app required.