Work on login screen

This commit is contained in:
Jon Staab
2024-08-09 16:22:09 -07:00
parent 51cfa5f0e8
commit 71d819edc7
32 changed files with 698 additions and 534 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
<script context="module" lang="ts">
import {emitter} from "@app/modal"
const modalHeight = tweened(0, {
duration: 700,
easing: quintOut
})
emitter.on('close', () => modalHeight.set(0))
</script>
<script lang="ts">
@@ -13,7 +17,7 @@
import {last} from '@welshman/lib'
export let component
export let props
export let props = {}
let box: HTMLElement
let content: HTMLElement
@@ -21,7 +25,7 @@
onMount(() => {
naturalHeight = content.clientHeight + 48
$modalHeight = naturalHeight
modalHeight.set(naturalHeight)
})
</script>