all the website mainly done

This commit is contained in:
0xa0
2026-07-21 20:45:47 +02:00
parent 20f9aca26b
commit 30609c3bb3
15 changed files with 2127 additions and 25 deletions
+19 -3
View File
@@ -1,13 +1,29 @@
<?php require __DIR__ . '/inc/header.php'; ?>
<h1>hey, I'm 0x</h1>
<p>welcome to my corner of the web. no framework, no build step — just PHP printing HTML.</p>
<h1>hey, I'm 0x <span class="phonetic">/ˈzɪəroʊ ɛks/</span></h1>
<p>welcome to my corner of the web. just PHP printing HTML as God intended.</p>
<section class="status-widget">
<h2>status</h2>
<div id="status" hx-get="/status.php" hx-trigger="every 5s" hx-swap="innerHTML">
<div id="status" hx-get="/status.php" hx-trigger="every 10s" hx-ext="morph" hx-swap="morph:innerHTML">
<?php include __DIR__ . '/status.php'; ?>
</div>
</section>
<?php $age = (new DateTime('2002-11-07'))->diff(new DateTime('today'))->y; ?>
<p>I'm a <?= $age ?>-year-old developer (I know I'm unc), I hold a bachelor's degree in computer science (BUT Informatique) and I'm also a 42 school student.</p>
<p>if you wanna see what I'm building, feel free to check out my <a href="https://github.com/0xa00">GitHub</a> !</p>
<section class="posts-widget">
<h2>recent posts</h2>
<?php require_once __DIR__ . '/inc/posts.php'; ?>
<?php render_post_list(array_slice(all_posts(), 0, 3)); ?>
<p><a href="/blog.php">all posts &rarr;</a></p>
</section>
<p>If you want to leave a message, feel free to write something on my <a href="/guestbook.php">guestbook</a> !</p>
<?php require __DIR__ . '/inc/footer.php'; ?>