audon/audon-fe/src/views/HomeView.vue

46 wiersze
1009 B
Vue
Czysty Zwykły widok Historia

2022-12-06 08:57:20 +00:00
<script>
2022-12-07 05:45:05 +00:00
import { RouterLink } from "vue-router";
import { useMastodonStore } from "../stores/mastodon";
2022-12-06 08:57:20 +00:00
export default {
2022-12-07 05:45:05 +00:00
setup() {
return {
donStore: useMastodonStore(),
};
},
data() {
return {
query: ""
}
}
};
2022-12-03 03:20:49 +00:00
</script>
<template>
<main>
2022-12-07 05:45:05 +00:00
<div class="text-center my-10" >
<v-avatar class="rounded" size="100">
<v-img
:src="donStore.userinfo?.avatar"
:alt="donStore.userinfo?.displayName"
>
</v-img>
</v-avatar>
<h2 class="mt-5">
{{ donStore.userinfo?.displayName }}
</h2>
<div>
<a :href="donStore.userinfo?.url">{{ donStore.myWebfinger }}</a>
</div>
</div>
<v-row class="text-center" justify="center">
<!-- <v-col cols="12">
<v-text-field v-mode="query"></v-text-field>
</v-col> -->
<v-col cols="12">
<v-btn block :to="{name: 'create'}" color="indigo">部屋を作成</v-btn>
</v-col>
</v-row>
2022-12-03 03:20:49 +00:00
</main>
</template>