feat: a11y account info (#98)

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
Sam Richard 2022-11-26 19:19:45 -05:00 committed by GitHub
parent 49b63aa3b2
commit f5ca6c22a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -9,6 +9,8 @@ const { account, link = true, fullServer = false } = defineProps<{
}>()
</script>
<!-- TODO: Make this work for both buttons and links -->
<!-- This is sometimes (like in the sidebar) used directly as a button, and sometimes, like in follow notifications, as a link. I think this component may need a second refactor that either lets an implementation pass in a link or an action and adapt to what's passed in, or the implementations need to be updated to wrap in the action they want to take and this be just the layout for these items -->
<template>
<div flex gap-3 cursor-default>
<div flex-shrink-0>