aboutsummaryrefslogtreecommitdiffstats
path: root/partials/site_nav_panel.php
diff options
context:
space:
mode:
authorsillylaird <sillyfanboy@gmail.com>2026-09-03 00:33:59 +0000
committersillylaird <sillyfanboy@gmail.com>2026-09-03 00:33:59 +0000
commit898b52edcb47bcb3e9d6106e74ca73e74ea01e70 (patch)
tree85c6ee5ad58b860144551184d4cf86b560c62b91 /partials/site_nav_panel.php
downloadwww-main.tar.gz
www-main.zip
import live www.sillylaird.ca webrootHEADmain
Diffstat (limited to 'partials/site_nav_panel.php')
-rw-r--r--partials/site_nav_panel.php44
1 files changed, 44 insertions, 0 deletions
diff --git a/partials/site_nav_panel.php b/partials/site_nav_panel.php
new file mode 100644
index 0000000..a23d104
--- /dev/null
+++ b/partials/site_nav_panel.php
@@ -0,0 +1,44 @@
+<?php
+// partials/site_nav_panel.php โ€” curated "Explore SillyLaird" link panel.
+// xahlee.info <nav class="lpanelxl"> style: a titled box with a tight vertical
+// link list, some entries carrying an enlarged emoji (.emojixl).
+// Shown on every non-homepage page (included from partials/footer.php).
+//
+// To curate: edit $panel_links below. ['href','label','emoji','external'].
+$panel_links = [
+ ['/now/', 'Now', '๐Ÿ“Œ'],
+ ['/motd/', 'MOTD', '๐Ÿ“œ'],
+ ['/journal/', 'Journal', '๐Ÿ““'],
+ ['https://blog.sillylaird.ca/', 'Blog', 'โœ', true],
+ ['/gaming/', 'Gaming archive', '๐ŸŽฎ'],
+ ['/gaming/collection/', 'Game Collection', '๐Ÿ“ผ'],
+ ['/gaming/multibox/', 'Multiboxing', 'โš”'],
+ ['/musictaste/', 'Music taste', '๐ŸŽต'],
+ ['/computers/', 'Computers', '๐Ÿ–ฅ'],
+ ['/bookmarks/', 'Bookmarks', '๐Ÿ”–'],
+ ['/links.php', 'Links', '๐Ÿ”—'],
+ ['/hatCollectionWebsite.php', 'Hat collection', '๐Ÿงข'],
+ ['/startpage/', 'StartPage', '๐Ÿ '],
+ ['/changelog/', 'Changelog', '๐Ÿ› '],
+ ['/guestbook.php', 'Guestbook', '๐Ÿ“–'],
+ ['/vblog/', 'vBlog', '๐ŸŽฌ'],
+ ['/whatsleft/', "What's left", '๐Ÿงน'],
+ ['/Laird_Lonergan_profile.php', 'Profile', '๐Ÿ‘ค'],
+ ['/map/', 'Site map', '๐Ÿ—บ'],
+];
+?>
+<div class="wrap">
+ <nav class="lpanelxl" aria-label="Explore SillyLaird">
+ <h3>Explore SillyLaird</h3>
+ <ul>
+<?php foreach ($panel_links as $l):
+ $href = htmlspecialchars($l[0], ENT_QUOTES, 'UTF-8');
+ $label = htmlspecialchars($l[1], ENT_QUOTES, 'UTF-8');
+ $emoji = htmlspecialchars($l[2] ?? '', ENT_QUOTES, 'UTF-8');
+ $ext = !empty($l[3]);
+?>
+ <li><a href="<?= $href ?>"<?= $ext ? ' target="_blank" rel="noopener noreferrer"' : '' ?>><?= $label ?><?php if ($emoji): ?> <span class="emojixl"><?= $emoji ?></span><?php endif; ?></a></li>
+<?php endforeach; ?>
+ </ul>
+ </nav>
+</div>