fe: fix home icon link under subdir

when hosting laminar under a subdir, href=/ will break out of
the application. Use href=. instead (relative to base href)
pull/167/head
Oliver Giles 2 years ago
parent 7c4e1108ae
commit 7eb19ce8c4

@ -194,7 +194,7 @@
<main id="app" style="display: grid; grid-template-rows: auto 1fr auto; height: 100%;">
<nav id="nav-top" style="display: grid; grid-template-columns: auto auto 1fr auto auto; grid-gap: 15px;">
<router-link to="/" style="display: grid; grid-auto-flow: column; align-items: center; margin: 5px; font-size: 20px;">
<router-link to="." style="display: grid; grid-auto-flow: column; align-items: center; margin: 5px; font-size: 20px;">
<img src="icon.png"> {{title}}
</router-link>
<div id="nav-top-links" style="display: grid; grid-auto-flow: column; justify-content: start; gap: 15px; padding: 0 15px; align-items: center; font-size: 16px;">

Loading…
Cancel
Save