diff options
| author | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
|---|---|---|
| committer | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
| commit | 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 (patch) | |
| tree | 85c6ee5ad58b860144551184d4cf86b560c62b91 /partials/site_nav_panel.php | |
| download | www-898b52edcb47bcb3e9d6106e74ca73e74ea01e70.tar.gz www-898b52edcb47bcb3e9d6106e74ca73e74ea01e70.zip | |
Diffstat (limited to 'partials/site_nav_panel.php')
| -rw-r--r-- | partials/site_nav_panel.php | 44 |
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> |
