1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-31 18:29:28 +00:00
rolens/frontend/src/organisms/about.svelte

73 lines
1.6 KiB
Svelte
Raw Normal View History

2023-05-29 22:09:09 +02:00
<script>
2023-05-30 21:45:51 +02:00
import Modal from '$components/modal.svelte';
2023-05-29 22:09:09 +02:00
import alink from '$lib/actions/alink';
import environment from '$lib/stores/environment';
2023-05-29 22:09:09 +02:00
export let show = true;
</script>
<Modal bind:show width="400px" title=" ">
<div class="brand">
<img src="/logo.png" alt="Rolens logo" />
<div>
<div class="title">
Rolens
<span class="version">{$environment.version}</span>
</div>
2023-06-11 09:34:00 +02:00
<div class="description">Intuitive MongoDB <br /> administration tool</div>
2023-05-29 22:09:09 +02:00
</div>
</div>
<hr />
<div class="info">
<p class="copy">© Romein van Buren, 2023.</p>
<p>
<a href="https://garraflavatra.github.io/rolens/" use:alink>Documentation</a> |
2023-05-29 22:09:09 +02:00
<a href="https://github.com/garraflavatra/rolens" use:alink>GitHub</a> |
<a href="https://github.com/garraflavatra/rolens/issues/new" use:alink>Report a bug</a> |
<a href="https://github.com/garraflavatra/rolens/blob/main/LICENSE" use:alink>License</a>
</p>
</div>
</Modal>
<style>
.brand {
display: flex;
align-items: center;
justify-content: space-around;
}
.brand > img {
width: 125px;
flex: 0 1 125px;
}
.brand .title {
font-size: 2.25rem;
font-weight: 600;
line-height: 2.5rem;
}
.brand .title .version {
font-size: 80%;
font-weight: 300;
opacity: 0.65;
}
2023-05-29 22:09:09 +02:00
.brand .description {
font-size: 1.5rem;
line-height: 1.6rem;
}
hr {
margin: 2rem 1rem;
}
.info {
font-size: 1.25rem;
line-height: 1.25rem;
margin: 0 1rem 1rem;
text-align: center;
}
.info .copy {
font-weight: 500;
}
</style>