@extends('user.layouts.index', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) {{-- Custom CSS --}} @section('css') {{-- Cropper --}} @endsection @php $themeIds = $themes->pluck('theme_id')->toArray(); // Extract only theme_id values into an array $defaultImage = ''; $themeId = ''; if (in_array($business_card->theme_id, $themeIds)) { // Find the theme object to get its thumbnail $theme = $themes->firstWhere('theme_id', $business_card->theme_id); $defaultImage = asset('img/vCards/' . $theme->theme_thumbnail); $themeId = $business_card->theme_id; } else { $defaultImage = asset('img/vCards/personal-gray.png'); $themeId = '588969111021'; } @endphp @section('content')
{{-- Failed --}} @if (Session::has('failed')) @endif {{-- Success --}} @if (Session::has('success')) @endif

{{ __('Update Business Card') }}

{{-- Nav links --}} @include('user.pages.edit-cards.includes.nav-link', [ 'link' => 'basic', ])
@csrf

{{ __('Basic Details') }}

{{-- Themes --}} @if ($business_card->type != 'custom') @endif {{-- Card details --}}
{{ __('Cover type') }}
{{ __('Autoplay video will be muted due to browser policies') }}
{{ __('https://www.youtube.com/watch?v=') }}
{{ __('Cover') }}
{{-- Cover Preview --}}
{{-- Logo Preview --}}
{{ __('Please verify your business personalized link.') }}
@if ($plan_details->personalized_link)
{{ URL::to('/') }} title, 'Duplicate') ? '' : 'disabled' }}>
{{ __('vCard link') }} : {{ url($business_card->card_url) }}
@endif
@include('user.includes.footer')
{{-- Choose a theme modal --}} {{-- Available theme for Cover image --}} {{-- Custom JS --}} @push('custom-js') {{-- Tom Select --}} {{-- Cropper --}} {{-- Convert to slug --}} {{-- Profile image cropping --}} {{-- Profile cover image cropping --}} @endpush @endsection