diff --git a/CHANGES.md b/CHANGES.md index 5aee6fe0..a1ca4096 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,8 @@ Version 0.4.0 To be released. + - The profile page now shows a user's cover image if they have one. + Version 0.3.0 ------------- diff --git a/src/components/Profile.tsx b/src/components/Profile.tsx index 347af7c7..ee88cf90 100644 --- a/src/components/Profile.tsx +++ b/src/components/Profile.tsx @@ -14,7 +14,14 @@ export function Profile({ accountOwner }: ProfileProps) { const bioHtml = renderCustomEmojis(account.bioHtml ?? "", account.emojis); const url = account.url ?? account.iri; return ( - <> +
+ {account.coverUrl && ( + + )}
{account.avatarUrl && ( )} - +
); }