Skip to content

Commit fa33ea1

Browse files
authored
Merge pull request #40 from NeurodataWithoutBorders/add-online-resources
Add Online Resources section and update navigation
2 parents 30f41bc + 21ae8d9 commit fa33ea1

File tree

6 files changed

+213
-17
lines changed

6 files changed

+213
-17
lines changed

config/_default/menus.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,16 @@ main:
7272
weight: 1
7373
url: "publications/"
7474
parent: "Resources"
75-
- name: "Grants & Projects"
75+
- name: "Online Resources"
7676
weight: 2
77+
url: "online-resources/"
78+
parent: "Resources"
79+
- name: "Grants & Projects"
80+
weight: 3
7781
url: "grants-and-projects/"
7882
parent: "Resources"
7983
- name: "Policies"
80-
weight: 3
84+
weight: 4
8185
url: "policies/"
8286
parent: "Resources"
8387

@@ -123,9 +127,12 @@ resources:
123127
- name: "Publications"
124128
weight: 1
125129
url: "/publications"
126-
- name: "Grants & Projects"
130+
- name: "Online Resources"
127131
weight: 2
132+
url: "/online-resources"
133+
- name: "Grants & Projects"
134+
weight: 3
128135
url: "/grants-and-projects"
129136
- name: "Policies"
130-
weight: 3
137+
weight: 4
131138
url: "/policies"

content/online-resources/_index.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: "Online Resources"
3+
weight: 4
4+
resources_section:
5+
enable: true
6+
title: "Project Websites"
7+
content: "Find information about NWB on our various websites"
8+
boxes:
9+
- title: "Main Website"
10+
content: "The primary NWB project website"
11+
image: "/images/portfolio.png"
12+
url: "https://www.nwb.org/"
13+
- title: "Hackathons"
14+
content: "NWB Hackathon events and information"
15+
image: "/images/hackathon_icon.png"
16+
url: "https://neurodatawithoutborders.github.io/nwb_hackathons/"
17+
- title: "NWB Neurodata Extension (NDX) Catalog"
18+
content: "Discover NWB extensions"
19+
image: "/images/ndxcatalog_logo_framed.png"
20+
url: "https://nwb-extensions.github.io/"
21+
22+
support_section:
23+
enable: true
24+
title: "Online Support and Social Media"
25+
content: "Connect with the NWB community through various online platforms"
26+
boxes:
27+
- title: "Helpdesk"
28+
content: "Get support from the NWB community"
29+
image: "/images/github.png"
30+
url: "https://github.com/NeurodataWithoutBorders/helpdesk/discussions"
31+
- title: "Mailing List"
32+
content: "Subscribe to NWB announcements"
33+
image: "/images/mail.png"
34+
url: "https://mailchi.mp/fe2a9bc55a1a/nwb-signup"
35+
- title: "Slack"
36+
content: "Join the NWB community on Slack"
37+
image: "/images/slack.png"
38+
url: "https://bit.ly/3jK6Gm1"
39+
- title: "Twitter"
40+
content: "Follow NWB on Twitter"
41+
image: "/images/twitter.png"
42+
url: "https://twitter.com/neurodatawb"
43+
- title: "Bluesky"
44+
content: "Follow NWB on Bluesky"
45+
image: "/images/Bluesky_Logo.svg"
46+
url: "https://bsky.app/profile/nwb.org"
47+
- title: "YouTube"
48+
content: "Watch NWB tutorials and presentations"
49+
image: "/images/youtube.png"
50+
url: "https://www.youtube.com/c/NeurodataWithoutBorders"
51+
52+
training_section:
53+
enable: true
54+
title: "General Training"
55+
content: "Learn about NWB through training resources"
56+
boxes:
57+
- title: "INCF Training Space"
58+
content: "NWB training resources on INCF"
59+
image: "/images/incf.png"
60+
url: "https://training.incf.org/collection/neurodata-without-borders-neurophysiology-nwbn"
61+
- title: "NWB Overview"
62+
content: "Comprehensive overview of NWB"
63+
image: "/images/nwb-guide.png"
64+
url: "https://nwb-overview.readthedocs.io/"
65+
66+
docs_section:
67+
enable: true
68+
title: "Core Tool Documentation"
69+
content: "Access documentation for NWB core tools"
70+
boxes:
71+
- title: "Core Tools"
72+
content: "Documentation for NWB core tools"
73+
image: "/images/r-docs.png"
74+
url: "https://neurodatawithoutborders.github.io/tools/core/"
75+
---

content/publications/online-and-social-media.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

