From e9f52a0ea1e5fdf089bc3289925a289a5cf57035 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 6 Feb 2022 02:29:52 +0000 Subject: [PATCH] Added historical section --- pages/etcetera.php | 54 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/pages/etcetera.php b/pages/etcetera.php index fe1753b..709611c 100644 --- a/pages/etcetera.php +++ b/pages/etcetera.php @@ -44,6 +44,39 @@ $router->get('/etc', function() { ], ]; + $historical = [ + [ + 'title' => 'flash.moe / 2014', + 'desc' => 'The first iteration of flash.moe. Very simple and to the point.', + 'link' => '//abyss.flash.moe/flash.moe2014', + ], + [ + 'title' => 'flash.moe / 2015', + 'desc' => 'My first attempt to make something with a properly thought out design. It\'s definitely a first attempt.', + 'link' => '//abyss.flash.moe/flash.moe2015', + ], + [ + 'title' => 'flash.moe / 2018', + 'desc' => 'An attempt at a redesign that didn\'t go anywhere. I wanted to go all in on the pixel grid aesthetic but phones made it difficult so this was never used.', + 'link' => '//abyss.flash.moe/flash.moe2018', + ], + [ + 'title' => 'flash.moe / 2019', + 'desc' => 'A return to basics. Just a blog, a bar with links and a list of projects. I attempted to add the necessary fallbacks to make this version of the site work well in IE5.5 and Netscape 4.', + 'link' => '//abyss.flash.moe/flash.moe2019', + ], + [ + 'title' => 'flash.moe / 2020', + 'desc' => 'A refinement of the 2019 design, largely based on the same code also. Added more subpages but with a more consistent look.', + 'link' => '//abyss.flash.moe/flash.moe2020', + ], + [ + 'title' => 'flash.moe / 2021', + 'desc' => 'I always thought previous iterations of flash.moe lacked personality. I threw out a lot of preconceptions when making the 2021 design and I think it paid off. Currently this is still the face of flash.moe but the backend is pretty much entirely different, I\'m planning an overhaul that puts more focus on the blog again and also fixes the JSON trash navigation issues.', + 'link' => '//abyss.flash.moe/flash.moe2021', + ], + ]; + $body = fm_component('header', [ 'title' => 'flash.moe / etcetera', ]); @@ -69,6 +102,27 @@ HTML; HTML; } + $body .= << +
+
+

Historical

+
+ +HTML; + + foreach($historical as $link) { + $body .= << +
+ +

{$link['title']}

+

{$link['desc']}

+
+ +HTML; + } + $body .= fm_component('footer'); return $body;