@@ -27,7 +27,11 @@ layout: base.njk
27
27
<div class =" w-60 h-48 relative group" >
28
28
<div class =" absolute inset-0" >
29
29
<div class =" w-full h-full" >
30
- {{ imgContainer (width = 220, height = 180, depth = 12, frontBg = " lavender" , leftBg = " purple" , topBg = " purple" , url = person .imageLink ) }}
30
+ {% if person .imageLink %}
31
+ {{ imgContainer (width = 180, height = 180, depth = 12, frontBg = " lavender" , leftBg = " purple" , topBg = " purple" , url = person .imageLink ) }}
32
+ {% else %}
33
+ {{ imgContainer (width = 180, height = 180, depth = 12, frontBg = " lavender" , leftBg = " purple" , topBg = " purple" , url = " https://in.pycon.org/2024/image/ZadraSol.webp" ) }}
34
+ {% endif %}
31
35
</div >
32
36
</div >
33
37
</div >
@@ -36,8 +40,9 @@ layout: base.njk
36
40
<p class =" mt-2 ml-2 mr-4 mb-1 text-xl font-light text-left w-52" >{{ person .name }} </p >
37
41
38
42
<!-- Title -->
39
- <p class =" mt-1 ml-2 mr-4 mb-1 text-xs font-light text-left w-52" >{{ person .title }} Change this</p >
40
-
43
+ {% if person .title %}
44
+ <p class =" mt-1 ml-2 mr-4 mb-1 text-xs font-light text-left w-52" >{{ person .title }} </p >
45
+ {% endif %}
41
46
<!-- Socials -->
42
47
<div class =" flex ml-2 mr-4 justify-left items-start gap-1 md:gap-4 flex-wrap w-52" >
43
48
{% if person .socials .linkedin %}
@@ -50,7 +55,7 @@ layout: base.njk
50
55
<i class =" fa fa-globe text-md md:text-xl" ></i >
51
56
</a >
52
57
{% endif %}
53
- {% if person .socials .twitter %}
58
+ {% if person .socials .x %}
54
59
<a href =" {{ person.socials.twitter }}" target =" _blank" aria-label =" Twitter" class =" p-1 rounded-full outline outline-1 outline-lime-300 flex justify-center items-center hover:scale-110 hover:text-[#4E62F5] transition-transform duration-200 no-underline" >
55
60
<i class =" fab fa-x-twitter text-md md:text-xl" ></i >
56
61
</a >
@@ -65,8 +70,8 @@ layout: base.njk
65
70
<i class =" fab fa-youtube text-md md:text-xl" ></i >
66
71
</a >
67
72
{% endif %}
68
- {% if person .socials .insta %}
69
- <a href =" {{ person.socials.insta }}" target =" _blank" aria-label =" Instagram" class =" p-1 rounded-full outline outline-1 outline-lime-300 flex justify-center items-center hover:scale-110 hover:text-[#4E62F5] transition-transform duration-200 no-underline" >
73
+ {% if person .socials .instagram %}
74
+ <a href =" {{ person.socials.instagram }}" target =" _blank" aria-label =" Instagram" class =" p-1 rounded-full outline outline-1 outline-lime-300 flex justify-center items-center hover:scale-110 hover:text-[#4E62F5] transition-transform duration-200 no-underline" >
70
75
<i class =" fab fa-instagram text-md md:text-xl" ></i >
71
76
</a >
72
77
{% endif %}
0 commit comments