forked from Mirrors/elk
14 lines
415 B
Vue
14 lines
415 B
Vue
<script setup lang="ts">
|
|
const { currentUser } = useAppStore()
|
|
</script>
|
|
|
|
<template>
|
|
<div flex flex-col gap-4 p4>
|
|
<!-- TODO: multiple account switcher -->
|
|
<AccountInfo v-if="currentUser?.account" :account="currentUser.account" />
|
|
<!-- TODO: dialog for select server -->
|
|
<a v-else href="/api/mas.to/login" px2 py1 bg-teal6 text-white m2 rounded>Login</a>
|
|
<PublishWidget />
|
|
</div>
|
|
</template>
|