mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 13:41:22 +00:00
Gradient Avatar
This commit is contained in:
@@ -10,12 +10,13 @@ interface Props {
|
||||
const Avatar: FC<Props> = ({ className }) => {
|
||||
const rootClassName = cn(s.root, className)
|
||||
return (
|
||||
<div className={rootClassName}>
|
||||
<img
|
||||
className="inline-block h-8 w-8 rounded-full"
|
||||
src="https://vercel.com/api/www/avatar/61182a9f6bda512b4d9263c9c8a60aabe0402f4c?s=204"
|
||||
alt=""
|
||||
></img>
|
||||
<div
|
||||
className="inline-block h-8 w-8 rounded-full border border-accent"
|
||||
style={{
|
||||
backgroundImage: 'linear-gradient(160deg, #F9CB28, #FF4D4D 100%)',
|
||||
}}
|
||||
>
|
||||
{/* <img></img> */}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user