mirror of
https://codeberg.org/vegvisir/website.git
synced 2025-09-14 00:43:42 +02:00
75 lines
No EOL
2.7 KiB
PHP
75 lines
No EOL
2.7 KiB
PHP
<?php
|
|
|
|
use const VVWebsite\{MEDIA_DIR, DEFAULT_BUTTON_ICON};
|
|
|
|
require_once VV::root("src/Consts.php");
|
|
|
|
?>
|
|
<style><?= VV::css("public/assets/css/snippets/split") ?></style>
|
|
<style><?= VV::css("public/assets/css/pages/index") ?></style>
|
|
<section id="intro" class="split">
|
|
<div class="text">
|
|
<h1>PHP Web framework</h1>
|
|
<h3>with automatic soft-navigation <a href="/features">and more!</a></h3>
|
|
<p>developed as a hobby project by <a href="https://vlw.se">Victor Westerlund</a></p>
|
|
</div>
|
|
<div class="compass">
|
|
<?= VV::embed(MEDIA_DIR . "compass-points.svg") ?>
|
|
<?= VV::embed(MEDIA_DIR . "compass-points.svg") ?>
|
|
<?= VV::embed(MEDIA_DIR . "compass.svg") ?>
|
|
</div>
|
|
</section>
|
|
<section id="softnav" class="split">
|
|
<div class="text">
|
|
<h1>Automatic soft navigation</h1>
|
|
<p>Load the shell of your website once, and soft-navigate between pages on the same host. That's what Vegvisir will automatically handle for you - without any ugly handle attributes.</p>
|
|
<div class="buttons">
|
|
<a href="/demos"><button class="inline solid">
|
|
<p>more examples</p>
|
|
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
|
|
</button></a>
|
|
<a href="/docs/Reference/JavaScript"><button class="inline">
|
|
<p>reference</p>
|
|
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
|
|
</button></a>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=index_softnav") ?>
|
|
</div>
|
|
</section>
|
|
<section id="assets" class="split reverse">
|
|
<div class="text">
|
|
<h1>Asset injection</h1>
|
|
<p>Bundle page-specific CSS and JavaScript from separate files directly with your markdown. Vegvisir will import and minify CSS and JavaScript on the fly and return the result as compiled HTML.</p>
|
|
<div class="buttons">
|
|
<a href="/demos"><button class="inline solid">
|
|
<p>more examples</p>
|
|
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
|
|
</button></a>
|
|
<a href="/docs/Reference/PHP/VV/css"><button class="inline">
|
|
<p>reference</p>
|
|
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
|
|
</button></a>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=index_assets") ?>
|
|
</div>
|
|
</section>
|
|
<section id="freedom" class="split center">
|
|
<div class="text">
|
|
<h1>Respects your freedom</h1>
|
|
<p>No tracking, no telemetry, no spying, and a fully available source code licensed under GNU GPLv3. Vegvisir will always be free, libre software.</p>
|
|
<div class="buttons">
|
|
<a href="https://codeberg.org/vegvisir/vegvisir"><button class="inline">
|
|
<p>source code</p>
|
|
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
|
|
</button></a>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<?= VV::embed(MEDIA_DIR . "gnu.svg") ?>
|
|
</div>
|
|
</section>
|
|
<script><?= VV::js("public/assets/js/pages/index") ?></script>
|