diff --git a/src/web/src/components/Posts/Post.tsx b/src/web/src/components/Posts/Post.tsx index 92186b3783..a7bf8b9c3d 100644 --- a/src/web/src/components/Posts/Post.tsx +++ b/src/web/src/components/Posts/Post.tsx @@ -277,7 +277,7 @@ const PostComponent = ({ postUrl }: Props) => { {!desktop && ( <>
- +

diff --git a/src/web/src/components/Posts/PostAvatar.tsx b/src/web/src/components/Posts/PostAvatar.tsx index 9b3a597adb..3022aad8f4 100644 --- a/src/web/src/components/Posts/PostAvatar.tsx +++ b/src/web/src/components/Posts/PostAvatar.tsx @@ -4,7 +4,7 @@ import { makeStyles } from '@material-ui/core/styles'; type AvatarProps = { name: string; img?: string; - blog?: string; + url?: string; }; const useStyles = makeStyles((theme: Theme) => @@ -39,7 +39,7 @@ const useStyles = makeStyles((theme: Theme) => }) ); -const PostAvatar = ({ name, img, blog = '' }: AvatarProps) => { +const PostAvatar = ({ name, img, url }: AvatarProps) => { const classes = useStyles(); if (img) { @@ -58,11 +58,19 @@ const PostAvatar = ({ name, img, blog = '' }: AvatarProps) => { ) .join(''); return ( - - -

{initials}

-
-
+
+ {url?.length ? ( + + +

{initials}

+
+
+ ) : ( + +

{initials}

+
+ )} +
); } diff --git a/src/web/src/components/Posts/PostInfo.tsx b/src/web/src/components/Posts/PostInfo.tsx index a844a850ff..9e0ad750ea 100644 --- a/src/web/src/components/Posts/PostInfo.tsx +++ b/src/web/src/components/Posts/PostInfo.tsx @@ -76,7 +76,7 @@ const PostDesktopInfo = ({ authorName, postDate, blogUrl, postUrl }: Props) => { return (
- +

diff --git a/src/web/src/components/SignUp/Forms/GitHubAccount.tsx b/src/web/src/components/SignUp/Forms/GitHubAccount.tsx index 93a55b8cf2..8266f75beb 100644 --- a/src/web/src/components/SignUp/Forms/GitHubAccount.tsx +++ b/src/web/src/components/SignUp/Forms/GitHubAccount.tsx @@ -171,7 +171,7 @@ const GitHubAccount = connect<{}, SignUpForm>((props) => {

{values.github.username}

diff --git a/src/web/src/components/SignUp/Forms/Review.tsx b/src/web/src/components/SignUp/Forms/Review.tsx index 0c2e430e5a..96027e89e3 100644 --- a/src/web/src/components/SignUp/Forms/Review.tsx +++ b/src/web/src/components/SignUp/Forms/Review.tsx @@ -101,7 +101,7 @@ const Review = connect<{}, SignUpForm>((props) => {

Review your Information

- +

{displayName}