File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
services/app/apps/codebattle/assets/js/widgets/pages/profile Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,31 @@ import Achievement from './Achievement';
1515import Heatmap from './Heatmap' ;
1616import UserStatCharts from './UserStatCharts' ;
1717
18+ function HolipinTags ( { name } ) {
19+ return (
20+ name && (
21+ < div className = "row mt-5 mb-md-3 mb-lg-4 mt-lg-0" >
22+ < div className = "position-relative col-lg-10 col-md-11 mx-auto" >
23+ < div className = "card cb-card" >
24+ < div className = "card-header py-1 cb-bg-highlight-panel font-weight-bold text-center" >
25+ Holopins
26+ </ div >
27+ < div className = "card-body p-0" >
28+ < a href = { `https://holopin.io/@${ name } ` } >
29+ < img
30+ src = { `https://holopin.me/@${ name } ` }
31+ alt = { `@${ name } 's Holopin board` }
32+ className = "w-100"
33+ />
34+ </ a >
35+ </ div >
36+ </ div >
37+ </ div >
38+ </ div >
39+ )
40+ ) ;
41+ }
42+
1843function UserProfile ( ) {
1944 const [ userData , setUserData ] = useState ( null ) ;
2045 const dispatch = useDispatch ( ) ;
@@ -154,6 +179,7 @@ function UserProfile() {
154179 < Heatmap />
155180 </ div >
156181 </ div >
182+ < HolipinTags />
157183 </ div >
158184 < div
159185 className = "tab-pane fade min-h-100"
You can’t perform that action at this time.
0 commit comments