fix: profile banner

closes #30
This commit is contained in:
Kieran 2023-11-14 14:53:19 +00:00
parent 0882425eea
commit f2c2e3a39b
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -76,7 +76,7 @@ export function ProfilePage() {
return (
<div className="profile-page">
<div className="profile-container">
<img className="banner" alt={profile?.name || link.id} src={profile?.banner || defaultBanner} />
<img className="banner" alt={profile?.name || link.id} src={profile?.banner ? profile?.banner : defaultBanner} />
<div className="profile-content">
{profile?.picture ? (
<img className="avatar" alt={profile.name || link.id} src={profile.picture} />