PATH:
home
/
rwabteecom
/
public_html
/
storage
/
framework
/
views
/
Editing: c820c4c2a7b8cfc48aab1ea5d9fd0b24.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <?php if(checkFeature('seo') && $whatsappStore->site_title && $whatsappStore->home_title): ?> <title><?php echo e($whatsappStore->home_title); ?> | <?php echo e($whatsappStore->site_title); ?></title> <?php else: ?> <title><?php echo e($whatsappStore->store_name); ?> | <?php echo e(getAppName()); ?></title> <?php endif; ?> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="icon" href="<?php echo e($whatsappStore->logo_url); ?>" type="image/png"> <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>"> <?php if(checkFeature('seo')): ?> <?php if($whatsappStore->meta_description): ?> <meta name="description" content="<?php echo e($whatsappStore->meta_description); ?>"> <?php endif; ?> <?php if($whatsappStore->meta_keyword): ?> <meta name="keywords" content="<?php echo e($whatsappStore->meta_keyword); ?>"> <?php endif; ?> <?php else: ?> <meta name="description" content="<?php echo e($whatsappStore->description); ?>"> <meta name="keywords" content=""> <?php endif; ?> <!-- PWA --> <meta name="theme-color" content="#6777ef" /> <link rel="apple-touch-icon" href="<?php echo e(asset('logo.png')); ?>"> <link rel="manifest" href="<?php echo e(asset('pwa/1.json')); ?>"> <link href="<?php echo e(asset('front/css/bootstrap.min.css')); ?>" rel="stylesheet"> <link rel="stylesheet" href="<?php echo e(mix('assets/css/whatsappp_store/home_decor.css')); ?>" /> <link rel="stylesheet" href="<?php echo e(asset('assets/css/third-party.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/plugins.css')); ?>"> <link rel="stylesheet" href="<?php echo e(mix('assets/css/whatsappp_store/custom.css')); ?>" /> <link rel="stylesheet" href="<?php echo e(asset('assets/css/slider/css/slick.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('assets/css/slider/css/slick-theme.min.css')); ?>"> <?php if($whatsappStore->font_family || $whatsappStore->font_size || $whatsappStore->custom_css): ?> <style> <?php if($whatsappStore->font_family): ?> body { font-family: <?php echo e($whatsappStore->font_family); ?>; } <?php endif; ?> <?php if($whatsappStore->font_size): ?> div > h4 { font-size: <?php echo e($whatsappStore->font_size); ?>px !important; } <?php endif; ?> <?php if($whatsappStore->custom_css): ?> <?php echo $whatsappStore->custom_css; ?> <?php endif; ?> </style> <?php endif; ?> </head> <body> <div class="main-content mx-auto w-100 d-flex flex-column justify-content-between position-relative <?php echo e(getLocalLanguage() == 'ar' ? 'rtl' : ''); ?>" <?php if(getLanguage($whatsappStore->default_language) == 'Arabic'): ?> dir="rtl" <?php endif; ?>> <div class="position-relative"> <div class="position-sticky top-0 nav-top w-100 px-50 z-3"> <nav class="navbar navbar-expand-lg w-100" id="header"> <div class="container-fluid p-0"> <div class="d-flex align-items-center gap-2 gap-sm-3"> <a class="navbar-brand p-1 m-0" href="<?php echo e(route('whatsapp.store.show', $whatsappStore->url_alias)); ?>"> <img src="<?php echo e($whatsappStore->logo_url); ?>" alt="logo" class="w-100 h-100 object-fit-cover" /> </a> <span class="fw-bold fs-18 text-black"><a href="<?php echo e(route('whatsapp.store.show', $whatsappStore->url_alias)); ?>" style="color: #212529 "><?php echo e($whatsappStore->store_name); ?></a></span> </div> <div class="d-flex align-items-center gap-lg-4 gap-sm-3 gap-2"> <div class="language-dropdown position-relative"> <button class="dropdown-btn position-relative text-black" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false"> <?php if(array_key_exists(getLocalLanguage() ?? 'en', \App\Models\User::FLAG)): ?> <img class="flag" alt="flag" src="<?php echo e(asset(\App\Models\User::FLAG[getLocalLanguage() ?? 'en'])); ?>" loading="lazy" /> <?php endif; ?> <?php echo e(strtoupper(getLocalLanguage() ?? 'EN')); ?> </button> <svg xmlns="http://www.w3.org/2000/svg" class="dropdown-arrow" width="30" height="30" viewBox="0 0 30 30" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M6.61626 10.3665C6.38192 10.6009 6.25027 10.9188 6.25027 11.2502C6.25027 11.5817 6.38192 11.8996 6.61626 12.134L14.1163 19.634C14.3507 19.8683 14.6686 20 15 20C15.3315 20 15.6493 19.8683 15.8838 19.634L23.3838 12.134C23.6115 11.8982 23.7375 11.5825 23.7346 11.2547C23.7318 10.927 23.6003 10.6135 23.3685 10.3817C23.1368 10.1499 22.8233 10.0185 22.4955 10.0156C22.1678 10.0128 21.852 10.1388 21.6163 10.3665L15 16.9827L8.38376 10.3665C8.14935 10.1321 7.83146 10.0005 7.50001 10.0005C7.16855 10.0005 6.85067 10.1321 6.61626 10.3665Z" fill="black"/> </svg> <ul class="dropdown-menu w-100" aria-labelledby="dropdownMenuButton"> <?php $__currentLoopData = getAllLanguageWithFullData(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li> <a class="dropdown-item" href="javascript:void(0)" id="languageName" data-name="<?php echo e($language->iso_code); ?>"> <?php if(array_key_exists($language->iso_code, \App\Models\User::FLAG)): ?> <img class="flag" alt="flag" src="<?php echo e(asset(\App\Models\User::FLAG[$language->iso_code])); ?>" loading="lazy" /> <?php else: ?> <?php if(count($language->media) != 0): ?> <img src="<?php echo e($language->image_url); ?>" class="me-1" loading="lazy" /> <?php else: ?> <i class="fa fa-flag fa-xl me-3 text-danger" aria-hidden="true"></i> <?php endif; ?> <?php endif; ?> <?php echo e(strtoupper($language->iso_code)); ?> </a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <button class="add-to-cart-btn d-flex align-items-center justify-content-center position-relative" id="addToCartViewBtn"> <svg xmlns="http://www.w3.org/2000/svg" width="41" height="40" viewBox="0 0 41 40" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M27.1301 11.6667C27.1301 11.9982 26.9984 12.3161 26.764 12.5505C26.5296 12.785 26.2116 12.9167 25.8801 12.9167C25.5486 12.9167 25.2306 12.785 24.9962 12.5505C24.7618 12.3161 24.6301 11.9982 24.6301 11.6667V9.16666C24.6301 7.95109 24.1472 6.7853 23.2877 5.92576C22.4281 5.06621 21.2623 4.58333 20.0468 4.58333C18.8312 4.58333 17.6654 5.06621 16.8059 5.92576C15.9463 6.7853 15.4634 7.95109 15.4634 9.16666V11.6667C15.4634 11.9982 15.3317 12.3161 15.0973 12.5505C14.8629 12.785 14.545 12.9167 14.2134 12.9167C13.8819 12.9167 13.564 12.785 13.3296 12.5505C13.0951 12.3161 12.9634 11.9982 12.9634 11.6667V9.16666C12.9634 7.28804 13.7097 5.48637 15.0381 4.15799C16.3665 2.82961 18.1682 2.08333 20.0468 2.08333C21.9254 2.08333 23.7271 2.82961 25.0554 4.15799C26.3838 5.48637 27.1301 7.28804 27.1301 9.16666V11.6667Z" fill="white"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.2835 13.9167L33.6168 33.9167C33.6503 34.4289 33.5784 34.9425 33.4056 35.4258C33.2328 35.9092 32.9627 36.352 32.6121 36.7268C32.2614 37.1017 31.8376 37.4007 31.3669 37.6053C30.8961 37.81 30.3884 37.9159 29.8751 37.9167H10.2185C9.70502 37.9164 9.19708 37.8108 8.72611 37.6063C8.25514 37.4018 7.83116 37.1028 7.48041 36.7279C7.12966 36.3529 6.85961 35.9099 6.68698 35.4264C6.51435 34.9428 6.44281 34.429 6.4768 33.9167L7.81013 13.9167C7.87355 12.9675 8.29533 12.0779 8.99005 11.428C9.68477 10.7782 10.6005 10.4167 11.5518 10.4167H28.5418C29.4931 10.4167 30.4088 10.7782 31.1035 11.428C31.7983 12.0779 32.22 12.9675 32.2835 13.9167ZM24.1901 17.7967C23.8175 18.5799 23.2305 19.2415 22.4971 19.7047C21.7638 20.1679 20.9142 20.4138 20.0468 20.4138C19.1794 20.4138 18.3298 20.1679 17.5965 19.7047C16.8631 19.2415 16.2761 18.5799 15.9035 17.7967C15.833 17.6484 15.734 17.5154 15.6121 17.4054C15.4903 17.2954 15.3479 17.2104 15.1933 17.1554C15.0386 17.1004 14.8746 17.0764 14.7106 17.0847C14.5466 17.0931 14.3859 17.1337 14.2376 17.2042C14.0893 17.2746 13.9564 17.3736 13.8464 17.4955C13.7363 17.6173 13.6514 17.7597 13.5964 17.9144C13.5414 18.069 13.5173 18.2331 13.5257 18.397C13.5341 18.561 13.5747 18.7217 13.6451 18.87C14.2192 20.0821 15.1255 21.1063 16.2588 21.8235C17.3921 22.5407 18.7056 22.9214 20.0468 22.9214C21.3879 22.9214 22.7015 22.5407 23.8348 21.8235C24.9681 21.1063 25.8744 20.0821 26.4485 18.87C26.5189 18.7217 26.5595 18.561 26.5679 18.397C26.5762 18.2331 26.5522 18.069 26.4972 17.9144C26.4422 17.7597 26.3573 17.6173 26.2472 17.4955C26.1372 17.3736 26.0042 17.2746 25.856 17.2042C25.7077 17.1337 25.547 17.0931 25.383 17.0847C25.219 17.0764 25.055 17.1004 24.9003 17.1554C24.7456 17.2104 24.6033 17.2954 24.4815 17.4054C24.3596 17.5154 24.2606 17.6484 24.1901 17.7967Z" fill="white"/> </svg> <div class="position-absolute product-count-badge count-product badge rounded-pill bg-danger"> </div> </button> </div> </div> </nav> </div> <div class="hero-img position-relative"> <img src="<?php echo e($whatsappStore->cover_url); ?>" alt="banner-img" class="h-100 w-100 object-fit-cover hero-img-vector"/> </div> <div class="category-section px-50 position-relative"> <div class="text-center section-heading"> <svg width="0" height="0"> <defs> <linearGradient id="textGradient" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" stop-color="#19496A"/> <stop offset="86.28%" stop-color="rgba(25, 73, 106, 0)"/> </linearGradient> </defs> </svg> <div class="gradient-text-wrapper"> <svg viewBox="0 0 1000 120" class="gradient-stroke-text"> <text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"> <?php echo e(__('messages.whatsapp_stores.category')); ?> </text> </svg> </div> <h4 class="fw-semibold mb-0"><?php echo e(__('messages.whatsapp_stores_templates.choos_your_category')); ?></h4> </div> <div class="category-slider"> <?php $__empty_1 = true; $__currentLoopData = $whatsappStore->categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <div> <a href="<?php echo e(route('whatsapp.store.products', ['alias' => $whatsappStore->url_alias, 'category' => $category->id])); ?>" style="color: #212529;"> <div class="category-box"> <div class="category-img mx-auto"> <img src="<?php echo e($category->image_url); ?>" alt="category-img" class="h-100 w-100 object-fit-cover" loading="lazy" /> </div> <p class="fw-bold fs-24 text-black text-center"><?php echo e($category->name); ?></p> </div> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="text-center mt-3 mb-5"> <h3 class="fs-20 fw-6 mb-0"><?php echo e(__('messages.whatsapp_stores_templates.category_not_found')); ?></h3> </div> <?php endif; ?> </div> </div> <div class="product-section px-50 position-relative pt-50"> <div class="text-center section-heading"> <svg width="0" height="0"> <defs> <linearGradient id="textGradient" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" stop-color="#19496A"/> <stop offset="86.28%" stop-color="rgba(25, 73, 106, 0)"/> </linearGradient> </defs> </svg> <div class="gradient-text-wrapper"> <svg viewBox="0 0 1000 120" class="gradient-stroke-text"> <text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"> <?php echo e(__('messages.vcard.product')); ?> </text> </svg> </div> <h4 class="fw-semibold mb-0"><?php echo e(__('messages.whatsapp_stores_templates.choose_your_product')); ?></h4> </div> <div class="row row-gap-30px"> <?php $__empty_1 = true; $__currentLoopData = $whatsappStore->products()->latest()->take(8)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <div class="col-xl-3 col-lg-4 col-sm-6 mb-28 product-col"> <div class="product-card d-flex flex-column h-100"> <a href="<?php echo e(route('whatsapp.store.product.details', [$whatsappStore->url_alias, $product->id])); ?>" class="d-flex text-black justify-content-between flex-column"> <div class="product-img w-100 h-100"> <img src="<?php echo e($product->images_url[0] ?? ''); ?>" alt="product-img" class="w-100 h-100 object-fit-cover product-image" loading="lazy" /> </div> </a> <div class="product-details h-100" style="flex-grow:1;"> <div class="d-flex flex-column h-100 justify-content-between"> <a href="<?php echo e(route('whatsapp.store.product.details', [$whatsappStore->url_alias, $product->id])); ?>" class="d-flex text-black justify-content-between flex-column"> <div> <h6 class="fs-18 fw-6 mb-1 product-name"><?php echo e($product->name); ?></h6> <p class="fs-16 fw-5 mb-2 text-gray lh-sm product-category"> <?php echo e($product->category->name); ?> </p> </div> </a> <div class="d-flex gap-2 align-items-center justify-content-between"> <a href="<?php echo e(route('whatsapp.store.product.details', [$whatsappStore->url_alias, $product->id])); ?>" class="d-flex text-black justify-content-between flex-column"> <p class="fs-20 fw-semibold mb-0"> <span class="currency_icon"><?php echo e($product->currency->currency_icon); ?></span> <span class="selling_price"><?php echo e($product->selling_price); ?></span> <?php if($product->net_price): ?> <del class="fs-14 fw-7 text-gray-200"><?php echo e($product->currency->currency_icon); ?> <?php echo e($product->net_price); ?></del> <?php endif; ?> </p> <input type="hidden" class="product-category" value="<?php echo e($product->category->name); ?>" /> <input type="hidden" value="<?php echo e($product->available_stock); ?>" class="available-stock" /> </a> <button data-id="<?php echo e($product->id); ?>" class="<?php if($product->available_stock == 0): ?> disabled <?php endif; ?> btn btn-primary addToCartBtn"> <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"> <path d="M13.5264 20.4167C13.5262 21.5727 13.8127 22.7108 14.3605 23.7288C14.9082 24.7469 15.6999 25.6132 16.6647 26.25H4.50225C4.08859 26.2504 3.67958 26.1628 3.30243 25.9929C2.92529 25.8229 2.58865 25.5746 2.31493 25.2645C2.04121 24.9544 1.83667 24.5895 1.71494 24.1941C1.59321 23.7988 1.55706 23.3821 1.60892 22.9717L3.35892 8.97167C3.44705 8.26638 3.78969 7.61755 4.32247 7.14708C4.85524 6.6766 5.54148 6.41687 6.25225 6.41667H7.69308V9.91667C7.69308 10.0714 7.75454 10.2197 7.86394 10.3291C7.97333 10.4385 8.12171 10.5 8.27642 10.5C8.43112 10.5 8.5795 10.4385 8.68889 10.3291C8.79829 10.2197 8.85975 10.0714 8.85975 9.91667V6.41667H15.8597V9.91667C15.8597 10.0714 15.9212 10.2197 16.0306 10.3291C16.14 10.4385 16.2884 10.5 16.4431 10.5C16.5978 10.5 16.7462 10.4385 16.8556 10.3291C16.965 10.2197 17.0264 10.0714 17.0264 9.91667V6.41667H18.4672C19.178 6.41687 19.8643 6.6766 20.397 7.14708C20.9298 7.61755 21.2724 8.26638 21.3606 8.97167L21.9322 13.5567C20.9149 13.3503 19.8645 13.3723 18.8567 13.6212C17.8489 13.8702 16.909 14.3397 16.1048 14.9961C15.3006 15.6524 14.6521 16.4791 14.2062 17.4165C13.7603 18.3539 13.5281 19.3786 13.5264 20.4167ZM17.0264 6.41667H15.8597C15.8597 5.48841 15.491 4.59817 14.8346 3.94179C14.1782 3.28542 13.288 2.91667 12.3597 2.91667C11.4315 2.91667 10.5413 3.28542 9.88487 3.94179C9.2285 4.59817 8.85975 5.48841 8.85975 6.41667H7.69308C7.69308 5.17899 8.18475 3.992 9.05992 3.11683C9.93509 2.24167 11.1221 1.75 12.3597 1.75C13.5974 1.75 14.7844 2.24167 15.6596 3.11683C16.5347 3.992 17.0264 5.17899 17.0264 6.41667Z" fill="currentColor"/> <path d="M20.5264 14.5834C19.3727 14.5834 18.2449 14.9255 17.2856 15.5665C16.3263 16.2074 15.5786 17.1185 15.1371 18.1844C14.6956 19.2503 14.5801 20.4232 14.8052 21.5547C15.0303 22.6863 15.5858 23.7257 16.4016 24.5415C17.2174 25.3573 18.2568 25.9129 19.3884 26.138C20.5199 26.363 21.6928 26.2475 22.7587 25.806C23.8246 25.3645 24.7357 24.6168 25.3767 23.6575C26.0176 22.6982 26.3598 21.5704 26.3598 20.4167C26.3581 18.8701 25.7429 17.3874 24.6493 16.2938C23.5557 15.2002 22.073 14.5851 20.5264 14.5834ZM22.2764 21H21.1098V22.1667C21.1098 22.3214 21.0483 22.4698 20.9389 22.5792C20.8295 22.6886 20.6811 22.75 20.5264 22.75C20.3717 22.75 20.2233 22.6886 20.1139 22.5792C20.0045 22.4698 19.9431 22.3214 19.9431 22.1667V21H18.7764C18.6217 21 18.4733 20.9386 18.3639 20.8292C18.2545 20.7198 18.1931 20.5714 18.1931 20.4167C18.1931 20.262 18.2545 20.1136 18.3639 20.0042C18.4733 19.8948 18.6217 19.8334 18.7764 19.8334H19.9431V18.6667C19.9431 18.512 20.0045 18.3636 20.1139 18.2542C20.2233 18.1448 20.3717 18.0834 20.5264 18.0834C20.6811 18.0834 20.8295 18.1448 20.9389 18.2542C21.0483 18.3636 21.1098 18.512 21.1098 18.6667V19.8334H22.2764C22.4311 19.8334 22.5795 19.8948 22.6889 20.0042C22.7983 20.1136 22.8598 20.262 22.8598 20.4167C22.8598 20.5714 22.7983 20.7198 22.6889 20.8292C22.5795 20.9386 22.4311 21 22.2764 21Z" fill="currentColor"/> </svg> </button> </div> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="text-center mb-5 mt-3"> <h3 class="fs-20 fw-6 mb-0 text-break"> <?php echo e(__('messages.whatsapp_stores_templates.product_not_found')); ?> </h3> </div> <?php endif; ?> </div> </div> <?php if($whatsappStore->products()->count() > 0): ?> <div class="view-more position-relative text-center z-1"> <a href="<?php echo e(route('whatsapp.store.products', $whatsappStore->url_alias)); ?>" class="view-more-button fs-24 fw-medium position-relative d-inline-flex align-items-center gap-2"> <?php echo e(__('messages.whatsapp_stores_templates.view_more')); ?> <svg xmlns="http://www.w3.org/2000/svg" width="26" height="22" viewBox="0 0 26 22" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M13.7199 0.595177C13.8546 0.423237 14.0185 0.282523 14.2022 0.181083C14.3858 0.0796421 14.5857 0.0194658 14.7903 0.00399616C14.9948 -0.0114735 15.2002 0.0180676 15.3945 0.0909283C15.5888 0.163789 15.7683 0.27854 15.9227 0.428618L25.4659 9.68188C25.6336 9.84473 25.7681 10.0456 25.8602 10.2711C25.9523 10.4965 26 10.7413 26 10.9889C26 11.2365 25.9523 11.4813 25.8602 11.7067C25.7681 11.9322 25.6336 12.1331 25.4659 12.2959L15.9227 21.5492C15.7691 21.7044 15.5892 21.8239 15.3936 21.9008C15.198 21.9777 14.9905 22.0105 14.7834 21.9971C14.5762 21.9837 14.3735 21.9245 14.1872 21.823C14.0009 21.7215 13.8346 21.5796 13.6982 21.4057C13.5618 21.2318 13.4579 21.0294 13.3927 20.8104C13.3275 20.5913 13.3022 20.3599 13.3184 20.1299C13.3345 19.8998 13.3918 19.6756 13.4868 19.4705C13.5819 19.2653 13.7127 19.0833 13.8718 18.9351L20.2783 12.7239H1.56003C1.14628 12.7239 0.749484 12.5411 0.456922 12.2157C0.164359 11.8903 0 11.449 0 10.9889C0 10.5288 0.164359 10.0875 0.456922 9.76208C0.749484 9.4367 1.14628 9.25391 1.56003 9.25391H20.2762L13.8697 3.04266C13.5581 2.74014 13.3672 2.31237 13.3392 1.8534C13.3111 1.39444 13.448 0.94186 13.7199 0.595177Z" fill="currentColor"/> </svg> </a> </div> <?php endif; ?> <?php if($whatsappStore->news_letter_popup): ?> <div class="modal fade" id="newsLetterModal" tabindex="-1" aria-labelledby="newsLetterModalLabel" aria-hidden="true"> <div class="modal-dialog news-modal modal-dialog-centered"> <div class="modal-content animate-bottom" id="newsLetter-content"> <div class="newsmodal-header d-flex justify-content-end"> <button type="button" class="btn-close close-modal" data-bs-dismiss="modal" aria-label="Close" id="closeNewsLetterModal"> </button> </div> <div class="modal-body"> <h3 class="content newsmodal-title text-start mb-2"><?php echo e(__('messages.vcard.subscribe_newslatter')); ?></h3> <p class="modal-desc text-start"><?php echo e(__('messages.vcard.update_directly')); ?></p> <form action="" method="post" id="newsLetterForm"> <?php echo csrf_field(); ?> <input type="hidden" name="whatsapp_store_id" value="<?php echo e($whatsappStore->id ?? ''); ?>"> <div class="mb-3 d-flex gap-1 justify-content-center align-items-center email-input"> <div class="w-100"> <input type="email" class="email-input form-control border-dark text-dark w-100" placeholder="<?php echo e(__('messages.form.enter_your_email')); ?>" name="email" id="emailSubscription" aria-label="Email" aria-describedby="button-addon2"> </div> <button class="btn ms-1" type="submit" id="email-send"><?php echo e(__('messages.subscribe')); ?></button> </div> </form> </div> </div> </div> </div> <?php endif; ?> <?php if(isset($enable_pwa) && $enable_pwa == 1 && !isiOSDevice()): ?> <div class="mt-0"> <div class="pwa-support d-flex align-items-center justify-content-center"> <div> <h1 class="text-start pwa-heading"><?php echo e(__('messages.pwa.add_to_home_screen')); ?></h1> <p class="text-start pwa-text text-dark fs-16 fw-5"><?php echo e(__('messages.pwa.pwa_description')); ?> </p> <div class="text-end d-flex"> <button id="installPwaBtn" class="pwa-install-button w-50 mb-1 btn"><?php echo e(__('messages.pwa.install')); ?> </button> <button class= "pwa-cancel-button w-50 pwa-close btn btn-secondary mb-1 <?php echo e(getLocalLanguage() == 'ar' ? 'me-2' : 'ms-2'); ?>"><?php echo e(__('messages.common.cancel')); ?></button> </div> </div> </div> </div> <?php endif; ?> <?php echo $__env->make('whatsapp_stores.templates.order_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('whatsapp_stores.templates.home_decor.cart_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="position-absolute start-0 bottom-0 body-vector"> <img src="<?php echo e(asset('assets/img/whatsapp_stores/home_decor/body-vector.png')); ?>" alt="images" class="w-100 object-fit-contain" /> </div> </div> <footer class="position-relative"> <div class="text-center fw-5 fs-16 fw-medium text-white"> <div class="mb-2"> <i class="fas fa-map-marker-alt"></i> <?php echo e($whatsappStore->address); ?> </div> <p class="mb-0 fw-medium text-white fs-16 text-center lh-sm"> © Copyright <?php echo e(now()->year); ?> <?php echo e(env('APP_NAME')); ?>. All Rights Reserved. </p> </div> </footer> </div> </body> <script> <?php if($whatsappStore->custom_js): ?> <?php echo $whatsappStore->custom_js; ?> <?php endif; ?> </script> <script> let vcardAlias = "<?php echo e($whatsappStore->url_alias); ?>"; let languageChange = "<?php echo e(url('language')); ?>"; let lang = "<?php echo e(getLocalLanguage() ?? 'en'); ?>"; let isRtl = "<?php echo e(getLocalLanguage() == 'ar' ? 'true' : 'false'); ?>" === "true"; </script> <script src="<?php echo e(asset('messages.js?$mixID')); ?>"></script> <script src="<?php echo e(asset('assets/js/intl-tel-input/build/intlTelInput.js')); ?>"></script> <script src="<?php echo e(asset('assets/js/vcard11/jquery.min.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('front/js/bootstrap.bundle.min.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('assets/js/front-third-party-vcard11.js')); ?>"></script> <script src="<?php echo e(mix('assets/js/custom/helpers.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('assets/js/whatsapp_store_template.js')); ?>"></script> <script src="<?php echo e(asset('assets/js/slider/js/slick.min.js')); ?>" type="text/javascript"></script> <script> $(document).ready(function () { $(".category-slider").slick({ infinite: true, rtl: isRtl, slidesToShow: 4, slidesToScroll: 1, autoplay: true, prevArrow: '<button class="slide-arrow prev-arrow"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="20" viewBox="0 0 10 20" fill="CurrentColor"><path d="M8.01843 19.124L0.253456 10.7018C0.16129 10.6016 0.0961597 10.493 0.0580645 10.376C0.0193548 10.259 0 10.1337 0 10C0 9.86631 0.0193548 9.74098 0.0580645 9.62401C0.0961597 9.50704 0.16129 9.39842 0.253456 9.29815L8.01843 0.850923C8.23349 0.616974 8.50231 0.5 8.82489 0.5C9.14747 0.5 9.42396 0.62533 9.65438 0.875989C9.88479 1.12665 10 1.41909 10 1.7533C10 2.08751 9.88479 2.37995 9.65438 2.63061L2.88018 10L9.65438 17.3694C9.86943 17.6033 9.97696 17.8914 9.97696 18.2337C9.97696 18.5766 9.86175 18.8734 9.63134 19.124C9.40092 19.3747 9.1321 19.5 8.82489 19.5C8.51767 19.5 8.24885 19.3747 8.01843 19.124Z"/></svg></button>', nextArrow: '<button class="slide-arrow next-arrow"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="20" viewBox="0 0 10 20" fill="CurrentColor"><path d="M1.98157 19.124L9.74654 10.7018C9.83871 10.6016 9.90384 10.493 9.94194 10.376C9.98065 10.259 10 10.1337 10 10C10 9.86631 9.98065 9.74098 9.94194 9.62401C9.90384 9.50704 9.83871 9.39842 9.74654 9.29815L1.98157 0.850923C1.76651 0.616974 1.49769 0.5 1.17511 0.5C0.852534 0.5 0.576037 0.62533 0.345622 0.875989C0.115208 1.12665 0 1.41909 0 1.7533C0 2.08751 0.115208 2.37995 0.345622 2.63061L7.11982 10L0.345622 17.3694C0.130569 17.6033 0.0230408 17.8914 0.0230408 18.2337C0.0230408 18.5766 0.138248 18.8734 0.368663 19.124C0.599078 19.3747 0.867895 19.5 1.17511 19.5C1.48233 19.5 1.75115 19.3747 1.98157 19.124Z"/></svg></button>', responsive: [ { breakpoint: 991, settings: { slidesToShow: 3, }, }, { breakpoint: 767, settings: { slidesToShow: 2, }, }, { breakpoint: 575, settings: { slidesToShow: 1, dots: true, arrows: false, }, }, ], }); }); document.querySelectorAll(".dropdown-item").forEach((item) => { item.addEventListener("click", function () { const selectedLang = item.getAttribute("data-lang"); const selectedFlag = item.querySelector("img").src; const selectedText = item.textContent.trim(); document.getElementById( "dropdownMenuButton" ).innerHTML = `<img src="${selectedFlag}" class="flag" alt="flag"> ${selectedText}`; }); }); </script> <script> $(document).ready(function() { $('.custom-select-box').click(function() { $(this).next('.custom-select-options').toggle(); }); $('.custom-select-option').click(function() { var selectedValue = $(this).text(); $('.select-text').text(selectedValue); $('.custom-select-options').hide(); }); $(document).click(function(event) { if (!$(event.target).closest('.custom-select-box').length) { $('.custom-select-options').hide(); } }); }); </script> <script> let deferredPrompt = null; window.addEventListener("beforeinstallprompt", (event) => { /* event.preventDefault(); */ deferredPrompt = event; document.getElementById("installPwaBtn").style.display = "block"; }); document.getElementById("installPwaBtn").addEventListener("click", async () => { if (deferredPrompt) { deferredPrompt.prompt(); await deferredPrompt.userChoice; deferredPrompt = null; } }); </script> <script> let defaultCountryCodeValue = "<?php echo e(getSuperAdminSettingValue('default_country_code')); ?>" </script> <script> const getCookieUrl = "<?php echo e(route('whatsapp.store.getCookie')); ?>"; const emailSubscriptionUrl = "<?php echo e(route('whatsapp.store.emailSubscriprion-store', ['alias' => $whatsappStore->url_alias])); ?>"; </script> </html> <?php /**PATH /home/rwabteecom/public_html/resources/views/whatsapp_stores/templates/home_decor/index.blade.php ENDPATH**/ ?>
SAVE
CANCEL