🎉 Init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<Transition
|
||||
enter-active-class="transition duration-200 ease-out"
|
||||
enter-from-class="translate-y-2 opacity-0"
|
||||
enter-to-class="translate-y-0 opacity-100"
|
||||
leave-active-class="transition duration-150 ease-in"
|
||||
leave-from-class="translate-y-0 opacity-100"
|
||||
leave-to-class="translate-y-2 opacity-0"
|
||||
>
|
||||
<div
|
||||
v-if="message"
|
||||
class="fixed bottom-6 left-1/2 z-50 flex -translate-x-1/2 items-center gap-2 rounded-lg border border-border bg-surface-raised px-4 py-2.5 text-sm text-text shadow-lg shadow-black/40"
|
||||
>
|
||||
<span class="material-symbols-outlined text-accent">info</span>
|
||||
{{ message }}
|
||||
</div>
|
||||
</Transition>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{ message: string | null }>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user