Toolvana: production-ready media tools platform (CodeIgniter 4)
- 134-tool registry with programmatic SEO (unique titles/H1/descriptions, JSON-LD graphs, sitemap index, canonical 301 enforcement via required filter) - DB-backed job queue (SKIP LOCKED) with drivers: Ffmpeg, Images (GD), Pdf (qpdf/gs/poppler), Youtube (thumbnails), Qr (server-side PNG) - Security: SSRF guard, MIME validation, rate limits, API-key auth, bcrypt admin login, security headers - Admin panel: dashboard, tools/categories/guides CRUD, SEO audit, analytics, job inspector with retry, system health, feature flags - Docker deployment (nginx + web/api FPM pools + scalable workers), PHPUnit suite (19 tests / 1139 assertions), PWA manifest + service worker
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<div class="wrap">
|
||||
<nav class="breadcrumbs" aria-label="Breadcrumb">
|
||||
<ol><li><a href="/">Home</a></li><li><a href="/blog">Guides</a></li><li aria-current="page"><?= esc(mb_substr((string) $guide['title'], 0, 60)) ?></li></ol>
|
||||
</nav>
|
||||
|
||||
<article class="prose">
|
||||
<header class="tool-head">
|
||||
<span class="badge"><?= date('M j, Y', strtotime((string) $guide['published_at'])) ?> · <?= (int) $guide['reading_minutes'] ?> min read</span>
|
||||
<h1 style="font-size:clamp(1.7rem,4vw,2.4rem);font-weight:830;letter-spacing:-.03em;margin:.6rem 0 .5rem;line-height:1.15"><?= esc($guide['title']) ?></h1>
|
||||
<p class="hint" style="font-size:1rem"><?= esc($guide['excerpt']) ?></p>
|
||||
</header>
|
||||
|
||||
<?= $html ?>
|
||||
|
||||
<?php if (! empty($tools)): ?>
|
||||
<section class="block tight">
|
||||
<h2 class="section-title">Tools used in this guide</h2>
|
||||
<div class="grid cols-3">
|
||||
<?php foreach ($tools as $tool): ?>
|
||||
<?= view('partials/tool_card', ['tool' => $tool]) ?>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if (! empty($related)): ?>
|
||||
<section class="block tight">
|
||||
<h2 class="section-title">Keep reading</h2>
|
||||
<ul>
|
||||
<?php foreach ($related as $rel): ?>
|
||||
<li><a href="/blog/<?= esc($rel['slug']) ?>"><?= esc($rel['title']) ?></a> — <?= esc(mb_substr((string) $rel['excerpt'], 0, 80)) ?>…</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php endif ?>
|
||||
</article>
|
||||
</div>
|
||||
Reference in New Issue
Block a user