Skip to content

Commit 1bbfcbc

Browse files
committed
Merge branch 'refs/heads/event-contributors' into staging
2 parents b7abb4a + d586627 commit 1bbfcbc

4 files changed

Lines changed: 78 additions & 54 deletions

File tree

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
---
2-
title: "Hardware Directory Initiative"
3-
description: "Resource development Hardware Directory"
4-
legacy: true
5-
author:
6-
- Gregor Lenz
7-
- Justin Riddiough
8-
- Danny Rosen
9-
- Alexander Hadjiivanov
2+
title: "Hardware & Software Directory Initiative"
3+
description: "Resource development for the Hardware and Software directories."
4+
legacy: false
5+
author:
6+
- Gregor Lenz
7+
- Justin Riddiough
8+
- Danny Rosen
9+
- Alexander Hadjiivanov
10+
- José Antonio
1011
date: 2024-01-01
1112
draft: false
1213
type: initiatives
1314
---
1415

15-
This initiative was focused on the creation and curation of a comprehensive guide to neuromorphic hardware. The goal was to build a central, open-source repository of information on various neuromorphic chips and platforms, making it easier for researchers and developers to compare systems and find relevant resources.
16+
This initiative focuses on the creation and curation of comprehensive guides to neuromorphic hardware and software. The goal is to build central, open-source repositories of information, making it easier for researchers and developers to compare systems, find relevant resources, and navigate the ecosystem.
1617

17-
The outcome of this effort is the **[Neuromorphic Hardware Guide](/neuromorphic-computing/hardware/)**, one of our community's most valuable resources.
18+
The outcomes of this effort include:
19+
* The **[Neuromorphic Hardware Guide](/neuromorphic-computing/hardware/)**
20+
* The **[Neuromorphic Software Guide](/neuromorphic-computing/software/)**
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{{ with .Params.author }}
2-
{{ $numAuthors := len . }}
3-
{{ range $index, $authorNameFromFrontmatter := . }}
4-
{{ $nameForProcessing := $authorNameFromFrontmatter | replaceRE "[.]" "" }}
5-
{{ $nameForProcessing = $nameForProcessing | replaceRE "ć" "c" | replaceRE "Ć" "C" }}
6-
{{ $contributor_slug := $nameForProcessing | anchorize }}
7-
{{ $contributor_page_path := printf "contributors/%s" $contributor_slug }}
8-
{{ $contributor_page := site.GetPage $contributor_page_path }}
2+
{{ $numAuthors := len . }}
3+
{{ range $index, $authorNameFromFrontmatter := . }}
4+
{{ $nameForProcessing := $authorNameFromFrontmatter | replaceRE "[.]" "" }}
5+
{{ $nameForProcessing = $nameForProcessing | replaceRE "ć" "c" | replaceRE "Ć" "C" | replaceRE "é" "e" | replaceRE "É" "E" | replaceRE "á" "a" | replaceRE "Á" "A" | replaceRE "í" "i" | replaceRE "Í" "I" | replaceRE "ó" "o" | replaceRE "Ó" "O" | replaceRE "ú" "u" | replaceRE "Ú" "U" }}
6+
{{ $contributor_slug := $nameForProcessing | anchorize }}
7+
{{ $contributor_page_path := printf "contributors/%s" $contributor_slug }}
8+
{{ $contributor_page := site.GetPage $contributor_page_path }}
99

10-
{{- /* Output author name or link */ -}}
11-
{{- if $contributor_page -}}
12-
<a href="{{ $contributor_page.RelPermalink }}">{{ $authorNameFromFrontmatter }}</a>
13-
{{- else -}}
14-
{{- $authorNameFromFrontmatter -}}
15-
{{- end -}}
10+
{{- /* Output author name or link */ -}}
11+
{{- if $contributor_page -}}
12+
<a href="{{ $contributor_page.RelPermalink }}">{{ $authorNameFromFrontmatter }}</a>
13+
{{- else -}}
14+
{{- $authorNameFromFrontmatter -}}
15+
{{- end -}}
1616

17-
{{- /* Add comma and space if not the last author. Ensure no leading space before comma. */ -}}
18-
{{- if lt $index (sub $numAuthors 1) -}}, {{ end -}}
19-
{{ end }}
17+
{{- /* Add comma and space if not the last author. */ -}}
18+
{{- if lt $index (sub $numAuthors 1) -}}, {{ end -}}
19+
{{ end }}
2020
{{ else }}
21-
Anonymous
21+
Anonymous
2222
{{ end }}

