@php $logoPath = $firm->logo_url; $logoSrc = null; if ($logoPath) { $logoSrc = preg_match('/^https?:\/\//i', $logoPath) ? $logoPath : asset('storage/' . ltrim($logoPath, '/')); } @endphp
Logo
@if ($logoSrc)
{{ $firm->name }} logo
@else

No logo uploaded yet.

@endif
Primary color
@if ($firm->all_colors && isset($firm->all_colors['primary']))
{{ $firm->all_colors['primary'] }}
@else

@endif
Secondary color
@if ($firm->all_colors && isset($firm->all_colors['secondary']))
{{ $firm->all_colors['secondary'] }}
@else

@endif
Background color
@if ($firm->all_colors && isset($firm->all_colors['background']))
{{ $firm->all_colors['background'] }}
@else

@endif
TextPrimary color
@if ($firm->all_colors && isset($firm->all_colors['textPrimary']))
{{ $firm->all_colors['textPrimary'] }}
@else

@endif
Accent color
@if ($firm->all_colors && isset($firm->all_colors['accent']))
{{ $firm->all_colors['accent'] }}
@else

@endif
Link color
@if ($firm->all_colors && isset($firm->all_colors['link']))
{{ $firm->all_colors['link'] }}
@else

@endif
Font family
@if ($firm->primary_font_family)

{{ $firm->primary_font_family }}

@else

@endif
{{-- @if ($firm->branding_extracted_at || $firm->branding_extraction_failed_at)
@if ($firm->branding_extracted_at)
Last extracted: {{ \Carbon\Carbon::parse($firm->branding_extracted_at)->format('d M, Y H:i') }}
@endif @if ($firm->branding_extraction_failed_at)
Last extraction failed: {{ \Carbon\Carbon::parse($firm->branding_extraction_failed_at)->format('d M, Y H:i') }} @if ($firm->branding_extraction_error) — {{ $firm->branding_extraction_error }} @endif
@endif
@endif --}}