2022-11-16 00:48:23 +09:00
|
|
|
<script setup lang="ts">
|
|
|
|
const { currentUser } = useAppStore()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-17 06:27:02 +09:00
|
|
|
<div flex flex-col gap-4 p4>
|
2022-11-16 00:48:23 +09:00
|
|
|
<!-- 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>
|
2022-11-17 06:27:02 +09:00
|
|
|
<PublishWidget />
|
2022-11-16 00:48:23 +09:00
|
|
|
</div>
|
|
|
|
</template>
|