layouts/partials/components/metadata-bar.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,26 @@
1919
{{/* Author Photos Section */}}
2020
<div class="flex flex-shrink-0 in mr-3">
2121
{{ range . }}
22-
{{ $nameForProcessing := . | replaceRE "[.]" "" | replaceRE "ć" "c" | replaceRE "Ć" "C" }}
22+
{{ $nameForProcessing := . | replaceRE "[.]" "" | replaceRE "ć" "c" | replaceRE "Ć" "C" | replaceRE "é" "e" | replaceRE "É" "E" | replaceRE "á" "a" | replaceRE "Á" "A" | replaceRE "í" "i" | replaceRE "Í" "I" | replaceRE "ó" "o" | replaceRE "Ó" "O" | replaceRE "ú" "u" | replaceRE "Ú" "U" }}
2323
{{ $contributorSlug := $nameForProcessing | anchorize }}
2424
{{ $contributorPage := site.GetPage (printf "contributors/%s" $contributorSlug) }}
2525

2626
{{ if and $contributorPage $contributorPage.Params.image }}
2727
{{ with $contributorPage.Resources.GetMatch $contributorPage.Params.image }}
2828
<img class="h-8 w-8 rounded-full object-cover border-2 border-white dark:border-darkmode-body" src="{{ (.Fill "64x64").RelPermalink }}" alt="Photo of {{ $contributorPage.Title }}" title="{{ $contributorPage.Title }}">
2929
{{ else }}
30-
{{/* Fallback for image defined in front matter but not found in page bundle */}}
3130
<div class="h-8 w-8 rounded-full bg-gray-200 dark:bg-darkmode-theme-dark flex items-center justify-center border-2 border-white dark:border-darkmode-body" title="{{ . }}">
3231
{{ partial "icon.html" (dict "style" "solid" "name" "user" "class" "text-base text-gray-400") }}
3332
</div>
3433
{{ end }}
3534
{{ else }}
36-
{{/* Fallback for author with no profile or no image in profile */}}
3735
<div class="h-8 w-8 rounded-full bg-gray-200 dark:bg-darkmode-theme-dark flex items-center justify-center border-2 border-white dark:border-darkmode-body" title="{{ . }}">
3836
{{ partial "icon.html" (dict "style" "solid" "name" "user" "class" "text-base text-gray-400") }}
3937
</div>
4038
{{ end }}
4139
{{ end }}
4240
</div>
43-
{{/* Author Names Section (using existing partial) */}}
41+
{{/* Author Names Section */}}
4442
<span>By {{ partial "components/author-links.html" $ctx }}</span>
4543
</div>
4644
{{ end }}
@@ -51,13 +49,11 @@
5149
<span>
5250
{{ $ctx.Date.Format (site.Params.dateFormatSingle | default "January 2, 2006") }}
5351

54-
{{/* Show time ONLY for UPCOMING events */}}
5552
{{ if and $ctx.Params.upcoming $ctx.Params.start_time }}
5653
<span class="mx-1 text-gray-400">·</span>
5754
{{- $ctx.Params.start_time }}{{ if $ctx.Params.end_time }} - {{ $ctx.Params.end_time }}{{ end }} {{ $ctx.Params.time_zone -}}
5855
{{ end }}
5956

60-
{{/* Show 'Updated' for non-events (like blog posts) */}}
6157
{{ if and (ne $type "event") (ne $ctx.Lastmod $ctx.Date) }}
6258
<span class="italic text-gray-500 ml-2">(Updated {{ $ctx.Lastmod.Format (site.Params.dateFormatSingle | default "January 2, 2006") }})</span>
6359
{{ end }}
@@ -67,7 +63,7 @@
6763

6864
</div>
6965

70-
<!-- Right side: Action Buttons (Only for events) -->
66+
<!-- Right side: Action Buttons -->
7167
{{ if $hasButtons }}
7268
<div class="action-buttons flex flex-wrap gap-2">
7369
{{ with $ctx.Params.speaker_slides }}<a href="{{ . }}" target="_blank" rel="noopener" class="btn btn-sm btn-outline-primary">{{ partial "icon.html" (dict "style" "regular" "name" "images" "class" "mr-1.5") }}Slides</a>{{ end }}

layouts/partials/components/page-maintainers.html

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,54 @@
1212
{{ if eq .Layout "community_projects" }}{{ $title = "Mission Board Operations" }}{{ end }}
1313

