Skip to content
Snippets Groups Projects
Commit b275afea authored by lfr20's avatar lfr20
Browse files

builfing gamefication

parent 0b2de309
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ export default function ImgMediaCard(props) {
<img
src={props.avatar ? props.avatar : noAvatar}
alt="user avatar"
style={{ height: "100%", width: "100%", borderRadius: "50%" }}
style={{ height: "90%", width: "90%", borderRadius: "50%", backgroundColor: 'white' }}
/>
</AvatarDiv>
</div>
......@@ -201,7 +201,7 @@ const UserInfo = styled.div`
/*Rounded div to be used with avatar pic*/
const AvatarDiv = styled.div`
border-radius: 100%;
border-radius: 50%;
left: 50%;
position: absolute;
-webkit-transform: translateX(-50%);
......@@ -213,6 +213,9 @@ const AvatarDiv = styled.div`
flex-direction: row;
justify-content: space-around;
align-items: center;
background-image: url("https://www.filmstories.co.uk/wp-content/uploads/2020/01/doctor-strange-850x600.jpg");
background-repeat: no-repeat;
`;
/* gamification aspects */
......
......@@ -204,7 +204,7 @@ export default function Notification(props) {
</div>
{
notifications.map((notification) =>
<ActivityListItem
{/* <ActivityListItem
onMenuBar={true}
avatar={notification.owner.avatar ? apiDomain + notification.owner.avatar : null}
activity={notification.activity}
......@@ -215,7 +215,7 @@ export default function Notification(props) {
ownerHref={'/perfil'}
recipientName={notification.recipient.name}
recipientHref={getRecipientHref(notification)}
/>
/> */}
)
}
<div style={{ padding: "0 15px", borderTop: "1px solid #dadada" }}>
......
......@@ -80,7 +80,7 @@ export default function ItemStoreContainer(props) {
setIsLoading(false);
}
)
}, [])
}, [state.currentUser.id])
return (
......
......@@ -49,8 +49,6 @@ const initialState = {
}
}
function reducer(state, action) {
switch (action.type){
case 'SAVE_SEARCH':
......
......@@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/
var apiDomain = 'https://api.portalmectest.c3sl.ufpr.br',
var apiDomain = 'https://api.portalmechomologa.c3sl.ufpr.br',
apiVersion = 'v1',
apiUrl = apiDomain + '/' + apiVersion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment