2
2
3
3
{% assign user = site.github.owner %}
4
4
5
- < div class ="d-md-flex ">
6
- < div class ="flex-self-stretch border-bottom border-md-none border-md-right border-gray-light col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6 ">
5
+ < div class ="d-md-flex " style =" height: 100vh " >
6
+ < div class ="flex-self-stretch border-bottom border-md-none border-md-right border-gray-light bg-white col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6 ">
7
7
< img src ="{{ user.avatar_url }} " class ="circle mb-3 " style ="max-width: 150px; ">
8
- < h1 class ="mb-2 lh-condensed "> {{ user.name }}</ h1 >
8
+ < h1 class ="mb-2 lh-condensed "> {% if user.name %}{{ user.name }}{% else %}{{ user.login }}{% endif % }</ h1 >
9
9
< p class ="mb-3 f4 text-gray ">
10
10
{{ user.bio }}
11
11
</ p >
12
12
< div class ="f4 mb-6 ">
13
- < div class ="mb-3 ">
14
- {% octicon mark-github height:20 class:"mr-1 v-align-middle" aria-label:GitHub %}
15
- < a href ="https://github.com/{{ user.login }} ">
16
- @{{ user.login }}
17
- </ a >
18
- </ div >
19
- < div class ="">
20
- {% octicon location height:20 class:"mr-1 v-align-middle" aria-label:Location %}
21
- {{ user.location }}
22
- </ div >
13
+ {% if user.name %}
14
+ < div class ="d-flex flex-items-center mb-3 ">
15
+ {% octicon mark-github height:20 class:"mr-2 v-align-middle" aria-label:GitHub %}
16
+ < a href ="https://github.com/{{ user.login }} ">
17
+ @{{ user.login }}
18
+ </ a >
19
+ </ div >
20
+ {% endif %}
21
+ {% if user.email %}
22
+ < div class ="d-flex flex-items-center mb-3 ">
23
+ {% octicon mail height:20 class:"mr-2 v-align-middle" aria-label:email %}
24
+ < a href ="mailto:{{ user.email }} ">
25
+ {{ user.email }}
26
+ </ a >
27
+ </ div >
28
+ {% endif %}
29
+ {% if user.location %}
30
+ < div class ="d-flex flex-items-center mb-3 ">
31
+ {% octicon location height:20 class:"mr-2 v-align-middle" aria-label:Location %}
32
+ {{ user.location }}
33
+ </ div >
34
+ {% endif %}
35
+ {% if user.hireable %}
36
+ < span title ="Hire me " class ="d-inline-block f5 rounded-2 text-white bg-green py-1 px-2 "> Available for hire</ span >
37
+ {% endif %}
23
38
</ div >
24
39
</ div >
25
40
26
- < div class ="bg-gray-light col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 ">
41
+ < div class ="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 ">
27
42
< div class ="mx-auto " style ="max-width: 900px; ">
28
43
{% include projects.html %}
29
44
30
45
< h2 > My Interests</ h2 >
31
- < p class ="f4 mb-4 text-gray "> Topics that I want to learn more about</ p >
46
+ < p class ="f4 mb-4 text-gray "> Topics that I want to learn more about. </ p >
32
47
< div class ="d-flex flex-wrap gutter-condensed mb-4 ">
33
48
{% for topic in site.topics limit: 4 %}
34
49
< div class ="col-sm-6 col-md-12 col-lg-6 col-xl-4 mb-3 ">
@@ -37,20 +52,6 @@ <h2>My Interests</h2>
37
52
{% endfor %}
38
53
</ div >
39
54
40
- < h2 > My Organizations</ h2 >
41
- < p class ="f4 mb-4 text-gray "> Teams I belong to</ p >
42
- < div class ="d-flex flex-wrap gutter-condensed mb-4 ">
43
- < div class ="col-sm-6 col-md-12 col-lg-6 col-xl-4 mb-3 ">
44
- {% include org-card.html %}
45
- </ div >
46
- < div class ="col-sm-6 col-md-12 col-lg-6 col-xl-4 mb-3 ">
47
- {% include org-card.html %}
48
- </ div >
49
- < div class ="col-sm-6 col-md-12 col-lg-6 col-xl-4 mb-3 ">
50
- {% include org-card.html %}
51
- </ div >
52
- </ div >
53
-
54
55
</ div >
55
56
</ div >
56
57
</ div >
0 commit comments