@php /* | Branded launch-email layout for marketing campaigns (email_style = designed). | The campaign step text is turned into blocks (separate blocks with a blank line): | ![alt](https://…/image.jpg) full-width image; as the FIRST block it becomes the top banner | ## Heading section heading | - 🤖 Title: description (lines) feature grid, 2 per row (emoji optional) | > Title dark offer box; next "> " lines are its text, | > text … "> [Label](https://…)" inside it is a coral button | [Label](https://…) button | anything else paragraph (URLs become links) | Email-safe: tables + inline styles, 600px, one {{-- inbox preview line --}}
{{ \Illuminate\Support\Str::limit(strip_tags(preg_replace('/\s+/', ' ', (string) $body)), 110) }}
{{-- logo row --}}
QuantumCals Cloud LIMS for calibration & testing labs
{{-- card --}} @if ($banner) @else @endif {{-- contact strip --}}
{{ $banner['alt'] }}
{{ $subject ?? 'News from QuantumCals' }}
@foreach ($blocks as $b) @if ($b['type'] === 'p')

{!! $b['html'] !!}

@elseif ($b['type'] === 'h')
{{ $b['text'] }}
@elseif ($b['type'] === 'img')
{{ $b['alt'] }}
@elseif ($b['type'] === 'grid') @foreach (array_chunk($b['items'], 2) as $ri => $row) @if ($ri > 0)@endif @foreach ($row as $ci => $it) @if ($ci === 1)@endif {{-- the card colour sits on the cell itself, so both cards in a row share the row height --}} @endforeach @if (count($row) === 1)@endif @endforeach
 
  @if ($it['icon'] !== '')
{{ $it['icon'] }}
@endif @if ($it['title'] !== '')
{{ $it['title'] }}
@endif
{!! $linkify(e($it['desc'])) !!}
 
@elseif ($b['type'] === 'offer')
@if ($b['title'] !== '')
{{ $b['title'] }}
@endif @foreach ($b['lines'] as $l)
{!! $linkify(e($l)) !!}
@endforeach @if ($b['btn'])
{{ $b['btn']['label'] }} →
@endif
@elseif ($b['type'] === 'btn')
{{ $b['label'] }} →
@endif @endforeach
Questions? Reply to this email, call +91 90545 43093 or WhatsApp us on the same number.
{{-- footer --}}
QuantumCals · Gandhinagar, Gujarat, India · quantumcals.com
You are receiving this because your lab is listed as a calibration or testing laboratory.
Unsubscribe · or reply "stop" and we won't email again.