Skip to content

Commit 9fe8e2a

Browse files
committed
remove events section from homepage
1 parent 49f4fb4 commit 9fe8e2a

File tree

4 files changed

+86
-83
lines changed

4 files changed

+86
-83
lines changed

content/policies/_index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ section:
44
- title: Policies on Community-driven Development and Integration of New
55
Neuroscience Technologies with NWB
66
list:
7-
- subtitle: "NWB Extension Sharing:"
7+
- subtitle: "NWB Extension Sharing"
88
items:
99
- heading: "Guidelines for sharing NWB extensions (NDX)"
1010
icon: /images/guidelines.png
@@ -36,18 +36,21 @@ section:
3636
icon: /images/v-guidelines.png
3737
content: Requirements and strategy for versioning namespaces for the NWB core
3838
schema and extensions
39+
link: "https://docs.google.com/document/d/1UQfN7jg8TDIkWlUg3k3yGhz9RfxqXkGoVpQPIh9Tgz0/edit?usp=sharing"
3940
- title: NWB Technical Advisory Board
4041
list:
4142
- items:
4243
- heading: NWB Technical Advisory Board Governance Plan
4344
icon: /images/nwb-tech.png
4445
content: Information about the TAB, role, and membership.
46+
link: "https://docs.google.com/document/d/1EmKZp8vBksE6W5vs6jWnRdaGDTuPMqzHI8CtCNhH8Mg/edit?usp=sharing"
4547
- title: Software and Data Standard Policies
4648
list:
4749
- items:
4850
- heading: NWB and HDMF Software Release Cycle
4951
icon: /images/nwb-release.png
5052
content: General release cycle for the NWB and HDMF software and schema
53+
link: "https://docs.google.com/document/d/19eWuTKFKwWdTrA9Zhh8Qc46SHYikPeI4XiWiIyYy87U/edit?usp=sharing"
5154
- heading: NWB and HDMF Versioning and Compatibility
5255
icon: /images/nwb-cap.png
5356
content: Standard practices for versioning and maintaining compatibility between
@@ -56,12 +59,14 @@ section:
5659
icon: /images/nwb-schema.png
5760
content: Standard process for management of issues on core NWB software and
5861
schema code repositories.
62+
link: "https://docs.google.com/document/d/14BYMftBEh62-wFmOj-yvs31MZzBhaT4RPRf7npLK540/edit?usp=sharing"
5963
- heading: Best Practices for NWB Data
6064
icon: /images/nwb-practice.png
6165
content: Collection of additional guidelines on common best practices to
6266
facilitate consistent use of the NWB standard and help avoid
6367
common problems and most effectively leverage the NWB data
6468
standard and its ecosystem of software tools.
69+
link: "https://nwbinspector.readthedocs.io/en/dev/best_practices/best_practices_index.html"
6570
- title: Project-specific Policies
6671
list:
6772
- subtitle: ""
@@ -79,7 +84,6 @@ section:
7984
project “Advancing Standardization of Neurophysiology Data Through
8085
Dissemination of NWB”
8186
82-
8387
[DataJoint / NWB Roadmap (external)](/): **DataJoint** and **NWB** are two neuroinformatics initiatives in active development. The projects develop independently yet they have complementary aims and overlapping user communities. This document establishes key processes for coordinating development and communications in order to promote integration and interoperability across the two ecosystems.
8488
- heading: Previous grants
8589
icon: /images/p-grants.png

