@extends('chat.layout') @section('title', isset($businessCard) ? "Edit Business Card" : "Create Business Card") @section('page-name', isset($businessCard) ? "Edit Business Card" : "Create New Business Card") @section('page-detail', isset($businessCard) ? "Update your professional digital business card" : "Create your professional digital business card") @section('body')
@csrf @if(isset($businessCard)) @method('PUT') @endif
Choose Your Template
@foreach($templates as $template)
template_id == $template['id']) || (!isset($businessCard) && $template['id'] == 1) ? 'checked' : '' }} style="display: none;"> Preview {{ $loop->index + 1 }}
{{ $template['name'] }}
{{ $template['description'] }}
@endforeach
Basic Information
@error('name')
{{ $message }}
@enderror
@error('title')
{{ $message }}
@enderror
@error('company_name')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('website')
{{ $message }}
@enderror
@error('location')
{{ $message }}
@enderror
Maximum 500 characters @error('bio')
{{ $message }}
@enderror
Photos & Images
JPG, PNG. Max size: 2MB @if(isset($businessCard) && $businessCard->profile_photo)
Current profile photo
@endif @error('profile_photo')
{{ $message }}
@enderror
JPG, PNG. Max size: 2MB @if(isset($businessCard) && $businessCard->company_logo)
Current company logo
@endif @error('company_logo')
{{ $message }}
@enderror
Social Media & Contact
@error('whatsapp')
{{ $message }}
@enderror
@error('linkedin')
{{ $message }}
@enderror
@error('facebook')
{{ $message }}
@enderror
@error('instagram')
{{ $message }}
@enderror
@error('twitter')
{{ $message }}
@enderror
Customization
@if(isset($businessCard))
Card Settings
is_active) ? 'checked' : '' }}> Inactive cards cannot be viewed publicly
is_public) ? 'checked' : '' }}> Public cards can be viewed by anyone with the link
@endif
Additional Information
@error('additional_notes')
{{ $message }}
@enderror
Back to Cards
@endsection @section('custom-scripts') @endsection