1414
{{ if $maintainers }}
15-
<div class="px-4 pt-5 pb-5 content-panel">
16-
<strong class="text-xl">
17-
{{ $title }}
18-
</strong>
19-
<div class="mt-4 space-y-3">
20-
{{ range $maintainer := $maintainers }}
21-
<a href="{{ $maintainer.RelPermalink }}" class="group flex items-center gap-4 text-left p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-darkmode-theme-dark transition-colors">
22-
<div class="flex-shrink-0">
23-
{{ with $maintainer.Params.image }}
24-
{{ partial "image" (dict "Src" . "Context" $maintainer "Alt" $maintainer.Title "Class" "w-16 h-16 rounded-full object-cover" "Command" "Fill" "Size" "64x64") }}
25-
{{ else }}
26-
<div class="w-16 h-16 rounded-full bg-gray-200 dark:bg-darkmode-theme-dark flex items-center justify-center">
27-
{{ partial "icon.html" (dict "style" "solid" "name" "user" "class" "text-2xl text-gray-400") }}
15+
<div class="space-y-6">
16+
<div class="px-4 pt-5 pb-5 content-panel">
17+
<strong class="text-xl">
18+
{{ $title }}
19+
</strong>
20+
<div class="mt-4 space-y-3">
21+
{{ range $maintainer := $maintainers }}
22+
<div class="flex items-center gap-4 text-left p-2">
23+
<div class="flex-shrink-0">
24+
<a href="{{ $maintainer.RelPermalink }}">
25+
{{ with $maintainer.Params.image }}
26+
{{ partial "image" (dict "Src" . "Context" $maintainer "Alt" $maintainer.Title "Class" "w-16 h-16 rounded-full object-cover" "Command" "Fill" "Size" "64x64") }}
27+
{{ else }}
28+
<div class="w-16 h-16 rounded-full bg-gray-200 dark:bg-darkmode-theme-dark flex items-center justify-center">
29+
{{ partial "icon.html" (dict "style" "solid" "name" "user" "class" "text-2xl text-gray-400") }}
30+
</div>
31+
{{ end }}
32+
</a>
33+
</div>
34+
<div>
35+
<h5 class="font-bold text-dark dark:text-darkmode-dark">
36+
<a href="{{ $maintainer.RelPermalink }}" class="hover:text-primary dark:hover:text-darkmode-primary">{{ $maintainer.Title }}</a>
37+
</h5>
38+
<p class="text-xs text-text dark:text-darkmode-text leading-tight">Currently maintaining this directory.</p>
2839
</div>
29-
{{ end }}
30-
</div>
31-
<div>
32-
<h5 class="font-bold text-dark dark:text-darkmode-dark group-hover:text-primary dark:group-hover:text-darkmode-primary">{{ $maintainer.Title }}</h5>
33-
<p class="text-xs text-text dark:text-darkmode-text">Contact for questions or suggestions regarding this directory.</p>
3440
</div>
35-
</a>
36-
{{ end }}
41+
{{ end }}
42+
</div>
43+
44+
<div class="mt-4 pt-4 border-t border-border dark:border-darkmode-border">
45+
<p class="text-xs text-gray-600 dark:text-gray-400 mb-3">
46+
Have a request or found an error?
47+
</p>
48+
<a href="https://github.com/open-neuromorphic/open-neuromorphic.github.io/issues" target="_blank" rel="noopener" class="btn btn-sm btn-new-outline w-full text-center">
49+
{{ partial "icon.html" (dict "style" "brands" "name" "github" "class" "mr-2") }} Open a GitHub Issue
50+
</a>
51+
</div>
3752
</div>
53+
54+
{{/* Call to action for more curators */}}
55+
{{ with site.GetPage "/volunteer-opportunities/hardware-software-guide-curator/" }}
56+
<a href="{{ .RelPermalink }}" class="group block">
57+
<div class="p-4 content-panel border-2 border-dashed border-primary/30 hover:border-primary transition-colors text-center">
58+
<p class="text-sm font-semibold text-primary dark:text-darkmode-primary mb-1">Passionate about this guide?</p>
59+
<p class="text-xs text-text dark:text-darkmode-text group-hover:underline">We're looking for expert curators. Join the team &rarr;</p>
60+
</div>
61+
</a>
62+
{{ end }}
3863
</div>
3964
{{ end }}
4065
{{ end }}

0 commit comments

Comments
 (0)