This commit is contained in:
2026-05-13 21:17:36 +03:00
parent e43b94ba20
commit 3a6ab777c9
49 changed files with 9247 additions and 210 deletions

View 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>

View 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>

View 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>

View 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>

View 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>