1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-20 06:28:04 +00:00

Show version number in about dialog (#28)

This commit is contained in:
2023-06-06 21:52:02 +02:00
committed by GitHub
parent 775e4d98d8
commit b29b534b2f
11 changed files with 51 additions and 8 deletions

View File

@ -1,6 +1,7 @@
<script>
import Modal from '$components/modal.svelte';
import alink from '$lib/actions/alink';
import environment from '$lib/stores/environment';
export let show = true;
</script>
@ -9,7 +10,10 @@
<div class="brand">
<img src="/logo.png" alt="Rolens logo" />
<div>
<div class="title">Rolens</div>
<div class="title">
Rolens
<span class="version">{$environment.version}</span>
</div>
<div class="description">Intuitive MongoDB <br/> administration tool</div>
</div>
</div>
@ -42,6 +46,11 @@
font-weight: 600;
line-height: 2.5rem;
}
.brand .title .version {
font-size: 80%;
font-weight: 300;
opacity: 0.65;
}
.brand .description {
font-size: 1.5rem;
line-height: 1.6rem;