store side art as one ANSI file, render it with PHP (cached)
Deploy / deploy (push) Successful in 3s
Deploy / deploy (push) Successful in 3s
This commit is contained in:
+3
-2
@@ -10,7 +10,8 @@ $build = preg_match('/[0-9a-f]{7,40}/i', $build, $m) ? $m[0] : ($build ?: 'dev')
|
||||
</div>
|
||||
<small>© <?= date('Y') ?> · build: <a href="<?= htmlspecialchars(REPO_URL) ?>"><?= htmlspecialchars($build) ?></a></small>
|
||||
</footer>
|
||||
<pre class="side side-left" aria-hidden="true"><?= file_get_contents(__DIR__ . '/art/left.html') ?></pre>
|
||||
<pre class="side side-right" aria-hidden="true"><span><?= file_get_contents(__DIR__ . '/art/right.html') ?></span></pre>
|
||||
<?php require_once __DIR__ . '/art.php'; ?>
|
||||
<pre class="side side-left" aria-hidden="true"><?= ansi_html_cached(__DIR__ . '/art/sakura.ans') ?></pre>
|
||||
<pre class="side side-right" aria-hidden="true"><span><?= ansi_html_cached(__DIR__ . '/art/sakura.ans', mirror: true) ?></span></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user