chore: bump Vegvisir to 3.7.0 (#69)

In this PR we add support for and bump Vegvisir to version 3.7.0

Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/69
This commit is contained in:
Victor Westerlund 2026-03-28 13:18:19 +01:00
parent f58d79ae77
commit eeaaeeecdd
11 changed files with 27 additions and 28 deletions

View file

@ -55,7 +55,7 @@
}; };
?> ?>
<style><?= VV::css("public/assets/css/pages/about") ?></style> <?= VV::css("public/assets/css/pages/about") ?>
<section class="intro"> <section class="intro">
<h2 aria-hidden="true">Hi, I'm</h2> <h2 aria-hidden="true">Hi, I'm</h2>
<h1>Victor Westerlund</h1> <h1>Victor Westerlund</h1>
@ -143,4 +143,4 @@
<p>RFC&nbsp;3339</p> <p>RFC&nbsp;3339</p>
<p>digital archiving</p> <p>digital archiving</p>
</div> </div>
<script><?= VV::js("public/assets/js/pages/about") ?></script> <?= VV::js("public/assets/js/pages/about") ?>

View file

@ -37,7 +37,7 @@
} }
?> ?>
<style><?= VV::css("public/assets/css/pages/contact") ?></style> <?= VV::css("public/assets/css/pages/contact") ?>
<section> <section>
<h1>Let's chat!</h1> <h1>Let's chat!</h1>
<p>The best way to get in touch is definitely by email, or through the form on this page. The time in Sweden is <i><?= $date->format("h:i a") ?></i> right now, I am currently <?= $date->is_available() ? "available" : "not available" ?> and will hopefully reply in about <?= $date->get_estimated_reply_hours() ?> hours.</p> <p>The best way to get in touch is definitely by email, or through the form on this page. The time in Sweden is <i><?= $date->format("h:i a") ?></i> right now, I am currently <?= $date->is_available() ? "available" : "not available" ?> and will hopefully reply in about <?= $date->get_estimated_reply_hours() ?> hours.</p>
@ -112,4 +112,4 @@
</button> </button>
</form> </form>
</section> </section>
<script ><?= VV::js("public/assets/js/pages/contact") ?></script> <?= VV::js("public/assets/js/pages/contact") ?>

View file

@ -1,6 +1,6 @@
<style><?= VV::css("public/assets/css/pages/error") ?></style> <?= VV::css("public/assets/css/pages/error") ?>
<canvas></canvas> <canvas></canvas>
<section class="error"> <section class="error">
<h1 glitch-text><span>4</span><span>0</span><span>4</span></h1> <h1 glitch-text><span>4</span><span>0</span><span>4</span></h1>
</section> </section>
<script type="module"><?= VV::js("public/assets/js/pages/error") ?></script> <script type="module"><?= VV::js("public/assets/js/pages/error") ?>

View file

@ -7,7 +7,7 @@
} }
?> ?>
<style><?= VV::css("public/assets/css/pages/index") ?></style> <?= VV::css("public/assets/css/pages/index") ?>
<div class="menu"> <div class="menu">
<?= VV::embed("public/assets/media/line.svg") ?> <?= VV::embed("public/assets/media/line.svg") ?>
<menu> <menu>
@ -23,4 +23,4 @@
</div> </div>
<img src="/assets/media/gazing.jpg" alt="A portrait of Victor with a pair of cartoon glasses drawn in the shape of two V's over his eyes"/> <img src="/assets/media/gazing.jpg" alt="A portrait of Victor with a pair of cartoon glasses drawn in the shape of two V's over his eyes"/>
<script type="module"><?= VV::js("public/assets/js/pages/index") ?></script> <?= VV::js("public/assets/js/pages/index") ?>

View file

