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:
@@ -3,13 +3,29 @@
|
||||
return [
|
||||
'title' => 'CTA',
|
||||
'category' => 'General',
|
||||
'icon' => 'fa fa-hand-peace-o',
|
||||
'icon' => 'ph ph-megaphone',
|
||||
'settings' => [
|
||||
'person' => [
|
||||
'label'=> 'Height',
|
||||
'heading' => [
|
||||
'label' => 'Heading',
|
||||
'type' => 'text',
|
||||
'placeholder' =>'auto',
|
||||
'value' => 'Micheal Gough'
|
||||
]
|
||||
'placeholder' => 'Add a short call to action',
|
||||
'value' => 'Ready to take the next step?'
|
||||
],
|
||||
'message' => [
|
||||
'label' => 'Supporting text',
|
||||
'type' => 'text',
|
||||
'placeholder' => 'Explain what visitors can do next',
|
||||
'value' => 'Get in touch to talk about how we can help.'
|
||||
],
|
||||
'button_label' => [
|
||||
'label' => 'Button label',
|
||||
'type' => 'text',
|
||||
'value' => 'Contact us'
|
||||
],
|
||||
'button_url' => [
|
||||
'label' => 'Button URL',
|
||||
'type' => 'text',
|
||||
'value' => '/contact'
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<section class="bg-gray-50 dark:bg-gray-800">
|
||||
<div class="max-w-screen-xl px-4 py-8 mx-auto lg:py-16 lg:px-6">
|
||||
<div class="max-w-screen-sm mx-auto text-center">
|
||||
<h2 class="mb-4 text-3xl font-extrabold leading-tight tracking-tight text-gray-900 dark:text-white">Start your free trial today</h2>
|
||||
<p class="mb-6 font-light text-gray-500 dark:text-gray-400 md:text-lg">Try Landwind Platform for 30 days. No credit card required.</p>
|
||||
<a href="#" class="text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-purple-600 dark:hover:bg-purple-700 focus:outline-none dark:focus:ring-purple-800">Free trial for 30 days</a>
|
||||
</div>
|
||||
<section class="bg-slate-100 px-4 py-12 sm:py-16">
|
||||
<div class="mx-auto max-w-3xl text-center">
|
||||
<h2 class="mb-4 text-3xl font-semibold tracking-tight text-slate-900 sm:text-4xl"><?= $block->setting('heading') ?></h2>
|
||||
<p class="mb-8 text-lg leading-7 text-slate-600"><?= $block->setting('message') ?></p>
|
||||
<a href="<?= $block->setting('button_url') ?>" class="inline-flex items-center justify-center rounded-lg bg-slate-900 px-5 py-3 text-sm font-semibold text-white transition hover:bg-slate-700 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-900">
|
||||
<?= $block->setting('button_label') ?>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user