|
12 | 12 | {{ if eq .Layout "community_projects" }}{{ $title = "Mission Board Operations" }}{{ end }} |
13 | 13 |
|
14 | 14 | {{ 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> |
28 | 39 | </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> |
34 | 40 | </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> |
37 | 52 | </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 →</p> |
| 60 | + </div> |
| 61 | + </a> |
| 62 | + {{ end }} |
38 | 63 | </div> |
39 | 64 | {{ end }} |
40 | 65 | {{ end }} |
0 commit comments