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

View file

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