updated AlphaNotice to be collapsed by default

This commit is contained in:
Jonas_Jones 2025-03-09 21:16:17 +01:00
parent 53eeebaf0a
commit 0ae6af7818
2 changed files with 14 additions and 6 deletions

View file

@ -1,10 +1,18 @@
<script>
export let expanded;
</script>
<div class="alpha-notice">
<h2><b>This is an Alpha Version</b></h2>
<p>
Note that this Dashboard is in an alpha state. This means that there are bugs and missing features.
Please report any bugs or issues to the
<a href="https://github.com/JonasunderscoreJones/dash.jonasjones.dev/issues">GitHub repository</a>.
</p>
{#if expanded}
<p>
Note that this Dashboard is in an alpha state. This means that there are bugs and missing features.
Please report any bugs or issues to the
<a href="https://github.com/JonasunderscoreJones/dash.jonasjones.dev/issues">GitHub repository</a>.
</p>
{:else}
<a href="/about">More Info</a>
{/if}
</div>
<style>

View file

@ -10,7 +10,7 @@
<div class="text-column">
<h1>About this Dashboard</h1>
<AlphaNotice />
<AlphaNotice expanded={true} />
<p>
This is a Dashboard app for my Ecosystem's services.