example.config.json: legal contact, imprint, privacy URLs swapped to indifferentketchup.com placeholders; abuse address changed to samkintop@gmail.com (matches the codex package's author entry); frontend.name placeholder changed from "mclo.gs" to "iblogs.example". UI templates: tagline replaced with "Built for game-server logs" (header.php), meta description rewritten to drop Minecraft & Hytale framing (start.php), api-docs.php's example "Minecraft version" labels updated to "Engine version" with a 42.16.3 sample value matching the codex PZ EngineVersionInformation output shape. CSS comment "Minecraft Format Colors" tagged as legacy mclogs syntax palette (the underlying color classes survive untouched — they may still be useful for highlighting log content). Footer attribution credit linking back to upstream mclogs and Aternos is intentionally preserved per the manual-fork rules. Frontend palette (#5cb85c green accent, etc.) and short-domain choice remain placeholder values; revisit when iblogs branding is finalised.
50 lines
2.1 KiB
PHP
50 lines
2.1 KiB
PHP
<header>
|
|
<a href="<?=htmlspecialchars(\IndifferentKetchup\Iblogs\Util\URL::getBase()->toString()); ?>" class="logo">
|
|
<svg class="logo-icon" width="41" height="42" viewBox="0 0 41 42" fill="none"
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
<rect width="41" height="5" rx="2" fill="currentColor"/>
|
|
<rect y="9.25" width="33" height="5" rx="2" fill="currentColor"/>
|
|
<rect y="18.5" width="19" height="5" rx="2" fill="currentColor"/>
|
|
<rect y="27.75" width="33" height="5" rx="2" fill="currentColor"/>
|
|
<rect y="37" width="41" height="5" rx="2" fill="currentColor"/>
|
|
</svg>
|
|
<span class="logo-text"><?= htmlspecialchars(\IndifferentKetchup\Iblogs\Config\Config::getInstance()->getName()); ?></span>
|
|
</a>
|
|
<div class="tagline">
|
|
<h1 class="tagline-main"><span class="title-verb">Paste</span> your logs.</h1>
|
|
<div class="tagline-sub">Built for game-server logs</div>
|
|
</div>
|
|
<script>
|
|
const titles = ["Paste", "Share", "Analyse"];
|
|
let currentTitle = 0;
|
|
let speed = 30;
|
|
let pause = 3000;
|
|
const titleElement = document.querySelector('.title-verb');
|
|
|
|
setTimeout(nextTitle, pause);
|
|
|
|
function nextTitle() {
|
|
currentTitle++;
|
|
if (typeof (titles[currentTitle]) === "undefined") {
|
|
currentTitle = 0;
|
|
}
|
|
|
|
const title = titleElement.innerHTML;
|
|
for (let i = 0; i < title.length - 1; i++) {
|
|
setTimeout(function () {
|
|
titleElement.innerHTML = titleElement.innerHTML.substring(0, titleElement.innerHTML.length - 1);
|
|
}, i * speed);
|
|
}
|
|
|
|
const newTitle = titles[currentTitle];
|
|
for (let i = 1; i <= newTitle.length; i++) {
|
|
setTimeout(function () {
|
|
titleElement.innerHTML = newTitle.substring(0, titleElement.innerHTML.length + 1);
|
|
}, title.length * speed + i * speed);
|
|
}
|
|
|
|
setTimeout(nextTitle, title.length * speed + newTitle.length * speed + pause);
|
|
}
|
|
</script>
|
|
</header>
|