@ -14,7 +14,7 @@
$search = new class extends Search { $search = new class extends Search {
public readonly string $query; public readonly string $query;
public readonly array $results; public readonly array $results;
public function __construct() { public function __construct() {
$this->query = $_GET[GET_KEY_QUERY] ?? ""; $this->query = $_GET[GET_KEY_QUERY] ?? "";
$this->results = strlen($this->query) >= MIN_QUERY_LENGTH ? parent::query($this->query, limit: LIMIT_RESULTS) : []; $this->results = strlen($this->query) >= MIN_QUERY_LENGTH ? parent::query($this->query, limit: LIMIT_RESULTS) : [];
@ -22,7 +22,7 @@
} }
?> ?>
<style><?= VV::css("public/assets/css/pages/search") ?></style> <?= VV::css("public/assets/css/pages/search") ?>
<section class="search"> <section class="search">
<form> <form>
<input name="<?= GET_KEY_QUERY ?>" type="search" placeholder="search vlw.se..." value="<?= $search->query ?>"> <input name="<?= GET_KEY_QUERY ?>" type="search" placeholder="search vlw.se..." value="<?= $search->query ?>">
@ -42,7 +42,7 @@
</section> </section>
<?php if (isset($_GET[GET_KEY_QUERY])): ?> <?php if (isset($_GET[GET_KEY_QUERY])): ?>
<?php if ($search->results): ?> <?php if ($search->results): ?>
<section class="stats"> <section class="stats">
<p><?= count($search->results) ?> result(s)</p> <p><?= count($search->results) ?> result(s)</p>
@ -96,7 +96,7 @@
<?php break; ?> <?php break; ?>
<?php endswitch; ?> <?php endswitch; ?>
<?php endif; ?> <?php endif; ?>
<?php else: ?> <?php else: ?>
@ -105,4 +105,4 @@
<p>Start typing to search</p> <p>Start typing to search</p>
</section> </section>
<?php endif; ?> <?php endif; ?>
<script><?= VV::js("public/assets/js/pages/search") ?></script> <?= VV::js("public/assets/js/pages/search") ?>

View file

@ -37,8 +37,8 @@
//--><!]]> //--><!]]>
</script> </script>
<style><?= VV::css("public/assets/css/fonts") ?></style> <?= VV::css("public/assets/css/fonts") ?>
<style><?= VV::css("public/assets/css/shell") ?></style> <?= VV::css("public/assets/css/shell") ?>
<title>Victor Westerlund</title> <title>Victor Westerlund</title>
<link rel="icon" href="/assets/media/vw.svg"/> <link rel="icon" href="/assets/media/vw.svg"/>
@ -73,7 +73,7 @@
</searchbox> </searchbox>
</header> </header>
<vv-shell></vv-shell> <?= VV::shell() ?>
<search-results> <search-results>
<div class="info empty"> <div class="info empty">
@ -82,7 +82,6 @@
</div> </div>
</search-results> </search-results>
<?= VV::init() ?> <?= VV::js("public/assets/js/shell") ?>
<script><?= VV::js("public/assets/js/shell") ?></script>
</body> </body>
</html> </html>

View file

@ -1,4 +1,4 @@
<style><?= VV::css("public/assets/css/pages/work/archive") ?></style> <?= VV::css("public/assets/css/pages/work/archive") ?>
<section> <section>
<h1>This is an archived website!</h1> <h1>This is an archived website!</h1>
<p>You're about to view an archived version of this website on my domain. Everything you see, and all features that are available on the archived website have been recreated to simulate the real behavior as closely as possible. Some features can unfortunately not be simulated properly and have been disabled completely. No actions you take on this website have any real effects.</p> <p>You're about to view an archived version of this website on my domain. Everything you see, and all features that are available on the archived website have been recreated to simulate the real behavior as closely as possible. Some features can unfortunately not be simulated properly and have been disabled completely. No actions you take on this website have any real effects.</p>
@ -9,4 +9,4 @@
<?= VV::embed("public/assets/media/icons/chevron.svg") ?> <?= VV::embed("public/assets/media/icons/chevron.svg") ?>
</button></a> </button></a>
</section> </section>
<script><?= VV::js("public/assets/js/pages/work/archive") ?></script> <?= VV::js("public/assets/js/pages/work/archive") ?>

View file

@ -5,7 +5,7 @@
require_once VV::root("src/Database/Models/Work/Work.php"); require_once VV::root("src/Database/Models/Work/Work.php");
?> ?>
<style><?= VV::css("public/assets/css/pages/work/index") ?></style> <?= VV::css("public/assets/css/pages/work/index") ?>
<section class="hero"> <section class="hero">
<div class="item vegvisir"> <div class="item vegvisir">
<div class="wrapper"> <div class="wrapper">

View file

@ -42,7 +42,7 @@
} }
?> ?>
<style><?= VV::css("public/assets/css/pages/work/timeline") ?></style> <?= VV::css("public/assets/css/pages/work/timeline") ?>
<section class="git"> <section class="git">
<?= VV::embed("public/assets/media/icons/codeberg.svg") ?> <?= VV::embed("public/assets/media/icons/codeberg.svg") ?>
<p>This timeline has most but not all of my FOSS software. If you want to see a list of all things I've created for the free software world, check out my repos on Codeberg or Forgejo.</p> <p>This timeline has most but not all of my FOSS software. If you want to see a list of all things I've created for the free software world, check out my repos on Codeberg or Forgejo.</p>
@ -104,7 +104,7 @@
<?php endif; ?> <?php endif; ?>
<p><?= $work->summary ?></p> <p><?= $work->summary ?></p>
<?php if ($work->actions()): ?> <?php if ($work->actions()): ?>
<div class="actions"> <div class="actions">
@ -138,8 +138,8 @@
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</section> </section>

View file

@ -1,4 +1,4 @@
<style><?= VV::css("public/assets/css/pages/work/wip") ?></style> <?= VV::css("public/assets/css/pages/work/wip") ?>
<section class="disclaimer"> <section class="disclaimer">
<h1>Soon, very soon!</h1> <h1>Soon, very soon!</h1>
<p>Bear with me as I cook up some texts about this project! Hopefully with some pictures too.</p> <p>Bear with me as I cook up some texts about this project! Hopefully with some pictures too.</p>
@ -8,4 +8,4 @@
<p>to featured work</p> <p>to featured work</p>
<?= VV::embed("public/assets/media/icons/chevron.svg") ?> <?= VV::embed("public/assets/media/icons/chevron.svg") ?>
</button></a> </button></a>
</section> </section>

@ -1 +1 @@
Subproject commit da0f56400903edaa53829c21e6a9142f5b22c23f Subproject commit 08758c560f953bdca0c8b2a4042479d2dc3702c7