Skip to content

Commit

Permalink
Update student profile and fix links target (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleC4T authored and liveHarshit committed Oct 27, 2018
1 parent 2c47b07 commit d1e6428
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 11 deletions.
7 changes: 6 additions & 1 deletion _data/students.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
- name: ploypiti
github: ploypiti
image: pfp.png

- name: AppleCat
github: AppleC4T
image: applecat.png

- name: Supun Tharinda
github: STEdirisuriya
image: supun.png
image: supun.png

2 changes: 2 additions & 0 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ p.person-name {
font-size: 16px;
}


.single-mentor {
position: relative;
}
Expand Down Expand Up @@ -70,3 +71,4 @@ p.person-name {
filter: brightness(50%);
transition: all .6s;
}

Binary file added img/students/applecat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 20 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,22 @@ <h3> Students </h3>
<p class="person-name">{{ student.name }}</p><br>
<ul>
{% if student.github %}
<a href="https://github.com/{{student.github}}" class="icon-a">
<a href="https://github.com/{{student.github}}" class="icon-a" target="_blank">
<i class="ti-github"></i>
</a>
{% endif %}
{% if student.twitter %}
<a href="https://twitter.com/{{ student.twitter }}" class="icon-a">
<a href="https://twitter.com/{{ student.twitter }}" class="icon-a" target="_blank">
<i class="ti-twitter-alt"></i>
</a>
{% endif %}
{% if student.blog %}
<a href="https://{{ student.blog }}" class="icon-a">
<a href="https://{{ student.blog }}" class="icon-a" target="_blank">
<i class="ti-rss"></i>
</a>
{% endif %}
{% if student.facebook %}
<a href="https://facebook.com/{{ student.facebook }}" class="icon-a">
<a href="https://facebook.com/{{ student.facebook }}" class="icon-a" target="_blank">
<i class="ti-facebook"></i>
</a>
{% endif %}
Expand All @@ -141,8 +141,8 @@ <h3> Students </h3>
<div class="col-md-8 col-md-offset-2 text-center">
<h1>Connect with Fossasia on Social Media</h1>
<p class="large">
<a href="https://www.facebook.com/fossasia/" class="ti-facebook"></a>
<a href="https://twitter.com/fossasia" class="ti-twitter"></a>
<a href="https://www.facebook.com/fossasia/" class="ti-facebook" target="_blank"></a>
<a href="https://twitter.com/fossasia" class="ti-twitter" target="_blank"></a>

</p>
</div>
Expand All @@ -159,7 +159,7 @@ <h3>Fossasia Attracting Students</h3>
<p>
The video is made is by one of our students during the competition itself!
</p>
<a class="btn btn-lg" href="https://www.youtube.com/channel/UCQprMsG-raCIMlBudm20iLQ">Our Youtube
<a class="btn btn-lg" href="https://www.youtube.com/channel/UCQprMsG-raCIMlBudm20iLQ" target="_blank">Our Youtube
Channel</a>
</div>
</div>
Expand Down Expand Up @@ -372,32 +372,42 @@ <h3>Our Mentors</h3>
<!--end of row-->
<div class="row">
{% for mentor in site.data.mentors limit:30 %}

<div class="col-lg-3 col-md-4 col-sm-12 text-center">

<div class="card single-mentor">
{% if mentor.image %}
<img src="img/mentors/{{mentor.image}}" alt="{{ mentor.name }}">
{% else %}
<img src="img/mentors/member.png" alt="{{ mentor.name }}">
{% endif %}
<p class="person-name">{{ mentor.name }}</p>

<ul class="list-inline social-list social-overlay-list">
{% if mentor.github %}
<a href="https://github.com/{{mentor.github}}" class="icon-a" target="_blank" rel="noopener">

<i class="ti-github"></i>
</a>
{% endif %}
{% if mentor.twitter %}
<a href="https://twitter.com/{{ mentor.twitter }}" class="icon-a" target="_blank" rel="noopener">

<a href="https://twitter.com/{{ mentor.twitter }}" class="icon-a" target="_blank">

<i class="ti-twitter-alt"></i>
</a>
{% endif %}
{% if mentor.blog %}
<a href="https://{{ mentor.blog }}" class="icon-a" target="_blank" rel="noopener">

<a href="https://{{ mentor.blog }}" class="icon-a" target="_blank">

<i class="ti-rss"></i>
</a>
{% endif %}
{% if mentor.facebook %}
<a href="https://facebook.com/{{ mentor.facebook }}" class="icon-a" target="_blank" rel="noopener">

<a href="https://facebook.com/{{ mentor.facebook }}" class="icon-a" target="_blank">

<i class="ti-facebook"></i>
</a>
{% endif %}
Expand Down

0 comments on commit d1e6428

Please sign in to comment.