PATH:
home
/
rwabteecom
/
.trash
/
Editing: 61a39a48690a1a323112d68f7ad7eb13.php
<!-- start top-header-section --> <div class="top-header px-sm-4 px-3 py-3"> <div class="row ps-lg-0 ps-5 align-items-center"> <div class=" col-lg-3 col-sm-5 col-7 ps-lg-0 ps-sm-4 ps-3"> <a href="<?php echo e(route('vcard.show', request()->alias)); ?>" class="fs-14 text-white home"><i class="fa-solid fa-house me-sm-3 me-2"></i></a> <span class="fs-14 text-white home"><?php echo $__env->yieldContent('page_name'); ?></span> </div> <div class=" col-lg-9 col-sm-7 col-5 text-end d-flex justify-content-end align-items-center"> <a href="<?php echo e(route('vcard.show.contact', request()->alias)); ?>" class="fs-14 text-white me-4 contact d-sm-inline-block d-none"><i class="far fa-envelope me-2"></i> <?php echo e(__('messages.vcard_11.get_in_touch')); ?></a> <?php if(!empty($userSetting['enable_affiliation'])): ?> <button type="button" class="sharedropbtn btn btn-primary d-xl-inline-block fs-14 ms-sm-4 copy-clipboard copy-referral-btn " data-id="<?php echo e($vcard->user->affiliate_code); ?>"> <a class="text-white text-decoration-none"> <i class="text-white fa-regular fa-copy me-2 vcard11-referral-icon"></i><span class="vcard11-referral-text"><?php echo e(__('messages.vcard.copy_referral_link')); ?></span> </a> </button> <?php endif; ?> <?php if($vcard->language_enable == \App\Models\Vcard::LANGUAGE_ENABLE): ?> <div class="dropdown"> <button class="dropbtn btn btn-primary d-xl-none d-block fs-14 ms-sm-4 ms-3"><i class="fa-solid fa-language "></i></button> <button class="dropbtn btn btn-primary d-xl-block d-none fs-14 ms-sm-4 ms-3 "><i class="fa-solid fa-language me-2"></i><?php echo e(__('messages.language')); ?><i class="ps-1 fa-solid fa-sort-down"></i> </button> <div id="myDropdown" class="dropdown-content text-start overflow-auto"> <?php $__currentLoopData = getAllLanguageWithFullData(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="<?php echo e(getLanguageIsoCode($vcard->default_language) == $language->iso_code ? 'active' : ''); ?>"> <a 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)): ?> <?php $__currentLoopData = \App\Models\User::FLAG; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $imageKey => $imageValue): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($imageKey == $language->iso_code): ?> <img src="<?php echo e(asset($imageValue)); ?>" class="me-1" /> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php if(count($language->media) != 0): ?> <img src="<?php echo e($language->image_url); ?>" class="me-1" /> <?php else: ?> <i class="fa fa-flag fa-xl me-3 text-danger" aria-hidden="true"></i> <?php endif; ?> <?php endif; ?> <?php echo e($language->name); ?> </a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> <?php $shareUrl = route('vcard.show', ['alias' => $vcard->url_alias]); ?> <div class="sharedropdown"> <button class="sharedropbtn btn btn-primary d-lg-inline-block d-none fs-14 ms-sm-4 "><i class="fas fa-share-alt me-2"></i><?php echo e(__('messages.vcard.share')); ?></button> <a class="sharedropbtn btn btn-primary share d-lg-none d-lg-inline-block ms-sm-4 ms-3 "> <i class="fas fa-share-alt text-white"></i> </a> <div id="shareDropdown" class="sharedropdown-content"> <div class="icons d-flex justify-content-between"> <div class="share-icon border-gradient border-gradient-orange d-flex justify-content-center align-items-center me-2"> <a href="http://www.facebook.com/sharer.php?u=<?php echo e($shareUrl); ?>" target="_blank"><i class="fa-brands fa-facebook-f d-flex justify-content-center align-items-center"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center"> <a href="http://twitter.com/share?url=<?php echo e($shareUrl); ?>&text=<?php echo e($vcard->name); ?>&hashtags=sharebuttons" target="_blank"><i class="fa-brands fa-twitter d-flex justify-content-center align-items-center"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center"> <a target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&url=<?php echo e($shareUrl); ?>"><i class="fa-brands fa-linkedin d-flex justify-content-center align-items-center" target="_blank"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center" target="_blank"> <a href="mailto:?Subject=&Body=<?php echo e($shareUrl); ?>"><i class="fa-brands fa-solid fa-envelope d-flex justify-content-center align-items-center" target="_blank"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center"> <a href="http://pinterest.com/pin/create/link/?url=<?php echo e($shareUrl); ?>" target="_blank"><i class="fa-brands fa-pinterest-p d-flex justify-content-center align-items-center"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center"> <a href="http://reddit.com/submit?url=<?php echo e($shareUrl); ?>&title=<?php echo e($vcard->name); ?>" target="_blank"><i class="fa-brands fa-reddit d-flex justify-content-center align-items-center"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center"> <a href="https://wa.me/?text=<?php echo e($shareUrl); ?>" target="_blank"><i class="fa-brands fa-whatsapp d-flex justify-content-center align-items-center"></i></a> </div> <div class="share-icon border-gradient border-gradient-orange me-2 d-flex justify-content-center align-items-center"> <a href="https://www.snapchat.com/scan?attachmentUrl=<?php echo e($shareUrl); ?>" target="_blank"><i class="fa-brands fa-snapchat d-flex justify-content-center align-items-center"></i></a> </div> </div> </div> </div> </div> </div> </div> <!-- end top-header-section --> <!-- start offcanvas-section --> <a class="bars d-inline-block" data-bs-toggle="offcanvas" href="#offcanvasExample" role="button" aria-controls="offcanvasExample" style="z-index: 99999;"> <i class="d-lg-none d-block fas fa-bars d-flex justify-content-center align-items-center text-white"></i> </a> <div class="offcanvas offcanvas-start position-absolute bg-transparent d-lg-none d-block" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel"> <div class="offcanvas-header"> <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close" style="z-index: 99999;"></button> </div> <div class="offcanvas-body main-header"> <header class="main-header p-4 d-lg-block"> <div class="hero-img position-relative br-15 mb-15"> <img src="<?php echo e($vcard->profile_url); ?>" class="w-100 custom-border-radius h-100 object-fit-cover br-15"> </div> <?php if(checkFeature('social_links') && isset($vcard->socialLink) && getSocialLink($vcard)): ?> <div class=" d-flex icon-box justify-content-center flex-wrap custom-social-position mt-3"> <?php $__currentLoopData = getSocialLink($vcard); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="social-icon mb-2 me-2 border-gradient border-gradient-orange d-flex justify-content-center align-items-center"> <?php echo $value; ?> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <div class="nav-tabs nav flex-column nav-pills mb-7 mt-3" id="v-pills-tab" role="tablist" aria-orientation="vertical"> <a href="<?php echo e(route('vcard.show', $vcard->url_alias)); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias) ? 'active' : ''); ?>"><i class="fa-solid fa-house me-3"></i><?php echo e(__('auth.home')); ?></a> <a href="<?php echo e(route('vcard.show.contact', $vcard->url_alias)); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/contact*') ? 'active' : ''); ?>"><i class="fa-solid fa-envelope me-3"></i><?php echo e(__('auth.contact')); ?></a> <?php if($vcard->blogs->count()): ?> <a href="<?php echo e(route('vcard.show.blog', $vcard->url_alias)); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/blog*') ? 'active' : ''); ?>"><i class="fa-solid fa-book me-3"></i><?php echo e(__('messages.feature.blog')); ?></a> <?php endif; ?> <?php if(!empty($vcard->privacy_policy)): ?> <a href="<?php echo e(route('vcard.show.privacy-policy', [$vcard->url_alias, $vcard->id])); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/privacy-policies*') ? 'active' : ''); ?>"> <i class="fa fa-shield me-2" aria-hidden="true"></i> <?php echo e(__('messages.vcard.privacy_policy')); ?></a> <?php endif; ?> <?php if(!empty($vcard->term_condition)): ?> <a href="<?php echo e(route('vcard.show.term-condition', [$vcard->url_alias, $vcard->id])); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/term-condition*') ? 'active' : ''); ?>"> <i class="fas fa-file-contract me-2"></i> <?php echo __('messages.vcard.term-condition'); ?></a> <?php endif; ?> </div> <div class="row justify-content-center mt-3"> <?php if($vcard->enable_contact): ?> <div class="col-12 text-center mb-2 w-10"> <a href="<?php echo e(route('add-contact', $vcard->id)); ?>" class="btn btn-primary fs-14"><i class="fa-solid fa-address-book"></i> <?php echo e(__('messages.setting.add_contact')); ?></a> </div> <?php endif; ?> </div> </header> </div> </div> <!-- end offcanvas-section --> <header class="main-header p-4 d-lg-block d-none"> <div class="hero-img position-relative br-15 mb-15"> <img src="<?php echo e($vcard->profile_url); ?>" class="w-100 custom-border-radius h-100 object-fit-cover br-15"> </div> <?php if(checkFeature('social_links') && isset($vcard->socialLink) && getSocialLink($vcard)): ?> <div class=" d-flex icon-box justify-content-center flex-wrap custom-social-position mt-3"> <?php $__currentLoopData = getSocialLink($vcard); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="social-icon mb-2 me-2 border-gradient border-gradient-orange d-flex justify-content-center align-items-center"> <?php echo $value; ?> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <div class="custom-link-section"> <?php if(checkFeature('custom-links')): ?> <div class="custom-link d-flex flex-wrap justify-content-center pt-4 w-100 "> <?php $__currentLoopData = custom_link($vcard->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($value->show_as_button == 1): ?> <a href="<?php echo e($value->link); ?>" <?php if($value->open_new_tab == 1): ?> target="_blank" <?php endif; ?> style=" <?php if($value->button_color): ?> background-color: <?php echo e($value->button_color); ?>; <?php endif; ?> <?php if($value->button_type === 'rounded'): ?> border-radius: 20px; <?php endif; ?> <?php if($value->button_type === 'square'): ?> border-radius: 0px; <?php endif; ?>" class="m-2 d-flex justify-content-center align-items-center text-decoration-none link-text text-white font-primary btn mt-2"> <?php echo e($value->link_name); ?> </a> <?php else: ?> <a href="<?php echo e($value->link); ?>" <?php if($value->open_new_tab == 1): ?> target="_blank" <?php endif; ?> class="m-2 d-flex justify-content-center align-items-center text-decoration-none link-text text-white mt-2"> <?php echo e($value->link_name); ?> </a> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> </div> <div class="nav-tabs nav flex-column nav-pills mb-7 mt-3" id="v-pills-tab" role="tablist" aria-orientation="vertical"> <a href="<?php echo e(route('vcard.show', $vcard->url_alias)); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias) ? 'active' : ''); ?>"><i class="fa-solid fa-house me-3"></i><?php echo e(__('auth.home')); ?></a> <a href="<?php echo e(route('vcard.show.contact', $vcard->url_alias)); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/contact*') ? 'active' : ''); ?>"><i class="fa-solid fa-envelope me-3"></i><?php echo e(__('auth.contact')); ?></a> <?php if($vcard->blogs->count()): ?> <a href="<?php echo e(route('vcard.show.blog', $vcard->url_alias)); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/blog*') ? 'active' : ''); ?>"><i class="fa-solid fa-book me-3"></i><?php echo e(__('messages.feature.blog')); ?></a> <?php endif; ?> <?php if(!empty($vcard->privacy_policy)): ?> <a href="<?php echo e(route('vcard.show.privacy-policy', [$vcard->url_alias, $vcard->id])); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/privacy-policies*') ? 'active' : ''); ?>"> <i class="fa fa-shield me-2" aria-hidden="true"></i> <?php echo e(__('messages.vcard.privacy_policy')); ?></a> <?php endif; ?> <?php if(!empty($vcard->term_condition)): ?> <a href="<?php echo e(route('vcard.show.term-condition', [$vcard->url_alias, $vcard->id])); ?>" class="nav-link <?php echo e(Request::is($vcard->url_alias . '/term-condition*') ? 'active' : ''); ?>"> <i class="fas fa-file-contract me-2"></i> <?php echo __('messages.vcard.term-condition'); ?></a> <?php endif; ?> </div> <div class="row justify-content-center mt-3"> <?php if($vcard->enable_contact): ?> <div class="col-12 text-center mb-2"> <?php if(!empty($userSetting['ask_details_before_downloading_contact']) && $userSetting['ask_details_before_downloading_contact'] == 1): ?> <a href="<?php echo e(Auth::check() ? route('add-contact', $vcard->id) : 'javascript:void(0);'); ?>" class="btn btn-primary fs-14 card11-add-btn <?php echo e(Auth::check() ? 'auth-contact-btn' : 'ask-contact-detail-form'); ?>" data-action="<?php echo e(Auth::check() ? route('contact-request.store') : 'show-modal'); ?>"> <i class="fas fa-download fa-address-book"></i> <?php echo e(__('messages.setting.add_contact')); ?></a> <?php else: ?> <a href="<?php echo e(route('add-contact', $vcard->id)); ?>" class="btn btn-primary fs-14 card11-add-btn"><i class="fa-solid fa-address-book"></i> <?php echo e(__('messages.setting.add_contact')); ?></a> <?php endif; ?> </div> <?php endif; ?> </div> <?php echo $__env->make('vcardTemplates.contact-request', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </header> <?php /**PATH /home/rwabteecom/public_html/resources/views/vcardTemplates/vcard11/header.blade.php ENDPATH**/ ?>
SAVE
CANCEL