layouts/about-us/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ <h1 class="inter-700 text-48 text-white text-center">{{ .Title | markdownify }}<
1010
{{ if .enable }}
1111
<section class="section d-flex flex-column aboutOverview">
1212
<div class="d-flex flex-column flex-lg-row gap-4 container-lg mx-auto align-items-center justify-content-center justify-content-md-between">
13-
<div class="col-12 col-sm-8 col-lg-6">
13+
<div class="col-12 col-sm-4 col-lg-3">
1414
<div>
1515
<img src="{{ .image }}" alt="" class="img-fluid">
1616
</div>
1717
</div>
18-
<div class="col-12 col-sm-8 col-lg-6">
18+
<div class="col-12 col-sm-8 col-lg-8">
1919
<div class="ps-lg-5">
2020
<h3 class="dark-900 inter-700 text-40 mb-4">{{ .title | markdownify }}</h3>
2121
{{ with .content }}
@@ -55,7 +55,7 @@ <h3 class="dark-900 inter-700 text-40 mb-4">{{ .title | markdownify }}</h3>
5555
{{ with .Params.initiatives_section }}
5656
{{ if .enable }}
5757
<section class="ctaSect w-100 py-5">
58-
<div class="container-sm text-center py-4">
58+
<div class="container-sm py-4">
5959
<h3 class="inter-700 dark-100 text-40 pb-3">{{ .title | markdownify}}</h3>
6060
<p class="inter-500 text-18 dark-50">{{ .content | markdownify }}</p>
6161
</div>
@@ -68,7 +68,7 @@ <h3 class="inter-700 dark-100 text-40 pb-3">{{ .title | markdownify}}</h3>
6868
{{ with .Params.neurophysiology_section }}
6969
{{ if .enable }}
7070
<section class="section">
71-
<div class="col-sm-9 px-3 px-sm-0 mx-auto text-center d-flex flex-column justify-content-center row-gap-4">
71+
<div class="col-sm-9 px-3 px-sm-0 mx-auto d-flex flex-column justify-content-center row-gap-4">
7272
<h3 class="inter-700 text-40 dark-900">{{ .title | markdownify }}</h3>
7373
{{ range .content }}
7474
{{ with .text }}

layouts/index.html

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -176,83 +176,6 @@ <h3 class="inter-600 text-20 dark-100">{{ .Title | markdownify | truncate 30 }}<
176176
{{ end }}
177177
{{/* End News And Updates Section */}}
178178

179-
{{/* Events Section */}}
180-
{{ with where .Site.RegularPages "Section" "event-cards" }}
181-
<section class="section">
182-
<div class="swiper eventsSwiper container-lg d-flex flex-column gap-5 pb-5">
183-
184-
<h2 class="inter-700 text-40 text-center mb-0">Upcoming Events</h2>
185-
186-
<div class="swiper-wrapper">
187-
{{ range . }}
188-
<div class="swiper-slide">
189-
<div class="aboutBox px-3 py-4 animate rounded-3 bg-white">
190-
<div class="d-flex flex-sm-row gap-3 pb-4 border-bottom">
191-
<div>
192-
<div class="bg-blue rounded-3 px-3 py-2 text-white d-inline-block text-center">
193-
<h5 class="inter-600 text-24 mb-0 dark-100 lh-0">{{ .Date | time.Format "02" }}</h5>
194-
<p class="inter-500 text-14 mb-0 lh-0">{{ .Date | time.Format "January" }}</p>
195-
</div>
196-
</div>
197-
<div class="d-flex flex-column row-gap-1">
198-
<h4 class="inter-600 text-20 mb-0">{{ .Title | markdownify }}</h4>
199-
<div class="d-flex align-items-center gap-2">
200-
<div>
201-
<img src="/images/essentials/calender.png" alt="" width="17">
202-
</div>
203-
<div>
204-
<p class="inter-400 text-14 mb-0 pt-1 dark-700">{{ with .Date }}<span>{{ . | time.Format ":date_long"
205-
}}</span>{{ end }} to {{ with .Params.lastDate }} <span>{{ . | time.Format ":date_long"
206-
}}</span>{{ end }}</p>
207-
</div>
208-
</div>
209-
<div class="d-flex">
210-
<div class="d-flex align-items-center gap-2 me-4">
211-
<div>
212-
<img src="/images/essentials/clock.png" alt="" width="17">
213-
</div>
214-
{{ with .Params.time }}
215-
<p class="inter-400 text-14 mb-0 pt-1 blue">{{ . | markdownify }}</p>
216-
{{ end }}
217-
</div>
218-
{{ with .Params.comments }}
219-
<div class="d-flex align-items-center gap-2">
220-
<div>
221-
<img src="/images/essentials/comments.png" alt="" width="17">
222-
</div>
223-
<p class="inter-400 text-14 mb-0 pt-1 blue">{{ . }}</p>
224-
</div>
225-
{{ end }}
226-
</div>
227-
</div>
228-
</div>
229-
230-
<div class="pt-4 d-flex flex-lg-row row-gap-3 justify-content-between">
231-
{{ with .Params.register_btn }}
232-
<div class="d-flex align-items-center">
233-
<a href="{{ . }}"
234-
class="btn btn-sm btn-primary bg-yellow border-yellow text-18 px-4 rounded-3 btn-lg scale animate">Register</a>
235-
</div>
236-
{{ end }}
237-
<div class="d-flex align-items-center">
238-
<a href="{{ .Permalink }}"
239-
class="btn btn-sm btn-outline-primary border-blue blue text-18 px-4 rounded-3 btn-lg scale eventsBtn animate">Learn
240-
More</a>
241-
</div>
242-
</div>
243-
</div>
244-
</div>
245-
{{ end }}
246-
</div>
247-
248-
<div class="swiper-button-prev mt-1"></div>
249-
<div class="swiper-button-next mt-1"></div>
250-
<div class="swiper-pagination" style="bottom: 0px;"></div>
251-
</div>
252-
</section>
253-
{{ end }}
254-
{{/* End Events Section */}}
255-
256179
{{/* Sponsers Section */}}
257180
{{ with .Params.sponsers_section }}
258181
{{ if .enable }}

