From b1f975f2c070ec4d49f51f1d2c577692dd4c524e Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Fri, 15 Oct 2021 19:47:46 +0100 Subject: [PATCH] Better profile picture for users without one --- chartered-frontend/src/util.tsx | 11 ++++++++++- chartered-frontend/src/pages/Search.tsx | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/chartered-frontend/src/util.tsx b/chartered-frontend/src/util.tsx index 8bab153..d3addf4 100644 --- a/chartered-frontend/src/util.tsx +++ a/chartered-frontend/src/util.tsx @@ -1,6 +1,7 @@ import React = require("react"); import ReactPlaceholder from "react-placeholder"; import { AuthContext } from "./useAuth"; +import {PersonFill} from "react-bootstrap-icons"; export const BASE_URL = process.env.BASE_URL || "http://localhost:8888"; @@ -95,9 +96,15 @@ } else { return (
+ > + +
); } } diff --git a/chartered-frontend/src/pages/Search.tsx b/chartered-frontend/src/pages/Search.tsx index 0b68bfc..ce78ae5 100644 --- a/chartered-frontend/src/pages/Search.tsx +++ a/chartered-frontend/src/pages/Search.tsx @@ -181,6 +181,7 @@ Homepage @@ -191,6 +192,7 @@ Repository -- rgit 0.1.3