From 97e6beaee48c5d34073e1516ea681ec53cf42b8d Mon Sep 17 00:00:00 2001 From: Benjamin Nussbaum Date: Thu, 18 Sep 2025 11:44:57 +0200 Subject: [PATCH] feat: prepare mashup --- .../views/trmnl-layouts/mashup.blade.php | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/resources/views/trmnl-layouts/mashup.blade.php b/resources/views/trmnl-layouts/mashup.blade.php index d2890fa..fd22cdb 100644 --- a/resources/views/trmnl-layouts/mashup.blade.php +++ b/resources/views/trmnl-layouts/mashup.blade.php @@ -1,8 +1,25 @@ -@props(['mashupLayout' => '1Tx1B']) +@props([ + 'mashupLayout' => '1Tx1B', + 'noBleed' => false, + 'darkMode' => false, + 'deviceVariant' => 'og', + 'deviceOrientation' => null, + 'colorDepth' => '1bit', + 'scaleLevel' => null, +]) - - - {{-- The slot is used to pass the content of the mashup --}} - {!! $slot !!} - - +@if(config('app.puppeteer_window_size_strategy') === 'v1') + + + {!! $slot !!} + + +@else + + + {!! $slot !!} + + +@endif