diff --git a/public/assets/makai22.css b/public/assets/makai22.css deleted file mode 100644 index 83777dc..0000000 --- a/public/assets/makai22.css +++ /dev/null @@ -1,156 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; - position: relative; - outline-style: none; -} - -:root { - --site-max-width: 1200px; - --site-border-radius: 10px; -} - -html, body { - width: 100%; - height: 100%; - scrollbar-color: #4a3650 #111; -} - -.makai22 { - width: 100%; - height: 100%; - background-color: #111; - color: #fff; - font-size: 16px; - line-height: 24px; - font-family: Tahoma, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif; -} - -.head { - padding: 10px 0; -} - -.head-float { - overflow: hidden; - margin: 0 auto; - max-width: var(--site-max-width); - width: 100%; - border-radius: var(--site-border-radius); - box-shadow: 0 1px 5px #222; -} - -.head-float-bg { - position: absolute; - top: 0; - bottom: 0; - right: 0; - left: 0; - overflow: hidden; -} -.head-float-bg img { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - object-fit: cover; - filter: blur(20px) brightness(80%); - transform: scale(1.2); - opacity: 1; - transition: opacity .5s; - pointer-events: none; -} - -.head-float-fg { - display: flex; - flex-direction: column; - width: 100%; - height: 100%; -} -.head-float-fg-logo { - flex: 1 1 auto; - padding: 30px 30px 20px; -} -.head-float-fg-nav { - flex: 0 0 auto; -} - -.fw-logo { - font-family: 'Electrolize', Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif; - font-size: 3em; - line-height: 1.2em; - filter: drop-shadow(0 1px 5px #000); -} -.fw-logo-link { - color: transparent; - text-decoration: none; - display: inline-flex; - flex: 0 0 auto; -} -.fw-logo-flash { - background-image: linear-gradient(180deg, #eee 0%, #ddd 50%, #ccc 50%, #aaa 100%); - background-clip: text; - -webkit-background-clip: text; -} -.fw-logo-wave { - background-image: linear-gradient(0deg, #281430 0%, #392540 50%, #4a3650 50%, #6c5871 100%); - -webkit-background-clip: text; -} - -.topnav { - display: flex; - margin: 0 8px; -} -.topnav-item { - display: block; - margin: 0 2px 10px; - padding: 5px; - text-decoration: none; - color: #fff; - min-width: 100px; - text-align: center; - border-radius: var(--site-border-radius); - text-shadow: 0 1px 5px #000; - transition: background-color .1s; -} -.topnav-item:hover, -.topnav-item:focus { - background-color: #fff1; -} -.topnav-item:active { - background-color: #8881; -} - -.layout { - max-width: var(--site-max-width); - margin: 0 auto; - display: flex; -} -.layout-main { - flex: 1 1 auto; -} -.layout-spacer { - flex: 0 0 auto; - width: 5px; -} -.layout-side { - flex: 0 0 auto; - width: 300px; -} - -.copyright { - font-size: 11px; - line-height: 1.5em; - text-align: center; - color: #555; -} - -.container { - width: 100%; - border-radius: var(--site-border-radius); - overflow: hidden; - margin: 5px 0; - box-shadow: 0 1px 5px #222; - background-color: #1f1f1f; -} diff --git a/public/assets/makai22.js b/public/assets/makai22.js deleted file mode 100644 index e69de29..0000000 diff --git a/public/index.php b/public/index.php index 2af4ebe..c7d7c0d 100644 --- a/public/index.php +++ b/public/index.php @@ -103,16 +103,6 @@ $router->get('/home', function() use ($ctx) { return $ctx->getTemplating()->render('home/index'); }); -$router->get('/2022', function() use ($ctx) { - $db = $ctx->getDatabase(); - - return $ctx->getTemplating()->render('index22', [ - 'projects' => (new Projects($db))->getFeatured(), - 'languages' => new Languages($db), - 'contacts' => (new Contacts($db))->getHomePage(), - ]); -}); - $router->get('/', function() use ($ctx) { $legacyPage = (string)filter_input(INPUT_GET, 'p'); if(!empty($legacyPage)) { diff --git a/tpl/_layout/copy22.php b/tpl/_layout/copy22.php deleted file mode 100644 index 9989e0b..0000000 --- a/tpl/_layout/copy22.php +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/tpl/_layout/header22.php b/tpl/_layout/header22.php deleted file mode 100644 index c1a4890..0000000 --- a/tpl/_layout/header22.php +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
- -
- -
-
diff --git a/tpl/_layout/sidebar22.php b/tpl/_layout/sidebar22.php deleted file mode 100644 index e69de29..0000000 diff --git a/tpl/index22.php b/tpl/index22.php deleted file mode 100644 index 37947cc..0000000 --- a/tpl/index22.php +++ /dev/null @@ -1,26 +0,0 @@ -extends('master22'); - -$self->header_title = 'flash.moe'; - -$self->block('main', function($self) { -?> -
- blah -
-
- blah -
-block('sidebar', function($self) { -?> -
- blah -
-
- blah -
- - - - - <?=($self->header_title ?? 'flash.moe');?> - - - - - - - include('_layout/header22');?> - container_type ?? ''): case 'linear': ?> -
- getBlock('main');?> -
- - -
-
-
- getBlock('main');?> -
-
-
-
- -
-
- - - -