<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
<meta charset="utf-8">
<?php if(checkFeature('seo')): ?>
<?php if($vcard->meta_description): ?>
<meta name="description" content="<?php echo e($vcard->meta_description); ?>">
<?php endif; ?>
<?php if($vcard->meta_keyword): ?>
<meta name="keywords" content="<?php echo e($vcard->meta_keyword); ?>">
<?php endif; ?>
<?php endif; ?>
<meta property="og:image" content="<?php echo e($vcard->cover_url); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php if(checkFeature('seo') && $vcard->site_title && $vcard->home_title): ?>
<title><?php echo e($vcard->home_title); ?> | <?php echo e($vcard->site_title); ?></title>
<?php else: ?>
<title><?php echo e($vcard->name); ?> | <?php echo e(getAppName()); ?></title>
<?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')); ?>">
<!-- Favicon -->
<link rel="icon" href="<?php echo e(getFaviconUrl()); ?>" type="image/png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="<?php echo e(asset('front/css/bootstrap.min.css')); ?>" rel="stylesheet">
<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')); ?>">
<link href="<?php echo e(asset('assets/css/layout.css')); ?>" rel="stylesheet" type="text/css">
<link href="<?php echo e(asset('assets/css/custom.css')); ?>" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/third-party.css')); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('css/plugins.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('assets/css/custom-vcard.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('assets/css/lightbox.css')); ?>">
<?php echo $__env->yieldContent('page_css'); ?>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet">
<?php if(checkFeature('custom-fonts') && $vcard->font_family): ?>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=<?php echo e($vcard->font_family); ?>">
<?php endif; ?>
<?php if($vcard->font_family || $vcard->font_size || $vcard->custom_css): ?>
<style>
<?php if(checkFeature('custom-fonts')): ?>
<?php if($vcard->font_family): ?>
body {
font-family: <?php echo e($vcard->font_family); ?>;
}
<?php endif; ?>
<?php if($vcard->font_size): ?>
div>h4 {
font-size: <?php echo e($vcard->font_size); ?>px !important;
}
<?php endif; ?>
<?php endif; ?>
<?php if(isset(checkFeature('advanced')->custom_css)): ?>
<?php echo $vcard->custom_css; ?>
<?php endif; ?>
</style>
<?php endif; ?>
</head>
<body id="body">
<?php if(checkFeature('password')): ?>
<?php echo $__env->make('vcards.password', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<div class="main-bg" <?php if(getLanguage($vcard->default_language) == 'Arabic'): ?> dir="rtl" <?php endif; ?>>
<?php if($vcard->whatsapp_share): ?>
<div class="vcard11-icon-container icon-search-container mb-3" data-ic-class="search-trigger">
<div class="wp-btn">
<i class="fab text-light fa-whatsapp fa-2x" id="wpIcon"></i>
</div>
<input type="number" class="search-input" id="wpNumber" data-ic-class="search-input"
placeholder="<?php echo e(__('messages.setting.wp_number')); ?>">
<div class="share-wp-btn-div">
<a href="javascript:void(0)"
class="vcard11-wp-btn d-flex justify-content-center align-items-center text-light rounded-0 text-decoration-none py-1 rounded-pill justify-content share-wp-btn">
<i class="fa-solid fa-paper-plane"></i> </a>
</div>
</div>
<?php endif; ?>
<?php if((isset($managesection) && $managesection['banner']) || empty($managesection)): ?>
<?php if(isset($banners->title)): ?>
<div class="mb-10 mt-0">
<div class="support-banner d-flex align-items-center justify-content-center">
<button type="button" class="text-start banner-close"><i
class="fa-solid fa-xmark"></i></button>
<div class="">
<h1 class="text-center support_heading"><?php echo e($banners->title); ?></h1>
<p class="text-center support_text text-dark"><?php echo e($banners->description); ?> </p>
<div class="text-center">
<a href="<?php echo e($banners->url); ?>" class="act-now text-light" target="_blank"
data-turbo="false"><?php echo e($banners->banner_button); ?> </a>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<?php echo $__env->make('vcardTemplates.vcard11.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->yieldContent('content'); ?>
</div>
<?php echo $__env->make('vcardTemplates.template.templates', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- end tab-content-section -->
<script src="https://js.stripe.com/v3/"></script>
<script src="<?php echo e(asset('assets/js/vcard11/jquery.min.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('assets/js/front-third-party-vcard11.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('front/js/bootstrap.bundle.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/slider/js/slick.min.js')); ?>" type="text/javascript"></script>
<?php if(checkFeature('seo') && $vcard->google_analytics): ?>
<?php echo $vcard->google_analytics; ?>
<?php endif; ?>
<?php if(isset(checkFeature('advanced')->custom_js) && $vcard->custom_js): ?>
<?php echo $vcard->custom_js; ?>
<?php endif; ?>
<?php echo $__env->yieldContent('page_js'); ?>
<script>
let password = "<?php echo e(isset(checkFeature('advanced')->password) && !empty($vcard->password)); ?>";
let passwordUrl = "<?php echo e(route('vcard.password', $vcard->id)); ?>"
$('.counter').each(function() {
var $this = $(this),
countTo = $this.attr('data-countto')
countDuration = parseInt($this.attr('data-duration'))
$({
counter: $this.text()
}).animate({
counter: countTo,
}, {
duration: countDuration,
easing: 'linear',
step: function() {
$this.text(Math.floor(this.counter))
},
complete: function() {
$this.text(this.counter)
},
}, )
})
</script>
<script>
var os = navigator.platform;
if (os == 'MacIntel' || 'ios' || 'macos') {
$("#videobtn").removeClass('d-none');
}
listenClick('#videobtn', function() {
window.location.href = "facetime://";
});
</script>
<script>
$('.slick-slider').slick({
slidesToShow: 2,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
dots: true,
arrows: true,
prevArrow: '<button class="slide-arrow prev-arrow"><i class="fa-solid fa-chevron-left"></i></button>',
nextArrow: '<button class="slide-arrow next-arrow"><i class="fa-solid fa-chevron-right"></i></button>',
responsive: [{
breakpoint: 767,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
},
}, ],
<?php if(getLanguage($vcard->default_language) == 'Arabic'): ?>
rtl: true,
<?php endif; ?>
})
$('.services-slider-view').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 2,
autoplay: false,
slidesToScroll: 1,
centerMode: false,
arrows: true,
prevArrow: '<button class="slide-arrow prev-arrow"><i class="fa-solid fa-chevron-left"></i></button>',
nextArrow: '<button class="slide-arrow next-arrow"><i class="fa-solid fa-chevron-right"></i></button>',
adaptiveHeight: true,
responsive: [{
breakpoint: 800,
settings: {
centerMode: true,
centerPadding: '60px',
slidesToShow: 1,
},
},
{
breakpoint: 400,
settings: {
centerMode: false,
slidesToShow: 1,
}
}
],
<?php if(getLanguage($vcard->default_language) == 'Arabic'): ?>
rtl: true,
<?php endif; ?>
});
$('.iframe-slider').slick({
slidesToShow: 2,
slidesToScroll: 1,
autoplay: false,
autoplaySpeed: 2000,
dots: true,
arrows: true,
prevArrow: '<button class="slide-arrow prev-arrow"><i class="fa-solid fa-chevron-left"></i></button>',
nextArrow: '<button class="slide-arrow next-arrow"><i class="fa-solid fa-chevron-right"></i></button>',
responsive: [{
breakpoint: 767,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
},
}, ],
<?php if(getLanguage($vcard->default_language) == 'Arabic'): ?>
rtl: true,
<?php endif; ?>
})
</script>
<script>
function openbars() {
document.getElementById('v-pills-tab').style.display = 'none'
document.getElementById('pages-menu').style.display = 'block'
}
function closebars() {
document.getElementById('v-pills-tab').style.display = 'block'
document.getElementById('pages-menu').style.display = 'none'
}
function openbars1() {
document.getElementById('v-pills-tab1').style.display = 'none'
document.getElementById('pages-menu1').style.display = 'block'
}
function closebars1() {
document.getElementById('v-pills-tab1').style.display = 'block'
document.getElementById('pages-menu1').style.display = 'none'
}
</script>
<script>
$(document).ready(function() {
$('.dropbtn').click(function() {
$('.dropdown-content').toggleClass('show')
})
// $(document).click(function (event) {
// if (!$(event.target).is('.dropbtn')) {
// $('.dropdown-content').removeClass('show')
// }
// })
})
</script>
<script>
$(document).ready(function() {
$('.sharedropdown .sharedropbtn').click(function() {
$('.sharedropdown-content').toggleClass('activetab')
})
})
</script>
<?php
$setting = \App\Models\UserSetting::where('user_id', $vcard->tenant->user->id)
->where('key', 'stripe_key')
->first();
?>
<script>
<?php if(isset(checkFeature('advanced')->custom_js) && $vcard->custom_js): ?>
<?php echo $vcard->custom_js; ?>
<?php endif; ?>
</script>
<script>
let stripe = '';
<?php if(!empty($setting) && !empty($setting->value)): ?>
stripe = Stripe('<?php echo e($setting->value); ?>');
<?php endif; ?>
let isEdit = false
let enquiryUrl = "<?php echo e(route('enquiry.store', ['vcard' => $vcard->id, 'alias' => $vcard->url_alias])); ?>"
let appointmentUrl =
"<?php echo e(route('appointment.store.vcard11', ['vcard' => $vcard->id, 'alias' => $vcard->url_alias])); ?>"
let paypalUrl = "<?php echo e(route('paypal.init')); ?>"
let slotUrl = "<?php echo e(route('appointment-session-time', $vcard->url_alias)); ?>"
let appUrl = "<?php echo e(config('app.url')); ?>"
let vcardId = <?php echo e($vcard->id); ?>;
let vcardAlias = "<?php echo e($vcard->url_alias); ?>"
let languageChange = "<?php echo e(url('language')); ?>"
let lang = "<?php echo e(checkLanguageSession($vcard->url_alias)); ?>"
let userDateFormate = "<?php echo e(getSuperAdminSettingValue('datetime_method') ?? 1); ?>"
let template = 'vcard11'
let passwordSet = "<?php echo e(Session::get('password_')); ?>"
<?php if(!empty($userSetting['stripe_key'])): ?>
stripe = Stripe('<?php echo e($userSetting['stripe_key']); ?>');
<?php endif; ?>
</script>
<script>
const qrCodeEleven = document.getElementById("qr-code-eleven");
const svg = qrCodeEleven.querySelector("svg");
const blob = new Blob([svg.outerHTML], {
type: 'image/svg+xml'
})
const url = URL.createObjectURL(blob)
const image = document.createElement('img')
image.src = url
image.addEventListener('load', () => {
const canvas = document.createElement('canvas')
canvas.width = canvas.height = <?php echo e($vcard->qr_code_download_size); ?>;
const context = canvas.getContext('2d')
context.drawImage(image, 0, 0, canvas.width, canvas.height);
const link = document.getElementById('qr-code-btn')
link.href = canvas.toDataURL()
URL.revokeObjectURL(url)
})
</script>
<?php echo app('Tightenco\Ziggy\BladeRouteGenerator')->generate(); ?>
<script src="<?php echo e(asset('messages.js?$mixID')); ?>"></script>
<script src="<?php echo e(mix('assets/js/custom/helpers.js')); ?>"></script>
<script src="<?php echo e(mix('assets/js/custom/custom.js')); ?>"></script>
<script src="<?php echo e(mix('assets/js/vcards/vcard-view.js')); ?>"></script>
<script src="<?php echo e(mix('assets/js/lightbox.js')); ?>"></script>
<script>
let options = {
'key': "<?php echo e(getSelectedPaymentGateway('razorpay_key')); ?>",
'amount': 0, // 100 refers to 1
'currency': 'INR',
'name': "<?php echo e(getAppName()); ?>",
'order_id': '',
'description': '',
'image': '<?php echo e(asset(getAppLogo())); ?>', // logo here
'callback_url': "<?php echo e(route('product.razorpay.success')); ?>",
'prefill': {
'email': '', // recipient email here
'name': '', // recipient name here
'contact': '', // recipient phone here
},
'readonly': {
'name': 'true',
'email': 'true',
'contact': 'true',
},
'theme': {
'color': '#0ea6e9',
},
'modal': {
'ondismiss': function() {
$('#paymentGatewayModal').modal('hide');
displayErrorMessage(Lang.get('js.payment_not_complete'));
setTimeout(function() {
Turbo.visit(window.location.href);
}, 1000);
},
},
};
</script>
<script src="<?php echo e(asset('/sw.js')); ?>"></script>
<script>
if ("serviceWorker" in navigator) {
// Register a service worker hosted at the root of the
// site using the default scope.
navigator.serviceWorker.register("/sw.js").then(
(registration) => {
console.log("Service worker registration succeeded:", registration);
},
(error) => {
console.error(`Service worker registration failed: ${error}`);
},
);
} else {
console.error("Service workers are not supported.");
}
</script>
</body>
</html>
<?php /**PATH /home/cardxfeb/public_html/resources/views/vcardTemplates/vcard11/app.blade.php ENDPATH**/ ?> |