website/public/shell.php

121 lines
No EOL
3.9 KiB
PHP

<?php
use const VVWebsite\{MEDIA_DIR, ICONS_DIR, DEFAULT_BUTTON_ICON};
require_once VV::root("src/Consts.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta property="og:title" content="Vegvisir"/>
<meta property="og:type" content="website"/>
<meta property="og:description" content="A PHP and JavaScript Web Framework that handles navigation and routing, and nothing else."/>
<!--<meta property="og:image" content="https://vlw.se/assets/media/ogp.jpg"/>-->
<script>
<!--//--><![CDATA[//><!--
/**
* @licstart The following is the entire license notice for the JavaScript
* code in this page.
*
* Copyright (C) 2020 Free Software Foundation.
*
* The JavaScript code in this page is free software: you can redistribute
* it and/or modify it under the terms of the GNU General Public License
* (GNU GPL) as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version. The code is
* distributed WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GPL
* for more details.
*
* As additional permission under GNU GPL version 3 section 7, you may
* distribute non-source (e.g., minimized or compacted) forms of that code
* without the copy of the GNU GPL normally required by section 4, provided
* you include this license notice and a URL through which recipients can
* access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript code
* in this page.
*/
//--><!]]>
</script>
<style><?= VV::css("public/assets/css/fonts") ?></style>
<style><?= VV::css("public/assets/css/syntax") ?></style>
<style><?= VV::css("public/assets/css/shell") ?></style>
<title>Vegvisir</title>
<link rel="icon" href="/assets/media/logo.svg"/>
</head>
<body>
<header>
<a href="/"><?= VV::embed(MEDIA_DIR . "logo.svg") ?></a>
<nav>
<a href="/"><button class="inline sly">
<p>vegvisir</p>
</button></a>
<div></div>
<a href="/features"><button class="inline sly">
<p>features</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs"><button class="inline sly">
<p>documentation</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/examples"><button class="inline sly">
<p>examples</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
</nav>
<nav>
<a href="mailto:victor@vlw.se"><button class="inline">
<?= VV::embed(ICONS_DIR . "email.svg") ?>
</button></a>
<a href="matrix:@vegvisir:vlw.se"><button class="inline">
<?= VV::embed(ICONS_DIR . "matrix.svg") ?>
</button></a>
<a href="https://codeberg.org/vegvisir"><button class="inline">
<?= VV::embed(ICONS_DIR . "codeberg.svg") ?>
</button></a>
<a href="/docs/get-started"><button class="inline solid">
<p>get started</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
</nav>
</header>
<vv-shell></vv-shell>
<footer>
<nav>
<p>Copyleft <?= date("Y") ?> - All rights reversed</p>
</nav>
<nav>
<a href="https://vlw.se"><button class="inline sly">
<p>vlw</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="https://codeberg.org/vegvisir/vegvisir/src/branch/master/LICENSE"><button class="inline sly">
<p>license</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="https://codeberg.org/vegvisir/website"><button class="inline sly">
<p>website</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="https://codeberg.org/vegvisir/vegvisir"><button class="inline solid sly">
<p>contribute ❤️</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
</nav>
</footer>
<?= VV::init() ?>
<script type="module"><?= VV::js("public/assets/js/shell") ?></script>
</body>
</html>