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,20 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => 'FAQ Item',
|
||||
'category' => 'Content',
|
||||
'hidden' => true,
|
||||
'icon' => 'ph ph-question',
|
||||
'settings' => [
|
||||
'question' => [
|
||||
'label' => 'Question',
|
||||
'type' => 'text',
|
||||
'value' => 'How does the process begin?'
|
||||
],
|
||||
'answer' => [
|
||||
'label' => 'Answer',
|
||||
'type' => 'text',
|
||||
'value' => 'We start with a conversation about your goals, audience, and the outcome you want to achieve.'
|
||||
],
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,9 @@
|
||||
<details class="group rounded-xl border border-slate-200 bg-white">
|
||||
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 px-5 py-4 font-semibold text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-700">
|
||||
<span><?= $block->setting('question') ?></span>
|
||||
<span class="text-xl font-normal text-slate-500 transition group-open:rotate-45" aria-hidden="true">+</span>
|
||||
</summary>
|
||||
<div class="px-5 pb-5 text-slate-600">
|
||||
<p class="leading-7"><?= $block->setting('answer') ?></p>
|
||||
</div>
|
||||
</details>
|
||||
Reference in New Issue
Block a user