mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
feat(catalog): add support recipes monorepos
This commit is contained in:
parent
e9037ef5d7
commit
0c5041a8ca
5 changed files with 268 additions and 11 deletions
|
|
@ -346,7 +346,7 @@ class Plugin extends Model
|
|||
if ($size === 'full') {
|
||||
return view('trmnl-layouts.single', [
|
||||
'colorDepth' => $device?->deviceModel?->color_depth,
|
||||
'deviceVariant' => $device?->deviceModel?->name ?? 'og',
|
||||
'deviceVariant' => $device?->deviceModel->name ?? 'og',
|
||||
'scaleLevel' => $device?->deviceModel?->scale_level,
|
||||
'slot' => $renderedContent,
|
||||
])->render();
|
||||
|
|
@ -354,7 +354,7 @@ class Plugin extends Model
|
|||
return view('trmnl-layouts.mashup', [
|
||||
'mashupLayout' => $this->getPreviewMashupLayoutForSize($size),
|
||||
'colorDepth' => $device?->deviceModel?->color_depth,
|
||||
'deviceVariant' => $device?->deviceModel?->name ?? 'og',
|
||||
'deviceVariant' => $device?->deviceModel->name ?? 'og',
|
||||
'scaleLevel' => $device?->deviceModel?->scale_level,
|
||||
'slot' => $renderedContent,
|
||||
])->render();
|
||||
|
|
@ -368,7 +368,7 @@ class Plugin extends Model
|
|||
if ($standalone) {
|
||||
return view('trmnl-layouts.single', [
|
||||
'colorDepth' => $device?->deviceModel?->color_depth,
|
||||
'deviceVariant' => $device?->deviceModel?->name ?? 'og',
|
||||
'deviceVariant' => $device?->deviceModel->name ?? 'og',
|
||||
'scaleLevel' => $device?->deviceModel?->scale_level,
|
||||
'slot' => view($this->render_markup_view, [
|
||||
'size' => $size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue