add theme-one

This commit is contained in:
Paul Spenke
2023-06-29 08:44:13 +08:00
parent c9b72248c3
commit a2054c9625
31 changed files with 5484 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
return [
'title' => 'Column',
'category' => 'Layout',
'hidden' => true,
'icon' => 'fa fa-hand-peace-o',
'settings' => [
'text' => [
'label'=> 'Text',
'type' => 'text',
'placeholder' =>'auto',
'value' => 'Micheal Gough'
],
'texti' => [
'label'=> 'Text',
'type' => 'text',
'placeholder' =>'auto',
'value' => 'Micheal Gough'
],
]
];
+3
View File
@@ -0,0 +1,3 @@
<div class="col p-8 border rounded" phpb-blocks-container>
[block slug="paragraph"]
</div>
+15
View File
@@ -0,0 +1,15 @@
<?php
return [
'title' => 'CTA',
'category' => 'General',
'icon' => 'fa fa-hand-peace-o',
'settings' => [
'person' => [
'label'=> 'Height',
'type' => 'text',
'placeholder' =>'auto',
'value' => 'Micheal Gough'
]
]
];
+9
View File
@@ -0,0 +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>
</div>
</section>
@@ -0,0 +1,15 @@
<?php
return [
'title' => 'Hello World',
'category' => 'General',
'icon' => 'fa fa-hand-peace-o',
'settings' => [
'height' => [
'label'=> 'Height',
'type' => 'text',
'placeholder' =>'auto',
'value' => 50
]
]
];
@@ -0,0 +1 @@
<h1>Hello World!</h1>
+7
View File
@@ -0,0 +1,7 @@
<?php
return [
'title' => 'image',
'category' => 'General',
'icon' => 'fa fa-hand-peace-o'
];
+1
View File
@@ -0,0 +1 @@
<img src="" alt="" data-blubb="foo">
@@ -0,0 +1,7 @@
<?php
return [
'title' => 'Paragraph',
'category' => 'Layout',
'icon' => 'fa fa-hand-peace-o',
];
@@ -0,0 +1,3 @@
<p class="">
Paragraph
</p>
+15
View File
@@ -0,0 +1,15 @@
<?php
return [
'title' => 'Quote',
'category' => 'General',
'icon' => 'fa fa-hand-peace-o',
'settings' => [
'person' => [
'label'=> 'Height',
'type' => 'text',
'placeholder' =>'auto',
'value' => 'Micheal Gough'
]
]
];
+19
View File
@@ -0,0 +1,19 @@
<section class="bg-gray-50 dark:bg-gray-800">
<div class="max-w-screen-xl px-4 py-8 mx-auto text-center lg:py-24 lg:px-6">
<figure class="max-w-screen-md mx-auto">
<svg class="h-12 mx-auto mb-3 text-gray-400 dark:text-gray-600" viewBox="0 0 24 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.017 18L14.017 10.609C14.017 4.905 17.748 1.039 23 0L23.995 2.151C21.563 3.068 20 5.789 20 8H24V18H14.017ZM0 18V10.609C0 4.905 3.748 1.038 9 0L9.996 2.151C7.563 3.068 6 5.789 6 8H9.983L9.983 18L0 18Z" fill="currentColor"></path>
</svg>
<blockquote>
<p class="text-xl font-medium text-gray-900 md:text-2xl dark:text-white">"Landwind is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application."</p>
</blockquote>
<figcaption class="flex items-center justify-center mt-6 space-x-3">
<img class="w-6 h-6 rounded-full" src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/michael-gouch.png" alt="profile picture">
<div class="flex items-center divide-x-2 divide-gray-500 dark:divide-gray-700">
<div class="pr-3 font-medium text-gray-900 dark:text-white"><?php echo $block->setting('person'); ?></div>
<div class="pl-3 text-sm font-light text-gray-500 dark:text-gray-400">CEO at Google</div>
</div>
</figcaption>
</figure>
</div>
</section>
+14
View File
@@ -0,0 +1,14 @@
<?php
return [
'title' => 'Row',
'category' => 'Layout',
'icon' => 'fa fa-hand-peace-o',
'settings' => [
"column_count" => [
"type" => "number",
"label" => "Number of columns",
"value" => "3"
],
]
];
+10
View File
@@ -0,0 +1,10 @@
<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;
?>
</div>