diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue new file mode 100644 index 00000000..bc55f82a --- /dev/null +++ b/components/account/AccountHeader.vue @@ -0,0 +1,80 @@ + + + diff --git a/pages/@[user]/index.vue b/pages/@[user]/index.vue index 2bfaa50a..9d7f707c 100644 --- a/pages/@[user]/index.vue +++ b/pages/@[user]/index.vue @@ -4,10 +4,12 @@ const props = defineProps<{ }>() const params = useRoute().params +const masto = await useMasto() +const { data: account } = await useAsyncData('account', () => masto.accounts.lookup({ acct: params.user as string }))