refresh theme-one starter blocks and layout

Redesign the master layout and content blocks with responsive styling, accessible navigation, and configurable CTA and quote sections. Add about-me, embedded-code, and FAQ blocks, and update the generated theme assets. Replace Alpine-based locale handling with vanilla JavaScript for locale flags and gallery lightboxes, and remove Alpine and DaisyUI dependencies.
This commit is contained in:
2026-11-25 17:50:12 +01:00
parent 102fbc9464
commit ed8ae3200b
48 changed files with 1166 additions and 2353 deletions
+13 -9
View File
@@ -1,10 +1,14 @@
<div class="row p-3 flex flex-nowrap gap-3">
<?php
$columnCount = intval($block->setting('column_count'));
for ($i = 0; $i < $columnCount; $i++):
?>
[block slug="col" id="col<?= $i ?>"]
<?php
endfor;
?>
<?php
$columnCount = max(1, min(4, intval($block->setting('column_count'))));
$columnClasses = [
1 => 'md:grid-cols-1',
2 => 'md:grid-cols-2',
3 => 'md:grid-cols-3',
4 => 'md:grid-cols-4',
];
?>
<div class="grid grid-cols-1 gap-6 <?= $columnClasses[$columnCount] ?>">
<?php for ($i = 0; $i < $columnCount; $i++): ?>
[block slug="col" id="col<?= $i ?>"]
<?php endfor; ?>
</div>