Skip to content

Commit 065e95a

Browse files
authored
Clean up bio and profiles (#453)
1 parent 1f72062 commit 065e95a

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/_includes/bio.njk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
</div>
2323

2424
<div class="space-y-4 text-sm border-t border-[var(--border-color)] pt-6">
25+
{% if location or country %}
2526
<div class="flex items-center gap-3">
2627
<span class="text-lg">📍</span>
27-
<span class="text-[var(--text-muted)]">{{ location }}{% if country %}, {{ country }}{% endif %}</span>
28+
<span class="text-[var(--text-muted)]">{{ location }}{% if location and country %}, {% endif %}{{ country }}</span>
2829
</div>
30+
{% endif %}
2931

3032
{% if email %}
3133
<div class="flex items-center gap-3 group cursor-pointer" onclick="copyToClipboard('{{ email }}', this)">
@@ -72,6 +74,7 @@
7274
</div>
7375

7476
<div class="lg:col-span-2 space-y-8">
77+
{% if bio %}
7578
<div class="user-card p-8 sm:p-12 rounded-3xl">
7679
<h2 class="text-xs font-black uppercase tracking-[0.3em] text-[var(--text-muted)] mb-6 flex items-center gap-2">
7780
<span class="w-8 h-[2px] bg-accent"></span> Professional Bio
@@ -80,6 +83,7 @@
8083
{{ bio }}
8184
</div>
8285
</div>
86+
{% endif %}
8387

8488
{% if languages is defined and languages is not null %}
8589
<div class="user-card p-8 rounded-3xl">

src/users/jbampton.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: John Bampton 🏂 🏄 🎿 ♠️ ♥️ ♣️ ♦️ 💎 🏆 😎 🎀
22
github: jbampton
3-
website: https://john.onelang.workers.dev/
4-
email: jbampton@gmail.com
53
country: Australia
64
location: Brisbane
75
role: Technical Manager and Scrum Master

0 commit comments

Comments
 (0)