Update frontend/src/components/Avatar.jsx
Browse files
frontend/src/components/Avatar.jsx
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
import React from 'react';
|
2 |
-
import '../avatar.css';
|
3 |
-
|
4 |
-
export default function Avatar({onClick}) {
|
5 |
-
|
6 |
-
|
7 |
-
return (
|
8 |
-
<div className="avatar-container" onClick={onClick}>
|
9 |
-
<div
|
10 |
-
className="avatar-image-wrapper"
|
11 |
-
|
12 |
-
>
|
13 |
-
<img
|
14 |
-
className="circular--portrait-img"
|
15 |
-
alt="me"
|
16 |
-
src={new URL("../../public/
|
17 |
-
/>
|
18 |
-
</div>
|
19 |
-
</div>
|
20 |
-
);
|
21 |
}
|
|
|
1 |
+
import React from 'react';
|
2 |
+
import '../avatar.css';
|
3 |
+
|
4 |
+
export default function Avatar({onClick}) {
|
5 |
+
|
6 |
+
|
7 |
+
return (
|
8 |
+
<div className="avatar-container" onClick={onClick}>
|
9 |
+
<div
|
10 |
+
className="avatar-image-wrapper"
|
11 |
+
|
12 |
+
>
|
13 |
+
<img
|
14 |
+
className="circular--portrait-img"
|
15 |
+
alt="me"
|
16 |
+
src={new URL("../../public/logo_schizoprene.png", import.meta.url).href}
|
17 |
+
/>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
);
|
21 |
}
|