Skip to content

Commit 0b73772

Browse files
committed
feat(contributors): Add contribute CTA and year heading
1 parent 37b1d9a commit 0b73772

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

layouts/contributors/list.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
{{ define "main" }}
22
{{ partial "page-header" . }}
3-
43
<section class="section pt-6 contributors-list-section">
4+
55
<div class="container">
6+
7+
<div class="mt-6 mb-12">
8+
{{ partial "components/content-contribute-cta.html" (dict
9+
"icon" "solid user-group"
10+
"title" "Ready to <span class=\"gradient-text\">Join Us?</span>"
11+
"description" "Become part of our growing community of researchers, developers, and enthusiasts. Explore the many ways you can contribute to the future of open-source neuromorphic computing."
12+
"link" "/getting-involved/"
13+
"link_text" "See How to Get Involved"
14+
) }}
15+
</div>
16+
17+
618
{{/* 1. Get all contributor profile pages, sorted by title (name) */}}
719
{{ $allContributorProfiles := where site.RegularPages "Section" "contributors" }}
820

@@ -61,8 +73,8 @@
6173

6274
{{ range $year_str := $uniqueYearsSorted }}
6375
{{ $current_loop_year := int $year_str }}
64-
<div class="year-section mb-12">
65-
<h2 class="text-3xl font-bold mb-6 pb-2 border-b border-border dark:border-darkmode-border">{{ $year_str }}</h2>
76+
<div class="year-section mb-6">
77+
<h2 class="text-3xl text-center font-bold mb-10 pb-2">{{ $year_str }} Contributors</h2>
6678

6779
{{ $contributorsInThisYear := slice }}
6880

@@ -185,15 +197,6 @@ <h2 class="text-3xl font-bold mb-6 pb-2 border-b border-border dark:border-darkm
185197
<p class="text-center text-xl">No contributions found with yearly data.</p>
186198
{{ end }}
187199

188-
<div class="mt-8">
189-
{{ partial "components/content-contribute-cta.html" (dict
190-
"icon" "solid user-group"
191-
"title" "Ready to <span class=\"gradient-text\">Join Us?</span>"
192-
"description" "Become part of our growing community of researchers, developers, and enthusiasts. Explore the many ways you can contribute to the future of open-source neuromorphic computing."
193-
"link" "/getting-involved/"
194-
"link_text" "See How to Get Involved"
195-
) }}
196-
</div>
197200
</div>
198201
</section>
199202
{{ end }}

0 commit comments

Comments
 (0)