layouts/old_events_panel.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{{/* Events Section */}}
2+
{{ with where .Site.RegularPages "Section" "event-cards" }}
3+
<section class="section">
4+
<div class="swiper eventsSwiper container-lg d-flex flex-column gap-5 pb-5">
5+
6+
<h2 class="inter-700 text-40 text-center mb-0">Upcoming Events</h2>
7+
8+
<div class="swiper-wrapper">
9+
{{ range . }}
10+
<div class="swiper-slide">
11+
<div class="aboutBox px-3 py-4 animate rounded-3 bg-white">
12+
<div class="d-flex flex-sm-row gap-3 pb-4 border-bottom">
13+
<div>
14+
<div class="bg-blue rounded-3 px-3 py-2 text-white d-inline-block text-center">
15+
<h5 class="inter-600 text-24 mb-0 dark-100 lh-0">{{ .Date | time.Format "02" }}</h5>
16+
<p class="inter-500 text-14 mb-0 lh-0">{{ .Date | time.Format "January" }}</p>
17+
</div>
18+
</div>
19+
<div class="d-flex flex-column row-gap-1">
20+
<h4 class="inter-600 text-20 mb-0">{{ .Title | markdownify }}</h4>
21+
<div class="d-flex align-items-center gap-2">
22+
<div>
23+
<img src="/images/essentials/calender.png" alt="" width="17">
24+
</div>
25+
<div>
26+
<p class="inter-400 text-14 mb-0 pt-1 dark-700">{{ with .Date }}<span>{{ . | time.Format ":date_long"
27+
}}</span>{{ end }} to {{ with .Params.lastDate }} <span>{{ . | time.Format ":date_long"
28+
}}</span>{{ end }}</p>
29+
</div>
30+
</div>
31+
<div class="d-flex">
32+
<div class="d-flex align-items-center gap-2 me-4">
33+
<div>
34+
<img src="/images/essentials/clock.png" alt="" width="17">
35+
</div>
36+
{{ with .Params.time }}
37+
<p class="inter-400 text-14 mb-0 pt-1 blue">{{ . | markdownify }}</p>
38+
{{ end }}
39+
</div>
40+
{{ with .Params.comments }}
41+
<div class="d-flex align-items-center gap-2">
42+
<div>
43+
<img src="/images/essentials/comments.png" alt="" width="17">
44+
</div>
45+
<p class="inter-400 text-14 mb-0 pt-1 blue">{{ . }}</p>
46+
</div>
47+
{{ end }}
48+
</div>
49+
</div>
50+
</div>
51+
52+
<div class="pt-4 d-flex flex-lg-row row-gap-3 justify-content-between">
53+
{{ with .Params.register_btn }}
54+
<div class="d-flex align-items-center">
55+
<a href="{{ . }}"
56+
class="btn btn-sm btn-primary bg-yellow border-yellow text-18 px-4 rounded-3 btn-lg scale animate">Register</a>
57+
</div>
58+
{{ end }}
59+
<div class="d-flex align-items-center">
60+
<a href="{{ .Permalink }}"
61+
class="btn btn-sm btn-outline-primary border-blue blue text-18 px-4 rounded-3 btn-lg scale eventsBtn animate">Learn
62+
More</a>
63+
</div>
64+
</div>
65+
</div>
66+
</div>
67+
{{ end }}
68+
</div>
69+
70+
<div class="swiper-button-prev mt-1"></div>
71+
<div class="swiper-button-next mt-1"></div>
72+
<div class="swiper-pagination" style="bottom: 0px;"></div>
73+
</div>
74+
</section>
75+
{{ end }}
76+
{{/* End Events Section */}}

0 commit comments

Comments
 (0)