You've already forked framexEngine-pro
Firts up
This commit is contained in:
53
app/views/blocks/accordion/accordion-1.php
Normal file
53
app/views/blocks/accordion/accordion-1.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<div class="section">
|
||||
<div class="band">
|
||||
<div class="card space-y-4">
|
||||
<details class="group [&_summary::-webkit-details-marker]:hidden">
|
||||
<summary class="flex items-center justify-between gap-1.5 rounded-md border border-gray-100 dark:border-slate-800 bg-gray-50 dark:bg-slate-900 p-4 text-gray-900 dark:text-slate-300 ">
|
||||
<h2 class="text-lg font-medium">Lorem ipsum dolor sit amet consectetur adipisicing?</h2>
|
||||
|
||||
<svg class="size-5 shrink-0 transition-transform duration-300 group-open:-rotate-180" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||||
</svg>
|
||||
</summary>
|
||||
|
||||
<p class="px-4 pt-4 text-gray-900 dark:text-slate-300">
|
||||
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ab hic veritatis molestias culpa
|
||||
in, recusandae laboriosam neque aliquid libero nesciunt voluptate dicta quo officiis
|
||||
explicabo consequuntur distinctio corporis earum similique!
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details class="group [&_summary::-webkit-details-marker]:hidden">
|
||||
<summary class="flex items-center justify-between gap-1.5 rounded-md border border-gray-100 dark:border-slate-800 bg-gray-50 dark:bg-slate-900 p-4 text-gray-900 dark:text-slate-300 ">
|
||||
<h2 class="text-lg font-medium">Lorem ipsum dolor sit amet consectetur adipisicing?</h2>
|
||||
|
||||
<svg class="size-5 shrink-0 transition-transform duration-300 group-open:-rotate-180" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||||
</svg>
|
||||
</summary>
|
||||
|
||||
<p class="px-4 pt-4 text-gray-900 dark:text-slate-300">
|
||||
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ab hic veritatis molestias culpa
|
||||
in, recusandae laboriosam neque aliquid libero nesciunt voluptate dicta quo officiis
|
||||
explicabo consequuntur distinctio corporis earum similique!
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details class="group [&_summary::-webkit-details-marker]:hidden">
|
||||
<summary class="flex items-center justify-between gap-1.5 rounded-md border border-gray-100 dark:border-slate-800 bg-gray-50 dark:bg-slate-900 p-4 text-gray-900 dark:text-slate-300 ">
|
||||
<h2 class="text-lg font-medium">Lorem ipsum dolor sit amet consectetur adipisicing?</h2>
|
||||
|
||||
<svg class="size-5 shrink-0 transition-transform duration-300 group-open:-rotate-180" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||||
</svg>
|
||||
</summary>
|
||||
|
||||
<p class="px-4 pt-4 text-gray-900 dark:text-slate-300">
|
||||
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ab hic veritatis molestias culpa
|
||||
in, recusandae laboriosam neque aliquid libero nesciunt voluptate dicta quo officiis
|
||||
explicabo consequuntur distinctio corporis earum similique!
|
||||
</p>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
77
app/views/blocks/accordion/index.php
Normal file
77
app/views/blocks/accordion/index.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<section class="section">
|
||||
<div class="band">
|
||||
<div class="card">
|
||||
<div class="entry-section">
|
||||
<?php
|
||||
$serverURL = rtrim(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH), '/') ?: '/';
|
||||
$parentURL = $serverURL === '/' ? '/' : dirname($serverURL);
|
||||
$parentURL = $parentURL === '\\' || $parentURL === '.' ? '/' : $parentURL;
|
||||
$folderSlug = basename($serverURL);
|
||||
$folderName = ucwords(str_replace(['-', '_'], ' ', $folderSlug));
|
||||
$directory = __DIR__;
|
||||
$items = scandir($directory) ?: [];
|
||||
|
||||
$folders = [];
|
||||
$files = [];
|
||||
|
||||
foreach ($items as $item) {
|
||||
if ($item === '.' || $item === '..' || str_starts_with($item, '.')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$path = $directory . DIRECTORY_SEPARATOR . $item;
|
||||
|
||||
if (is_dir($path)) {
|
||||
$folders[] = $item;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_file($path) && basename($item) !== 'index.php' && in_array(pathinfo($item, PATHINFO_EXTENSION), ['php', 'md'], true)) {
|
||||
$files[] = pathinfo($item, PATHINFO_FILENAME);
|
||||
}
|
||||
}
|
||||
|
||||
natcasesort($folders);
|
||||
natcasesort($files);
|
||||
?>
|
||||
<div class="flex justify-between items-center border-b border-slate-200 dark:border-slate-700 pb-5">
|
||||
<div class="text-4xl font-bold"><?= e($folderName) ?></div>
|
||||
<a class="btn btn-primary" href="<?= e($parentURL) ?>">
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
<ul class="m-4">
|
||||
<?php
|
||||
foreach ($folders as $folder) :
|
||||
$itemName = ucwords(str_replace(['-', '_'], ' ', $folder)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z" />
|
||||
</svg>
|
||||
|
||||
<a class=' ms-2 hover:text-blue-600 font-bold' href='<?= e(rtrim($serverURL, '/') . '/' . $folder) ?>'>
|
||||
<?= e($itemName) ?></a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<ul class="m-4">
|
||||
<?php foreach ($files as $fileName) :
|
||||
$title = ucwords(str_replace(['-', '_'], ' ', $fileName)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-5">
|
||||
<path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
<a class='ms-1 hover:text-blue-600' href='<?= e(rtrim($serverURL, '/') . '/' . $fileName) ?>'><?= e($title) ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
40
app/views/blocks/blog-list/blog-list-1.php
Normal file
40
app/views/blocks/blog-list/blog-list-1.php
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
<section>
|
||||
<!-- Container -->
|
||||
<div class="mx-auto w-full max-w-7xl px-5 py-16 md:px-10 md:py-20">
|
||||
<!-- Title -->
|
||||
<h2 class="text-center mb-16 text-3xl font-bold md:text-5xl">
|
||||
The latest and greatest news
|
||||
</h2>
|
||||
<!-- Content -->
|
||||
<div class="mx-auto grid max-w-xl gap-5">
|
||||
<a href="javascript:void(0);" class="flex flex-col items-center pb-8 text-center border-b border-gray-300 sm:flex-row sm:text-left">
|
||||
<img src="<?= image(640,480) ?>" alt="" class="max-w-40 rounded-xl shadow-2xl" />
|
||||
<div class="px-8">
|
||||
<p class="mb-6 text-sm font-bold sm:text-base lg:mb-8">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit ut
|
||||
</p>
|
||||
<p class="text-sm text-gray-500">November 12, 2022</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="javascript:void(0);" class="flex flex-col items-center pb-8 text-center border-b border-gray-300 sm:flex-row sm:text-left">
|
||||
<img src="<?= image(640,480) ?>" alt="" class="max-w-40 rounded-xl shadow-2xl" />
|
||||
<div class="px-8">
|
||||
<p class="mb-6 text-sm font-bold sm:text-base lg:mb-8">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit ut
|
||||
</p>
|
||||
<p class="text-sm text-gray-500">November 12, 2022</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="javascript:void(0);" class="flex flex-col items-center pb-8 text-center border-b border-gray-300 sm:flex-row sm:text-left">
|
||||
<img src="<?= image(640,480) ?>" alt="" class="max-w-40 rounded-xl shadow-2xl" />
|
||||
<div class="px-8">
|
||||
<p class="mb-6 text-sm font-bold sm:text-base lg:mb-8">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit ut
|
||||
</p>
|
||||
<p class="text-sm text-gray-500">November 12, 2022</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
67
app/views/blocks/blog-list/blog-list-2.php
Normal file
67
app/views/blocks/blog-list/blog-list-2.php
Normal file
@@ -0,0 +1,67 @@
|
||||
|
||||
<section>
|
||||
<!-- Container -->
|
||||
<div class="mx-auto w-full max-w-7xl px-5 py-16 md:px-10 md:py-20">
|
||||
<!-- Component -->
|
||||
<div class="flex flex-col items-center">
|
||||
<h2 class="text-center text-3xl font-bold md:text-5xl">
|
||||
The latest and greatest news
|
||||
</h2>
|
||||
<p class="mb-8 mt-4 text-center text-sm text-gray-500 sm:text-base md:mb-12 lg:mb-16">
|
||||
Lorem ipsum dolor sit amet elit ut aliquam
|
||||
</p>
|
||||
<!-- Content -->
|
||||
<div class="mb-8 grid gap-5 sm:grid-cols-2 sm:justify-items-stretch md:mb-12 md:grid-cols-3 lg:mb-16 lg:gap-6">
|
||||
<!-- Item -->
|
||||
<a href="javascript:void(0);" class="flex flex-col gap-4 bg-white rounded-md shadow px-4 py-8 md:p-0">
|
||||
<img src="<?= image() ?>" alt="" class="rounded-t-lg object-cover" />
|
||||
<div class="flex flex-col items-start pb-5 px-4">
|
||||
|
||||
<p class="mb-4 text-xl font-bold md:text-2xl">
|
||||
The latest news with Flowspark
|
||||
</p>
|
||||
<div class="flex flex-col items-start text-sm text-gray-500 lg:flex-row lg:items-center">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden lg:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!-- Item -->
|
||||
<a href="javascript:void(0);" class="flex flex-col gap-4 bg-white rounded-md shadow px-4 py-8 md:p-0">
|
||||
<img src="<?= image() ?>" alt="" class="rounded-t-lg object-cover" />
|
||||
<div class="flex flex-col items-start pb-5 px-4">
|
||||
|
||||
<p class="mb-4 text-xl font-bold md:text-2xl">
|
||||
The latest news with Flowspark
|
||||
</p>
|
||||
<div class="flex flex-col items-start text-sm text-gray-500 lg:flex-row lg:items-center">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden lg:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!-- Item -->
|
||||
<a href="javascript:void(0);" class="flex flex-col gap-4 bg-white rounded-md shadow px-4 py-8 md:p-0">
|
||||
<img src="<?= image() ?>" alt="" class="rounded-t-lg object-cover" />
|
||||
<div class="flex flex-col items-start pb-5 px-4">
|
||||
|
||||
<p class="mb-4 text-xl font-bold md:text-2xl">
|
||||
The latest news with Flowspark
|
||||
</p>
|
||||
<div class="flex flex-col items-start text-sm text-gray-500 lg:flex-row lg:items-center">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden lg:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<!-- Button -->
|
||||
<a href="javascript:void(0);" class="rounded-md bg-black px-6 py-3 text-center font-semibold text-white">
|
||||
View More
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
96
app/views/blocks/blog-list/blog-list-3.php
Normal file
96
app/views/blocks/blog-list/blog-list-3.php
Normal file
@@ -0,0 +1,96 @@
|
||||
|
||||
<section>
|
||||
<!-- Container -->
|
||||
<div class="band">
|
||||
<!-- Title -->
|
||||
<h2 class="text-center text-3xl font-bold md:text-5xl md:text-left">
|
||||
The latest and greatest news
|
||||
</h2>
|
||||
<p class="mb-8 mt-4 text-center text-sm text-gray-500 sm:text-base md:mb-12 lg:mb-16 md:text-left">
|
||||
Lorem ipsum dolor sit amet elit ut aliquam
|
||||
</p>
|
||||
<!-- Content -->
|
||||
<div class="mx-auto grid gap-8 md:grid-cols-2">
|
||||
<a href="javascript:void(0);" class="flex flex-col gap-4 rounded-md [grid-area:1/1/4/2] c-grid-area-1_1_4_2 md:pr-8">
|
||||
<img src="<?= image() ?>" alt="" class="inline-block h-72 w-full rounded object-cover" />
|
||||
<div class="flex flex-col items-start py-4">
|
||||
<div class="mb-4 rounded-md bg-gray-100 dark:bg-slate-900 px-2 py-1.5">
|
||||
<p class="text-sm eyebrow">
|
||||
FramexEngine
|
||||
</p>
|
||||
</div>
|
||||
<p class="mb-4 text-xl font-bold md:text-2xl">
|
||||
The latest news with Flowspark
|
||||
</p>
|
||||
<div class="flex flex-col text-sm text-gray-500 md:flex-row">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden md:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="md:flex md:justify-between md:flex-col">
|
||||
<a href="javascript:void(0);" class="flex flex-col pb-5 md:mb-3 md:flex-row md:border-b md:border-gray-300">
|
||||
<img src="<?= image() ?>" alt="" class="inline-block h-60 w-full rounded object-cover md:h-32 md:w-32" />
|
||||
<div class="flex flex-col items-start pt-4 md:px-8">
|
||||
<div class="mb-2 rounded-md bg-gray-100 dark:bg-slate-900 px-2 py-1.5">
|
||||
<p class="text-sm eyebrow">
|
||||
FramexEngine
|
||||
</p>
|
||||
</div>
|
||||
<p class="mb-2 text-sm font-bold sm:text-base">
|
||||
Here is the title for this blog
|
||||
</p>
|
||||
<div class="flex flex-col items-start">
|
||||
<div class="flex flex-col text-sm text-gray-500 sm:text-base md:flex-row md:items-center">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden md:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="javascript:void(0);" class="flex flex-col pb-5 md:mb-3 md:flex-row md:border-b md:border-gray-300">
|
||||
<img src="<?= image() ?>" alt="" class="inline-block h-60 w-full rounded object-cover md:h-32 md:w-32" />
|
||||
<div class="flex flex-col items-start pt-4 md:px-8">
|
||||
<div class="mb-2 rounded-md bg-gray-100 dark:bg-slate-900 px-2 py-1.5">
|
||||
<p class="text-sm eyebrow">
|
||||
FramexEngine
|
||||
</p>
|
||||
</div>
|
||||
<p class="mb-2 text-sm font-bold sm:text-base">
|
||||
Here is the title for this blog
|
||||
</p>
|
||||
<div class="flex flex-col items-start">
|
||||
<div class="flex flex-col text-sm text-gray-500 sm:text-base md:flex-row md:items-center">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden md:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="javascript:void(0);" class="flex flex-col pb-5 md:mb-3 md:flex-row md:border-b md:border-gray-300">
|
||||
<img src="<?= image() ?>" alt="" class="inline-block h-60 w-full rounded object-cover md:h-32 md:w-32" />
|
||||
<div class="flex flex-col items-start pt-4 md:px-8">
|
||||
<div class="mb-2 rounded-md bg-gray-100 dark:bg-slate-900 px-2 py-1.5">
|
||||
<p class="text-sm eyebrow">
|
||||
FramexEngine
|
||||
</p>
|
||||
</div>
|
||||
<p class="mb-2 text-sm font-bold sm:text-base">
|
||||
Here is the title for this blog
|
||||
</p>
|
||||
<div class="flex flex-col items-start">
|
||||
<div class="flex flex-col text-sm text-gray-500 sm:text-base md:flex-row md:items-center">
|
||||
<p>Laila Bahar</p>
|
||||
<p class="mx-2 hidden md:block">-</p>
|
||||
<p>6 mins read</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
155
app/views/blocks/blog-list/blog-list-4.php
Normal file
155
app/views/blocks/blog-list/blog-list-4.php
Normal file
@@ -0,0 +1,155 @@
|
||||
|
||||
<section>
|
||||
<!-- Container -->
|
||||
<div class="mx-auto w-full max-w-7xl px-5 py-16 md:px-10 md:py-20">
|
||||
<div class="text-center mb-12">
|
||||
<!-- Title -->
|
||||
<h2 class="mb-4 mt-6 text-3xl font-bold md:text-5xl">
|
||||
The latest and greatest news
|
||||
</h2>
|
||||
<p class="text-gray-500 mt-2">
|
||||
Lorem ipsum dolor sit amet elit ut aliquam
|
||||
</p>
|
||||
<!-- Buttons -->
|
||||
<div class="my-10 md:my-20 flex flex-col md:flex-row justify-center gap-3">
|
||||
<button class="px-4 py-2 bg-gray-100 font-semibold rounded-full">
|
||||
Engaging Articles
|
||||
</button>
|
||||
<button class="px-4 py-2 bg-black text-white font-semibold rounded-full">
|
||||
Product Updates
|
||||
</button>
|
||||
<button class="px-4 py-2 bg-gray-100 font-semibold rounded-full">
|
||||
Reflex Workflows
|
||||
</button>
|
||||
<button class="px-4 py-2 bg-gray-100 font-semibold rounded-full">
|
||||
Artificial Intelligence
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Blog Content -->
|
||||
<div class="max-w-6xl mx-auto">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
|
||||
<!-- Blog Item -->
|
||||
<div class=" bg-gray-50 rounded-lg overflow-hidden">
|
||||
<div class="relative h-80">
|
||||
<img class="h-80 w-full object-cover" src="<?= image() ?>" alt="" />
|
||||
<a class="absolute bottom-5 right-5 btn btn-secondary ">
|
||||
Product Updates
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="p-4 flex justify-between items-center">
|
||||
<div>
|
||||
<h2 class="text-lg font-semibold mt-2">
|
||||
Here is the title for this News
|
||||
</h2>
|
||||
<p>Lorem ipsum dolor sit amet elit ut aliquam</p>
|
||||
</div>
|
||||
|
||||
<button class="cursor-pointer h-14 w-14">
|
||||
<svg class="h-14 w-14" width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M30.0001 52.5001C42.4265 52.5001 52.5001 42.4265 52.5001 30.0001C52.5001 17.5736 42.4265 7.5 30.0001 7.5C17.5736 7.5 7.5 17.5736 7.5 30.0001C7.5 42.4265 17.5736 52.5001 30.0001 52.5001Z" fill="black" stroke="black" stroke-width="2" stroke-miterlimit="10" />
|
||||
<path d="M31.4297 37.9454L39.375 30L31.4297 22.0547" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
<path d="M20.625 30H39.3751" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Blog Item -->
|
||||
<div class="relative bg-gray-50 rounded-lg overflow-hidden">
|
||||
<div class="relative h-80">
|
||||
<img class="h-80 w-full object-cover" src="<?= image() ?>" alt="" />
|
||||
<a class="absolute bottom-5 right-5 btn btn-secondary ">
|
||||
Product Updates
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="p-4 flex justify-between items-center">
|
||||
<div>
|
||||
<h2 class="text-lg font-semibold mt-2">
|
||||
Here is the title for this News
|
||||
</h2>
|
||||
<p>Lorem ipsum dolor sit amet elit ut aliquam</p>
|
||||
</div>
|
||||
|
||||
<button class="cursor-pointer h-14 w-14">
|
||||
<svg class="h-14 w-14" width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M30.0001 52.5001C42.4265 52.5001 52.5001 42.4265 52.5001 30.0001C52.5001 17.5736 42.4265 7.5 30.0001 7.5C17.5736 7.5 7.5 17.5736 7.5 30.0001C7.5 42.4265 17.5736 52.5001 30.0001 52.5001Z" fill="black" stroke="black" stroke-width="2" stroke-miterlimit="10" />
|
||||
<path d="M31.4297 37.9454L39.375 30L31.4297 22.0547" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
<path d="M20.625 30H39.3751" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
||||
<!-- Blog Item -->
|
||||
<div class="bg-gray-50 rounded-lg overflow-hidden">
|
||||
<div class="relative h-72">
|
||||
<img class="h-72 w-full object-cover" src="<?= image() ?>" alt="" />
|
||||
<a class="absolute bottom-5 right-5 btn btn-secondary ">
|
||||
Product Updates
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="p-4">
|
||||
<h2 class="text-lg font-semibold mt-2">
|
||||
Here is the title for this News
|
||||
</h2>
|
||||
<p class="text-gray-500">
|
||||
We make every expression of Hero Spirits with precision and
|
||||
passion
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Blog Item -->
|
||||
<div class=" bg-gray-50 rounded-lg overflow-hidden">
|
||||
<div class="relative h-72">
|
||||
<img class="h-72 w-full object-cover" src="<?= image() ?>" alt="" />
|
||||
<a class="absolute bottom-5 right-5 btn btn-secondary ">
|
||||
Product Updates
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="p-4">
|
||||
<h2 class="text-lg font-semibold mt-2">
|
||||
Here is the title for this News
|
||||
</h2>
|
||||
<p class="text-gray-500">
|
||||
We make every expression of Hero Spirits with precision and
|
||||
passion
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Blog Item -->
|
||||
<div class="bg-gray-50 rounded-lg overflow-hidden">
|
||||
<div class="relative h-72">
|
||||
<img class="h-72 w-full object-cover" src="<?= image() ?>" alt="" />
|
||||
<a class="absolute bottom-5 right-5 btn btn-secondary ">
|
||||
Product Updates
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="p-4">
|
||||
<h2 class="text-lg font-semibold mt-2">
|
||||
Here is the title for this News
|
||||
</h2>
|
||||
<p class="text-gray-500">
|
||||
We make every expression of Hero Spirits with precision and
|
||||
passion
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Button -->
|
||||
<div class="mt-10 md:mt-20 text-center">
|
||||
<button class="px-6 py-2 bg-black text-white rounded-lg">
|
||||
Load More
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
77
app/views/blocks/blog-list/index.php
Normal file
77
app/views/blocks/blog-list/index.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<section class="section">
|
||||
<div class="band">
|
||||
<div class="card">
|
||||
<div class="entry-section">
|
||||
<?php
|
||||
$serverURL = rtrim(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH), '/') ?: '/';
|
||||
$parentURL = $serverURL === '/' ? '/' : dirname($serverURL);
|
||||
$parentURL = $parentURL === '\\' || $parentURL === '.' ? '/' : $parentURL;
|
||||
$folderSlug = basename($serverURL);
|
||||
$folderName = ucwords(str_replace(['-', '_'], ' ', $folderSlug));
|
||||
$directory = __DIR__;
|
||||
$items = scandir($directory) ?: [];
|
||||
|
||||
$folders = [];
|
||||
$files = [];
|
||||
|
||||
foreach ($items as $item) {
|
||||
if ($item === '.' || $item === '..' || str_starts_with($item, '.')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$path = $directory . DIRECTORY_SEPARATOR . $item;
|
||||
|
||||
if (is_dir($path)) {
|
||||
$folders[] = $item;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_file($path) && basename($item) !== 'index.php' && in_array(pathinfo($item, PATHINFO_EXTENSION), ['php', 'md'], true)) {
|
||||
$files[] = pathinfo($item, PATHINFO_FILENAME);
|
||||
}
|
||||
}
|
||||
|
||||
natcasesort($folders);
|
||||
natcasesort($files);
|
||||
?>
|
||||
<div class="flex justify-between items-center border-b border-slate-200 dark:border-slate-700 pb-5">
|
||||
<div class="text-4xl font-bold"><?= e($folderName) ?></div>
|
||||
<a class="btn btn-primary" href="<?= e($parentURL) ?>">
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
<ul class="m-4">
|
||||
<?php
|
||||
foreach ($folders as $folder) :
|
||||
$itemName = ucwords(str_replace(['-', '_'], ' ', $folder)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z" />
|
||||
</svg>
|
||||
|
||||
<a class=' ms-2 hover:text-blue-600 font-bold' href='<?= e(rtrim($serverURL, '/') . '/' . $folder) ?>'>
|
||||
<?= e($itemName) ?></a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<ul class="m-4">
|
||||
<?php foreach ($files as $fileName) :
|
||||
$title = ucwords(str_replace(['-', '_'], ' ', $fileName)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-5">
|
||||
<path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
<a class='ms-1 hover:text-blue-600' href='<?= e(rtrim($serverURL, '/') . '/' . $fileName) ?>'><?= e($title) ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
26
app/views/blocks/heros/hero-1.php
Normal file
26
app/views/blocks/heros/hero-1.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<section class="bg-white dark:bg-slate-900">
|
||||
<div class="mx-auto w-screen max-w-7xl px-4 py-16 sm:px-6 sm:py-24 lg:px-8 lg:py-32">
|
||||
<div class="mx-auto max-w-prose text-center">
|
||||
<h1 class="text-4xl font-bold text-gray-900 dark:text-white/90 sm:text-5xl">
|
||||
Understand user flow and
|
||||
<strong class="text-indigo-600"> increase </strong>
|
||||
conversions
|
||||
</h1>
|
||||
|
||||
<p class="mt-4 text-base text-pretty text-gray-700 dark:text-white/60 sm:text-lg/relaxed">
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, nisi. Natus, provident
|
||||
accusamus impedit minima harum corporis iusto.
|
||||
</p>
|
||||
|
||||
<div class="mt-4 flex justify-center gap-4 sm:mt-6">
|
||||
<a class="btn btn-primary" href="#">
|
||||
Get Started
|
||||
</a>
|
||||
|
||||
<a class="btn btn-secondary" href="#">
|
||||
Learn More
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
33
app/views/blocks/heros/hero-2.php
Normal file
33
app/views/blocks/heros/hero-2.php
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
<section class="section">
|
||||
<!-- Container -->
|
||||
<div class="band">
|
||||
<!-- Title -->
|
||||
<h2 class="mb-8 text-3xl font-bold md:text-5xl md:mb-10">
|
||||
Meet Flowspark
|
||||
</h2>
|
||||
<p class="mb-8 max-w-lg text-sm text-gray-500 sm:text-base md:mb-16">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
||||
varius enim in eros elementum tristique. Duis cursus, mi quis viverra
|
||||
ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.
|
||||
</p>
|
||||
<div class="grid gap-8 lg:grid-cols-2 lg:gap-10">
|
||||
<img src="<?= image() ?>image" alt="" class="inline-block h-full w-full rounded-2xl object-cover" />
|
||||
<div class="flex flex-col gap-5 rounded-2xl border border-solid border-black p-10 sm:p-12">
|
||||
<h2 class="text-3xl font-bold md:text-5xl">Our Mission</h2>
|
||||
<p class="text-sm text-gray-500 sm:text-base">
|
||||
Aliquet risus feugiat in ante metus. Arcu dui vivamus arcu felis
|
||||
bibendum ut. Vestibulum lorem sed risus ultricies tristique nulla.
|
||||
Vitae et leo duis ut diam quam. Bibendum arcu vitae elementum
|
||||
curabitur vitae nunc. Dictumst vestibulum rhoncus est
|
||||
pellentesque. Lectus proin nibh nisl condimentum id. Ullamcorper
|
||||
dignissim cras tincidunt lobortis feugiat vivamus.
|
||||
<br />
|
||||
<br />
|
||||
Massa id neque aliquam vestibulum morbi blandit. Nulla
|
||||
pellentesque dignissim enim sit amet venenatis.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
77
app/views/blocks/heros/index.php
Normal file
77
app/views/blocks/heros/index.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<section class="section">
|
||||
<div class="band">
|
||||
<div class="card">
|
||||
<div class="entry-section">
|
||||
<?php
|
||||
$serverURL = rtrim(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH), '/') ?: '/';
|
||||
$parentURL = $serverURL === '/' ? '/' : dirname($serverURL);
|
||||
$parentURL = $parentURL === '\\' || $parentURL === '.' ? '/' : $parentURL;
|
||||
$folderSlug = basename($serverURL);
|
||||
$folderName = ucwords(str_replace(['-', '_'], ' ', $folderSlug));
|
||||
$directory = __DIR__;
|
||||
$items = scandir($directory) ?: [];
|
||||
|
||||
$folders = [];
|
||||
$files = [];
|
||||
|
||||
foreach ($items as $item) {
|
||||
if ($item === '.' || $item === '..' || str_starts_with($item, '.')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$path = $directory . DIRECTORY_SEPARATOR . $item;
|
||||
|
||||
if (is_dir($path)) {
|
||||
$folders[] = $item;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_file($path) && basename($item) !== 'index.php' && in_array(pathinfo($item, PATHINFO_EXTENSION), ['php', 'md'], true)) {
|
||||
$files[] = pathinfo($item, PATHINFO_FILENAME);
|
||||
}
|
||||
}
|
||||
|
||||
natcasesort($folders);
|
||||
natcasesort($files);
|
||||
?>
|
||||
<div class="flex justify-between items-center border-b border-slate-200 dark:border-slate-700 pb-5">
|
||||
<div class="text-4xl font-bold"><?= e($folderName) ?></div>
|
||||
<a class="btn btn-primary" href="<?= e($parentURL) ?>">
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
<ul class="m-4">
|
||||
<?php
|
||||
foreach ($folders as $folder) :
|
||||
$itemName = ucwords(str_replace(['-', '_'], ' ', $folder)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z" />
|
||||
</svg>
|
||||
|
||||
<a class=' ms-2 hover:text-blue-600 font-bold' href='<?= e(rtrim($serverURL, '/') . '/' . $folder) ?>'>
|
||||
<?= e($itemName) ?></a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<ul class="m-4">
|
||||
<?php foreach ($files as $fileName) :
|
||||
$title = ucwords(str_replace(['-', '_'], ' ', $fileName)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-5">
|
||||
<path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
<a class='ms-1 hover:text-blue-600' href='<?= e(rtrim($serverURL, '/') . '/' . $fileName) ?>'><?= e($title) ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
77
app/views/blocks/index.php
Normal file
77
app/views/blocks/index.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<section class="section">
|
||||
<div class="band">
|
||||
<div class="card">
|
||||
<div class="entry-section">
|
||||
<?php
|
||||
$serverURL = rtrim(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH), '/') ?: '/';
|
||||
$parentURL = $serverURL === '/' ? '/' : dirname($serverURL);
|
||||
$parentURL = $parentURL === '\\' || $parentURL === '.' ? '/' : $parentURL;
|
||||
$folderSlug = basename($serverURL);
|
||||
$folderName = ucwords(str_replace(['-', '_'], ' ', $folderSlug));
|
||||
$directory = __DIR__;
|
||||
$items = scandir($directory) ?: [];
|
||||
|
||||
$folders = [];
|
||||
$files = [];
|
||||
|
||||
foreach ($items as $item) {
|
||||
if ($item === '.' || $item === '..' || str_starts_with($item, '.')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$path = $directory . DIRECTORY_SEPARATOR . $item;
|
||||
|
||||
if (is_dir($path)) {
|
||||
$folders[] = $item;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_file($path) && basename($item) !== 'index.php' && in_array(pathinfo($item, PATHINFO_EXTENSION), ['php', 'md'], true)) {
|
||||
$files[] = pathinfo($item, PATHINFO_FILENAME);
|
||||
}
|
||||
}
|
||||
|
||||
natcasesort($folders);
|
||||
natcasesort($files);
|
||||
?>
|
||||
<div class="flex justify-between items-center border-b border-slate-200 dark:border-slate-700 pb-5">
|
||||
<div class="text-4xl font-bold"><?= e($folderName) ?></div>
|
||||
<a class="btn btn-primary" href="<?= e($parentURL) ?>">
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
<ul class="m-4">
|
||||
<?php
|
||||
foreach ($folders as $folder) :
|
||||
$itemName = ucwords(str_replace(['-', '_'], ' ', $folder)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z" />
|
||||
</svg>
|
||||
|
||||
<a class=' ms-2 hover:text-blue-600 font-bold' href='<?= e(rtrim($serverURL, '/') . '/' . $folder) ?>'>
|
||||
<?= e($itemName) ?></a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<ul class="m-4">
|
||||
<?php foreach ($files as $fileName) :
|
||||
$title = ucwords(str_replace(['-', '_'], ' ', $fileName)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-5">
|
||||
<path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
<a class='ms-1 hover:text-blue-600' href='<?= e(rtrim($serverURL, '/') . '/' . $fileName) ?>'><?= e($title) ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
77
app/views/blocks/sections/index.php
Normal file
77
app/views/blocks/sections/index.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<section class="section">
|
||||
<div class="band">
|
||||
<div class="card">
|
||||
<div class="entry-section">
|
||||
<?php
|
||||
$serverURL = rtrim(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH), '/') ?: '/';
|
||||
$parentURL = $serverURL === '/' ? '/' : dirname($serverURL);
|
||||
$parentURL = $parentURL === '\\' || $parentURL === '.' ? '/' : $parentURL;
|
||||
$folderSlug = basename($serverURL);
|
||||
$folderName = ucwords(str_replace(['-', '_'], ' ', $folderSlug));
|
||||
$directory = __DIR__;
|
||||
$items = scandir($directory) ?: [];
|
||||
|
||||
$folders = [];
|
||||
$files = [];
|
||||
|
||||
foreach ($items as $item) {
|
||||
if ($item === '.' || $item === '..' || str_starts_with($item, '.')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$path = $directory . DIRECTORY_SEPARATOR . $item;
|
||||
|
||||
if (is_dir($path)) {
|
||||
$folders[] = $item;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_file($path) && basename($item) !== 'index.php' && in_array(pathinfo($item, PATHINFO_EXTENSION), ['php', 'md'], true)) {
|
||||
$files[] = pathinfo($item, PATHINFO_FILENAME);
|
||||
}
|
||||
}
|
||||
|
||||
natcasesort($folders);
|
||||
natcasesort($files);
|
||||
?>
|
||||
<div class="flex justify-between items-center border-b border-slate-200 dark:border-slate-700 pb-5">
|
||||
<div class="text-4xl font-bold"><?= e($folderName) ?></div>
|
||||
<a class="btn btn-primary" href="<?= e($parentURL) ?>">
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
<ul class="m-4">
|
||||
<?php
|
||||
foreach ($folders as $folder) :
|
||||
$itemName = ucwords(str_replace(['-', '_'], ' ', $folder)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z" />
|
||||
</svg>
|
||||
|
||||
<a class=' ms-2 hover:text-blue-600 font-bold' href='<?= e(rtrim($serverURL, '/') . '/' . $folder) ?>'>
|
||||
<?= e($itemName) ?></a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<ul class="m-4">
|
||||
<?php foreach ($files as $fileName) :
|
||||
$title = ucwords(str_replace(['-', '_'], ' ', $fileName)); ?>
|
||||
<li class="mt-2">
|
||||
<div class="flex items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-5">
|
||||
<path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
<a class='ms-1 hover:text-blue-600' href='<?= e(rtrim($serverURL, '/') . '/' . $fileName) ?>'><?= e($title) ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
20
app/views/blocks/sections/section-1.php
Normal file
20
app/views/blocks/sections/section-1.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<section class="section">
|
||||
<div class="band">
|
||||
<div class="space-y-4 md:space-y-8">
|
||||
<div class="max-w-prose">
|
||||
<h2 class="text-2xl font-semibold text-gray-900 dark:text-white/90 sm:text-3xl">
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
</h2>
|
||||
|
||||
|
||||
<p class="mt-4 text-gray-700 dark:text-white/60">
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur doloremque saepe
|
||||
architecto maiores repudiandae amet perferendis repellendus, reprehenderit voluptas
|
||||
sequi.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<img src="<?= image(1140, 600) ?>" class="rounded shadow-2xl" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user