@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):
|  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 --}}
|
Cloud LIMS for calibration & testing labs |
{{-- card --}}
@if ($banner)
|
@else
|
{{ $subject ?? 'News from QuantumCals' }}
|
@endif
|
@foreach ($blocks as $b)
@if ($b['type'] === 'p')
{!! $b['html'] !!}
@elseif ($b['type'] === 'h')
@elseif ($b['type'] === 'img')
@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 --}}
@if ($it['icon'] !== '')
{{ $it['icon'] }}
@endif
@if ($it['title'] !== '')
{{ $it['title'] }}
@endif
{!! $linkify(e($it['desc'])) !!}
|
@endforeach
@if (count($row) === 1) | | @endif
@endforeach
@elseif ($b['type'] === 'offer')
|
@if ($b['title'] !== '')
{{ $b['title'] }}
@endif
@foreach ($b['lines'] as $l)
{!! $linkify(e($l)) !!}
@endforeach
@if ($b['btn'])
@endif
|
@elseif ($b['type'] === 'btn')
@endif
@endforeach
|
{{-- contact strip --}}
|
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.
|
|