Skip to content
Snippets Groups Projects
Commit 7ac7c531 authored by Quoc Huy Nguyen Dinh's avatar Quoc Huy Nguyen Dinh
Browse files

- Switching to Peakd prod badge API

- Tweak badges css for mobile
parent 7879c261
No related branches found
No related tags found
2 merge requests!143Develop,!139Resolve "Implement Hivebuzz on a user profile"
......@@ -247,8 +247,12 @@
margin-right: 50px;
margin-bottom: 10px;
a {
display: inline-block;
}
.UserProfile__badge_image {
margin: 0 3px;
margin: 3px 2px;
img {
vertical-align: top;
width: 28px;
......@@ -260,7 +264,7 @@
}
.react-tabs {
height: 75px;
min-height: 75px;
}
.react-tabs__tab {
......
......@@ -4,7 +4,7 @@ const getBadges = async payload => {
// Little hack until Peakd opens up by adding CORS headers
xhr.open(
'GET',
`https://beta.peakd.com/api/public/badge/${payload.account}`
`https://peakd.com/api/public/badge/${payload.account}`
);
xhr.onload = () => {
if (xhr.status === 200) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment