Build a full-width CMS canvas and restore featured home products

This commit is contained in:
2026-11-21 21:33:15 +09:00
parent 00d7d6f9ad
commit e7c7a8928e
16 changed files with 590 additions and 122 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use App\Content\View;
$e = View::escape(...);
$canvas ??= false;
?>
<section class="section section-<?= $e($section['style']) ?>" id="<?= $e($section['key']) ?>" aria-labelledby="heading-<?= $e($section['key']) ?>" <?= $moment ? 'data-moment="iris-opens"' : '' ?><?= $canvas ? ' data-studio-section="' . $e($section['version']) . '"' : '' ?>>
<section class="section section-<?= $e($section['style']) ?>" id="<?= $e($section['key']) ?>" aria-labelledby="heading-<?= $e($section['key']) ?>" <?= $moment ? 'data-moment="iris-opens"' : '' ?><?= $canvas ? ' data-studio-section="' . $e($section['version']) . '" data-studio-source="' . $e(base64_encode($section['body'])) . '"' : '' ?>>
<div class="wrap">
<div class="section-heading">
<h2 id="heading-<?= $e($section['key']) ?>"<?= $canvas ? ' data-studio-part="title"' : '' ?>><?= $e($section['title']) ?></h2>