Skip to content

Commit 9c06bd9

Browse files
committed
timeline cards
1 parent 2181ff2 commit 9c06bd9

3 files changed

Lines changed: 26 additions & 33 deletions

File tree

content/english/sections/testimonial.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ description: "Previous events"
55

66
# Testimonials
77
testimonials:
8-
- name: "Nordic Women in Tech Awards (NWiTA) (13 November)"
9-
designation: "2024"
8+
- name: "Nordic Women in Tech Awards (NWiTA)"
9+
designation: "2024 • 13 November"
1010
avatar: "/images/timeline/1.jpg"
1111
content: "Awards Ceremony organized by NWiTA team including Nazeefa Fatima (NCB, Norway)"
1212

13-
- name: "NCB Week 2024 (4-8 November)"
14-
designation: "2024"
13+
- name: "NCB Week 2024"
14+
designation: "2024 • 4-8 November"
1515
avatar: "/images/timeline/NCB_Finland_2024_Square.png"
1616
content: "Hybrid conference organized by Marcel Tarbier (Sweden) and Ahmed Mohamed Eltourkey (Finland)"
1717

18-
- name: "NCB Week 2023 (6-10 November)"
19-
designation: "2023"
18+
- name: "NCB Week 2023"
19+
designation: "2023 • 6-10 November"
2020
avatar: "/images/timeline/NCB_Finland_2023_Square.png"
2121
content: "Hybrid conference organized by Shilpa Garg (Denmark), Ahmed Mohamed Eltourkey (Finland), Luca Giudice (Finland), and Marcel Tarbier (Sweden)"
2222

23-
- name: "Norwegian Bioinformatics Days (28-30 September)"
24-
designation: "2022"
23+
- name: "Norwegian Bioinformatics Days"
24+
designation: "2022 • 28-30 September"
2525
avatar: "/images/timeline/4.jpg"
2626
content: "Conference organized by Nordic CompBio, Centre for Digital Life Norway, Computational Biology Unit (University of Bergen), ELIXIR Norway, and RSG Norway."
2727

28-
- name: "Handling Pandemic Omics Data in the Nordics (18-19 May)"
29-
designation: "2022"
28+
- name: "Handling Pandemic Omics Data in the Nordics"
29+
designation: "2022 • 18-19 May"
3030
avatar: "/images/timeline/3.jpg"
3131
content: "Virtual meeting organized by Nordic CompBio, ELIXIR Norway, ELIXIR Estonia and SciLifeLab Data Centre."
3232

themes/hugoplate/assets/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
slidesPerView: 2,
1818
},
1919
992: {
20-
slidesPerView: 3,
20+
slidesPerView: 4,
2121
},
2222
},
2323
});

themes/hugoplate/layouts/index.html

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -104,33 +104,26 @@ <h2 class="mb-4">
104104
<div class="swiper testimonial-slider">
105105
<div class="swiper-wrapper">
106106
{{ range .Params.testimonials }}
107-
<div class="swiper-slide">
107+
<div class="swiper-slide h-auto">
108108
<div
109-
class="bg-light dark:bg-darkmode-light rounded-lg px-7 py-10">
110-
<div class="text-text-dark dark:text-white">
111-
<svg
112-
width="33"
113-
height="20"
114-
viewBox="0 0 33 20"
115-
fill="none"
116-
xmlns="http://www.w3.org/2000/svg">
117-
<path
118-
d="M1.28375 19.41L0.79375 18.64C1.21375 17.0067 1.75042 15.07 2.40375 12.83C3.05708 10.5433 3.75708 8.28 4.50375 6.04C5.29708 3.75333 6.06708 1.77 6.81375 0.0899959H15.3538C14.9338 2.09666 14.4904 4.26667 14.0238 6.6C13.5571 8.88666 13.1371 11.15 12.7638 13.39C12.4371 15.5833 12.1571 17.59 11.9238 19.41H1.28375ZM31.69 0.0899959L32.18 0.859998C31.76 2.54 31.2233 4.5 30.57 6.74C29.9167 8.98 29.2167 11.2433 28.47 13.53C27.7233 15.77 26.9533 17.73 26.16 19.41H17.69C18.0167 17.9167 18.3433 16.33 18.67 14.65C18.9967 12.9233 19.3 11.22 19.58 9.54C19.9067 7.81333 20.1867 6.15667 20.42 4.57C20.7 2.93666 20.91 1.44333 21.05 0.0899959H31.69Z"
119-
fill="currentColor" />
120-
</svg>
109+
class="bg-light dark:bg-darkmode-light rounded-lg overflow-hidden h-full min-h-[300px] flex flex-col">
110+
<div class="overflow-hidden">
111+
{{ partial "image" (dict "Src" .avatar "Size" "360x180" "Class" "w-full object-cover" "Alt" .name) }}
121112
</div>
122-
<blockquote class="mt-8">
123-
{{ .content | markdownify }}
124-
</blockquote>
125-
<div class="mt-11 flex items-center">
126-
<div class="text-text-dark dark:text-white">
127-
{{ partial "image" (dict "Src" .avatar "Size" "50x50" "Class" "rounded-full" "Alt" .name) }}
113+
<div class="px-4 pt-3">
114+
<blockquote class="text-[11px] m-0 leading-snug">
115+
{{ .content | markdownify }}
116+
</blockquote>
117+
</div>
118+
<div class="mt-auto px-4 pb-4 pt-4 flex items-center">
119+
<div class="text-primary dark:text-darkmode-primary text-xl leading-none">
120+
<i class="fa-regular fa-font-awesome" aria-hidden="true"></i>
128121
</div>
129-
<div class="ml-4">
130-
<h3 class="h5 font-primary font-semibold">
122+
<div class="ml-2">
123+
<h3 class="text-[11px] font-primary font-semibold leading-tight">
131124
{{ .name }}
132125
</h3>
133-
<p class="text-text-dark dark:text-white">
126+
<p class="text-[10px] leading-tight text-text-dark dark:text-white">
134127
{{ .designation | markdownify }}
135128
</p>
136129
</div>

0 commit comments

Comments
 (0)