feat: implement generic <Avatar> component
This commit is contained in:
parent
f4ddcf9d8d
commit
f98e8c6110
5 changed files with 82 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
|||
<template>
|
||||
<div id="profile-popup">
|
||||
<img v-if="props.user.avatar" id="avatar" :src="props.user.avatar" alt="profile avatar">
|
||||
<Icon v-else id="avatar" name="lucide:user" />
|
||||
<Avatar :user="props.user" id="avatar"/>
|
||||
|
||||
<div id="cover-color"></div>
|
||||
<div id="main-body">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue