Use a bit more stylisation from template v3

This commit is contained in:
Florine W. Dekker 2022-11-26 13:39:07 +01:00
parent bf37c37b4c
commit 92b8d3f8b5
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
1 changed files with 19 additions and 10 deletions

29
dist/index.php vendored
View File

@ -59,32 +59,41 @@ if ($target != null && !$needs_confirmation) {
<div role="document">
<section>
<header class="fwd-header">
<h1><a href=".">fwdkr.co</a></h1>
<hgroup>
<h1><a href=".">fwdkr.co</a></h1>
<h2>Florine's personal URL shortener.</h2>
</hgroup>
</header>
<?php
if ($error) {
?>
<h2>Internal server error</h2>
<p>Something went wrong internally, and you could not be redirected. Please try again later.</p>
<article class="status-card error">
<h3>Internal server error</h3>
<p>Something went wrong internally, and you could not be redirected. Please try again later.</p>
</article>
<?php
} else if ($needs_confirmation) {
?>
<h2>Confirm redirect</h2>
<p>This URL redirects to <b><?= $target ?></b>.</p>
<article>
<h3>Confirm redirect</h3>
<p>This URL redirects to <b><?= $target ?></b>.</p>
<p><a href="<?= $target ?>">Click here to proceed</a></p>
<p><a role="button" href="<?= $target ?>">Click here to proceed</a></p>
</article>
<?php
} else {
if ($path != "/") {
?>
<h2>Link not found</h2>
<p>The short URL <b>https://fwdkr.co<?= $path ?></b> could not be found.</p>
<article class="status-card error">
<h3>Link not found</h3>
<p>The short URL <b>https://fwdkr.co<?= $path ?></b> could not be found.</p>
</article>
<?php
}
?>
<h2>About fwdkr.co</h2>
<h3>About fwdkr.co</h3>
<p>
You've arrived at this page because you typed or linked to "fwdkr.co", the URL shortcut for
<a href="https://fwdekker.com/">fwdekker.com</a>.
@ -95,7 +104,7 @@ if ($target != null && !$needs_confirmation) {
affiliated with FWDekker.
</p>
<h3>Example links</h3>
<h4>Example links</h4>
<ul>
<li><a href="https://fwdkr.co/cv">fwdkr.co/cv &ndash; My CV</a></li>
<li><a href="https://fwdkr.co/pgp">fwdkr.co/pgp &ndash; My PGP key</a></li>