layouts/online-resources/list.html

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
{{ define "main" }}
2+
{{/* Hero Section */}}
3+
<section class="hero teamSect d-flex justify-content-center align-items-center position-relative"
4+
style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">
5+
<h1 class="inter-700 text-48 text-white text-center z-4">{{ .Title | markdownify }}</h1>
6+
<div class="position-absolute ellipses">
7+
<img src="/images/essentials/ellipses.png" alt="" class="ellipseW">
8+
</div>
9+
</section>
10+
{{/* End Hero Section */}}
11+
12+
{{/* Project Websites Section */}}
13+
{{ with .Params.resources_section }}
14+
{{ if .enable }}
15+
<section class="section bg-dark-100">
16+
<div class="container-lg">
17+
<h3 class="inter-700 text-40 dark-900 mb-3">{{ .title | markdownify }}</h3>
18+
<p class="inter-400 text-16 dark-700 lh-base">{{ .content | markdownify }}</p>
19+
<div class="row g-4 justify-content-center pt-4">
20+
{{ range .boxes }}
21+
<a href="{{ .url }}" class="col-12 col-sm-6 col-md-4 col-lg-4" target="_blank">
22+
<div class="bg-white h-100 rounded-3 p-4 shadow-sm">
23+
<div class="d-flex flex-column row-gap-4">
24+
<img src="{{ .image }}" alt="" width="40">
25+
<div class="">
26+
<h5 class="inter-700 text-18 dark-900 mb-2">{{ .title | markdownify }}</h5>
27+
<p class="inter-400 text-14 dark-700">{{ .content | markdownify }}</p>
28+
</div>
29+
</div>
30+
</div>
31+
</a>
32+
{{ end }}
33+
</div>
34+
</div>
35+
</section>
36+
{{ end }}
37+
{{ end }}
38+
{{/* End Project Websites Section */}}
39+
40+
{{/* Support and Social Media Section */}}
41+
{{ with .Params.support_section }}
42+
{{ if .enable }}
43+
<section class="section bg-white">
44+
<div class="container-lg">
45+
<h3 class="inter-700 text-40 dark-900 mb-3">{{ .title | markdownify }}</h3>
46+
<p class="inter-400 text-16 dark-700 lh-base">{{ .content | markdownify }}</p>
47+
<div class="row g-4 justify-content-center pt-4">
48+
{{ range .boxes }}
49+
<a href="{{ .url }}" class="col-12 col-sm-6 col-md-4 col-lg-4" target="_blank">
50+
<div class="bg-dark-100 h-100 rounded-3 p-4 shadow-sm">
51+
<div class="d-flex flex-column row-gap-4">
52+
<img src="{{ .image }}" alt="" width="40">
53+
<div class="">
54+
<h5 class="inter-700 text-18 dark-900 mb-2">{{ .title | markdownify }}</h5>
55+
<p class="inter-400 text-14 dark-700">{{ .content | markdownify }}</p>
56+
</div>
57+
</div>
58+
</div>
59+
</a>
60+
{{ end }}
61+
</div>
62+
</div>
63+
</section>
64+
{{ end }}
65+
{{ end }}
66+
{{/* End Support and Social Media Section */}}
67+
68+
{{/* Training Section */}}
69+
{{ with .Params.training_section }}
70+
{{ if .enable }}
71+
<section class="section bg-dark-100">
72+
<div class="container-lg">
73+
<h3 class="inter-700 text-40 dark-900 mb-3">{{ .title | markdownify }}</h3>
74+
<p class="inter-400 text-16 dark-700 lh-base">{{ .content | markdownify }}</p>
75+
<div class="row g-4 justify-content-center pt-4">
76+
{{ range .boxes }}
77+
<a href="{{ .url }}" class="col-12 col-sm-6 col-md-4 col-lg-4" target="_blank">
78+
<div class="bg-white h-100 rounded-3 p-4 shadow-sm">
79+
<div class="d-flex flex-column row-gap-4">
80+
<img src="{{ .image }}" alt="" width="40">
81+
<div class="">
82+
<h5 class="inter-700 text-18 dark-900 mb-2">{{ .title | markdownify }}</h5>
83+
<p class="inter-400 text-14 dark-700">{{ .content | markdownify }}</p>
84+
</div>
85+
</div>
86+
</div>
87+
</a>
88+
{{ end }}
89+
</div>
90+
</div>
91+
</section>
92+
{{ end }}
93+
{{ end }}
94+
{{/* End Training Section */}}
95+
96+
{{/* Documentation Section */}}
97+
{{ with .Params.docs_section }}
98+
{{ if .enable }}
99+
<section class="section bg-white">
100+
<div class="container-lg">
101+
<h3 class="inter-700 text-40 dark-900 mb-3">{{ .title | markdownify }}</h3>
102+
<p class="inter-400 text-16 dark-700 lh-base">{{ .content | markdownify }}</p>
103+
<div class="row g-4 justify-content-center pt-4">
104+
{{ range .boxes }}
105+
<a href="{{ .url }}" class="col-12 col-sm-6 col-md-4 col-lg-4" target="_blank">
106+
<div class="bg-dark-100 h-100 rounded-3 p-4 shadow-sm">
107+
<div class="d-flex flex-column row-gap-4">
108+
<img src="{{ .image }}" alt="" width="40">
109+
<div class="">
110+
<h5 class="inter-700 text-18 dark-900 mb-2">{{ .title | markdownify }}</h5>
111+
<p class="inter-400 text-14 dark-700">{{ .content | markdownify }}</p>
112+
</div>
113+
</div>
114+
</div>
115+
</a>
116+
{{ end }}
117+
</div>
118+
</div>
119+
</section>
120+
{{ end }}
121+
{{ end }}
122+
{{/* End Documentation Section */}}
123+
{{ end }}

static/images/Bluesky_Logo.svg

Lines changed: 4 additions & 0 deletions
Loading

static/images/hackathon_icon.png

21.5 KB
Loading

0 commit comments

Comments
 (0)