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:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'Testimonial',
|
||||
'category' => 'Content',
|
||||
'hidden' => true,
|
||||
'icon' => 'ph ph-quotes',
|
||||
'settings' => [
|
||||
'quote' => [
|
||||
'label' => 'Quote',
|
||||
'type' => 'text',
|
||||
'value' => 'The process was clear from the start, and the final result made a real difference to our business.'
|
||||
],
|
||||
'name' => [
|
||||
'label' => 'Name',
|
||||
'type' => 'text',
|
||||
'value' => 'Taylor Morgan'
|
||||
],
|
||||
'role' => [
|
||||
'label' => 'Role or attribution',
|
||||
'type' => 'text',
|
||||
'value' => 'Business owner'
|
||||
],
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<figure class="flex h-full flex-col rounded-xl border border-slate-200 bg-white p-6 shadow-sm">
|
||||
<blockquote class="flex-1 text-base leading-7 text-slate-700">“<?= $block->setting('quote') ?>”</blockquote>
|
||||
<figcaption class="mt-6 border-t border-slate-100 pt-4">
|
||||
<p class="font-semibold text-slate-900"><?= $block->setting('name') ?></p>
|
||||
<p class="mt-1 text-sm text-slate-500"><?= $block->setting('role') ?></p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
Reference in New Issue
Block a user