pinafore/routes/_components/Avatar.html

16 lines
277 B
HTML

<img alt="Profile picture for @{{account.acct}}" src="{{account.avatar_static}}">
<style>
img {
width: 48px;
height: 48px;
margin: 0 auto;
border-radius: 4px;
}
</style>
<script>
export default {
data: () => ({
account: null
})
}
</script>