File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export default Model.extend({
66 name : attr ( 'string' ) ,
77 login : attr ( 'string' ) ,
88 url : attr ( 'string' ) ,
9+ avatarUrl : attr ( 'string' ) ,
910 email : attr ( 'string' ) ,
1011 followers : attr ( 'number' ) ,
1112 bio : attr ( 'string' ) ,
Original file line number Diff line number Diff line change 11<div class =" ui card centered aligned" >
2+ <div class =" image" >
3+ <img src ={{ user.avatarUrl }} alt =" Avatar" />
4+ </div >
25 <div class =" content" >
36 <div class =" header" >{{ user.login }} </div >
47 <h4 class =" ui sub header" >{{ user.bio }} </h4 >
Original file line number Diff line number Diff line change 44 <div class =" ui search" >
55 <div class =" ui left icon input" >
66 {{ input value =searchValue class =" prompt center aligned grid" type =" text" placeholder =" Search GitHub" enter =" submitSearch" }}
7-
87 <i class =" github icon" ></i >
98 </div >
109 </div >
1110</div >
1211
1312{{ #if model }}
1413 <div class =" ui container" >
14+ <br >
1515 <h1 >Search Results</h1 >
1616 <br >
17- <br >
18- <h1 >User Profile</h1 >
17+ <h1 >Profile</h1 >
1918 {{ user-card user =model }}
2019 <br >
2120 <br >
22- <h1 >User Repos</h1 >
21+ <h1 >Repos</h1 >
2322 <br >
2423 {{ repo-collection repos =model.repositories }}
2524 </div >
2625{{ else }}
27- <h1 >There is no value present to search for</h1 >
26+ <h1 >There is no value present to search for... </h1 >
2827 {{!-- load error card here --}}
2928{{ /if }}
You can’t perform that action at this time.
0 commit comments