feat: improve connection ux

[deploy]
This commit is contained in:
2023-07-23 21:29:54 +02:00
parent 634073f10d
commit 5cdf969c6d
8 changed files with 81 additions and 261 deletions

View File

@@ -31,15 +31,10 @@
$layout = backup.layout
}
}
async function createShareUrl() {
console.log(await getSharableUrl("chords", $chords))
}
</script>
<section>
<h2>Backup & Restore</h2>
<label><input type="checkbox" use:preference={"backup"} />Local backups</label>
<h2><label><input type="checkbox" use:preference={"backup"} />Local Backup</label></h2>
<p class="disclaimer">
<i>Backups remain on your computer and are never shared or uploaded to our servers.</i>
</p>
@@ -52,6 +47,19 @@
</section>
<style lang="scss">
h2 {
margin-block-end: 0;
> label {
gap: 10px;
font-size: 24px;
> input {
font-size: 12px;
}
}
}
section {
display: flex;
flex-direction: column;