Skip to content

Commit

Permalink
Team - Simplify YAML, remove key from social
Browse files Browse the repository at this point in the history
Remove the 'icon_pack' key from the YAML file to simplify editing. The
css key is now hard-coded to the HTML.

Note that the current used version of fontawesome does not have an icon
for X (aka Twitter) yet.
  • Loading branch information
jomey committed Mar 25, 2024
1 parent 79a0d99 commit 2e68ff1
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 12 deletions.
1 change: 0 additions & 1 deletion cookiecutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ sponsors:
footer:
social:
- icon: github
icon_pack: fab
link: https://github.com/uwhackweek/
_copy_without_render:
- assets
Expand Down
1 change: 0 additions & 1 deletion team/anthony-arendt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- Python
social:
- icon: github
icon_pack: fab
link: https://github.com/aaarendt
user_groups:
- Lead Hackweek Organizer
Expand Down
1 change: 0 additions & 1 deletion team/don-setiawan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
- Python
social:
- icon: github
icon_pack: fab
link: https://github.com/lsetiawan
user_groups:
- Technology Specialist
2 changes: 0 additions & 2 deletions team/jessica-scheick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
- ICESat-2/icepyx
social:
- icon: github
icon_pack: fab
link: https://github.com/jessicas11
- icon: github
icon_pack: fab
link: https://github.com/icesat2py
user_groups:
- Lead Hackweek Organizer
Expand Down
1 change: 0 additions & 1 deletion team/joachim-meyer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
- Modeling
social:
- icon: github
icon_pack: fab
link: https://github.com/jomey
user_groups:
- Technology Specialist
1 change: 0 additions & 1 deletion team/naomi-alterman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- Cloud computing
social:
- icon: github
icon_pack: fab
link: https://github.com/naclomi
user_groups:
- Education Consultant
1 change: 0 additions & 1 deletion team/scott-henderson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
- Cloud computing
social:
- icon: github
icon_pack: fab
link: https://github.com/scottyhq
user_groups:
- Lead of Technology
Expand Down
5 changes: 4 additions & 1 deletion team/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
- skill 2
social:
- icon: github
icon_pack: fab
link: Link to your GitHub profile
- icon: twitter
link: Link to your Twitter profile
- icon: linkedin
link: Link to your LinkedIn profile
user_groups:
- The role in the hackweek. Examples: Tutorial Lead, Project Helper

6 changes: 3 additions & 3 deletions {{ cookiecutter.repo_directory }}/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ <h5 class="card-title mb-2">{{ person['title'] }}</h5>
{%- for social in person['social'] %}
<li class="list-inline-item">
<a href="{{social['link']}}">
<i class="{{social['icon_pack']}} fa-{{social['icon']}}"></i>
<i class="fab fa-{{social['icon']}}"></i>
</a>
</li>
{%- endfor %}
Expand Down Expand Up @@ -452,7 +452,7 @@ <h2 class="name mb-2">
{%- for social in person['social'] %}
<li class="list-inline-item">
<a href="{{social['link']}}">
<i class="{{social['icon_pack']}} fa-{{social['icon']}}"></i>
<i class="fab fa-{{social['icon']}}"></i>
</a>
</li>
{%- endfor %}
Expand Down Expand Up @@ -541,7 +541,7 @@ <h3 class="section-heading text-center mb-3">Our Sponsors</h3>
{%- for soc in cookiecutter.footer['social'] %}
<li class="list-inline-item me-3">
<a href="{{ soc['link'] }}">
<i class="{{ soc['icon_pack'] }} fa-{{ soc['icon'] }}"></i>
<i class="fab fa-{{ soc['icon'] }}"></i>
</a>
</li>
{%- endfor %}
Expand Down

0 comments on commit 2e68ff1

Please sign in to comment.