forked from elixir-europe/rdmkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
233 lines (224 loc) · 12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
---
search_exclude: true
layout: none
---
<!doctype html>
<html lang="en">
{% include head.html %}
<body>
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
{% include topnav.html search=false %}
<div class="landingpage">
<section class="container mb-5">
<div>
<h1>The Research Data Management toolkit for Life Sciences</h1>
<p class="text-center mt-2">Best practices and guidelines to help you make your data FAIR (Findable, Accessible, Interoperable and Reusable)</p>
</div>
</section>
<section id="search-section" class="bg-light py-5">
<div class="container">
<div class="row">
<h2 class="no-anchor text-center mb-3">What can we help you find?</h2>
<div class="position-relative">
<div class="d-flex justify-content-center">
<form role="search" class="input-group">
<span class="input-group-text" id="search-label"><i class="fa-solid fa-magnifying-glass"></i></span>
<input type="search" id="search-input" class="search-input form-control form-control-lg bg-white" tabindex="0"
placeholder="Search {{ site.title }}" aria-label="Search {{ site.title }}" autocomplete="off">
</form>
<div id="search-results" class="search-results"></div>
</div>
</div>
</div>
</div>
</section>
<section class="bg-light pb-5">
<div class="container">
<h2 class="no-anchor text-center mb-3">Browse all topics by</h2>
{%- assign sidebar = site.data.sidebars[page.sidebar] %}
<div class="row row-cols-1 row-cols-sm-2 row-cols-lg-3 g-4">
{%- for folder in sidebar.subitems %}
<div class="col">
<div class="card bg-white h-100">
<img src="{{folder.image_url | relative_url}}" class="card-img-top h-icon-6 mx-auto" alt="{{folder.title}} icon">
<div class="card-body text-center">
<a href="{{ folder.url | relative_url }}" class="stretched-link">
<h3 class="card-title no-anchor text-dark">{{folder.title}}</h3>
</a>
<p class="card-text">{{folder.description}}</p>
</div>
</div>
</a>
</div>
{%- endfor %}
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<h2 class="no-anchor text-center mb-4">Research Data Management at glance</h2>
<div class="d-flex">
<div class="ratio ratio-16x9 mx-auto" style="max-width: 600px;">
<iframe class="rounded" src="https://www.youtube.com/embed/S7HfUe1hWcg?si=IepMXby7ei3UxenW" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</div>
</section>
<section class="py-5 bg-light">
<div class="container">
<div class="row">
<div class="col-lg-2 my-auto">
<img class="h-icon-8" src="{{ '/assets/img/section-icons/community.svg' | relative_url }}" alt="Contributors icon">
</div>
<div class="col-lg-7">
<h2>We welcome contributors!</h2>
<p>This project would not be possible without the many <a href="{{ '/contributors' | relative_url }}"><b>amazing
community contributors</b></a>. RDMkit is an open community project, and you are welcome to join us!
</p>
</div>
<div class="col-lg-3 my-auto">
<a class="btn btn-primary btn-lg rounded-pill px-4" href="{{ '/how_to_contribute' | relative_url }}">Start contributing</a>
</div>
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<div class="row">
<div class="col-lg-6 pe-lg-4">
{% include news.html caption=true title=true limit=3 %}
</div>
<div class="col-lg-6 mt-4 mt-lg-0 ps-lg-4">
<h2>Events</h2>
<div class="events upcoming_events" style="display: block;">
<ul class="list-unstyled mt-3">
<li class="upcoming_event" data-start="2024-06-22" style="display: list-item;">
<span class="title mb-1">RDMkit Club monthly meeting</span>
<p class="text-muted mb-0"><i class="far fa-calendar me-2"></i>Last Thursday of each month at 10:00 CEST / 9:00 BST</p>
<i class="fa-solid fa-map-marker-alt me-2 text-muted"></i>
<div class="d-inline-block text-muted">
<p><a href="https://elixir-europe-org.zoom.us/meeting/register/tZAuce-grDssEtH114zzMh8DgRPHzWteDAmt">Zoom</a></p>
</div>
<p>Informal drop-in session to discuss impact and future directions of the RDMkit. More information can be found on our <a href="{{ 'rdmkit_club' | relative_url }}">RDMkit Club page</a>.</p>
</li>
</ul>
</div>
{% include events.html event_type="upcoming_event" %}
</div>
</div>
</div>
</section>
<section class="py-5 bg-light">
<div class="container">
<h2 class="mb-3">RDMkit in numbers</h2>
{%- assign contributors = site.data.CONTRIBUTORS %}
{%- for page in site.pages %}
{%- if page.contributors and page.search_exclude != true %}
{%- assign pagecontr = page.contributors | join: ", " %}
{%- if allcontrstr %}
{%- assign allcontrstr = allcontrstr | append: ", " | append: pagecontr %}
{%- else %}
{%- assign allcontrstr = allcontrstr | append: pagecontr %}
{%- endif %}
{%- endif %}
{%- endfor %}
{%- for contr in contributors %}
{%- assign allcontrstr = allcontrstr | append: ", " | append: contr[0] %}
{%- endfor %}
{%- assign allcontributors = allcontrstr | split: ", " | uniq | sort %}
{%- assign tools = site.data.tool_and_resource_list -%}
<div class="row row-cols-1 row-cols-sm-2 row-cols-lg-3 g-4 mb-3">
<div class="col">
<div class="bg-white d-flex align-items-center rounded p-3 text-center h-100">
<div class="row g-1 flex-grow-1">
<div class="col-7">
<span class="count-number text-primary">{{allcontributors.size}}</span>
<p><b>Contributors</b><br>
The force behind RDMkit</p>
</div>
<div class="col-5 my-auto">
<img class="h-icon-6" src="{{ '/assets/img/section-icons/community.svg' | relative_url }}" alt="Contributors icon">
</div>
</div>
</div>
</div>
<div class="col">
<div class="bg-white d-flex align-items-center rounded p-3 text-center h-100">
{%- assign national_tools = 0 %}
{%- assign country_pages = site.pages | where: "type", "national_resources" | where:
"search_exclude", false %}
{%- for country_page in country_pages %}
{%- assign national_tools = national_tools | plus: country_page.national_resources.size %}
{%- endfor %}
<div class="row g-1 flex-grow-1">
<div class="col-7">
<span class="count-number text-primary">{{tools.size | plus: national_tools }}</span>
<p><b>Tools & resources</b><br>
Explained in the context of real world problems</p>
</div>
<div class="col-5 my-auto">
<img class="h-icon-6" src="{{ '/assets/img/section-icons/cogs.svg' | relative_url }}" alt="Tools icon">
</div>
</div>
</div>
</div>
<div class="col">
<div class="bg-white d-flex align-items-center rounded p-3 text-center h-100">
{%- assign content_pages = site.pages | where: "search_exclude", false %}
<div class="row g-1 flex-grow-1">
<div class="col-7">
<span class="count-number text-primary">{{content_pages.size}}</span>
<p><b>Pages</b><br>
Helping you with data management</p>
</div>
<div class="col-5 my-auto">
<img class="h-icon-6" src="{{ '/assets/img/section-icons/your-task.svg' | relative_url }}" alt="Pages icon">
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
{%- if site.theme_variables.back_to_top or site.theme_variables.back_to_top == nil %}
{% include scroll-top.html %}
{%- endif %}
{% include footer.html %}
{% include cookie-popup.html %}
</body>
</html>
<script type="text/javascript">
/**
* Animate numbers when in viewport
*/
// inViewport jQuery plugin
// https://stackoverflow.com/a/26831113/383904
$(function ($, win) {
$.fn.inViewport = function (cb) {
return this.each(function (i, el) {
function visPx() {
var H = $(this).height(),
r = el.getBoundingClientRect(), t = r.top, b = r.bottom;
return cb.call(el, Math.max(0, t > 0 ? H - t : (b < H ? b : H)));
} visPx();
$(win).on("resize scroll", visPx);
});
};
}(jQuery, window));
jQuery(function ($) { // DOM ready and $ in scope
$(".count-number").inViewport(function (px) { // Make use of the `px` argument!!!
if (px > 0 && !this.initNumAnim) {
this.initNumAnim = true; // Set flag to true to prevent re-running the same animation
$(this).prop('Counter', 0).animate({
Counter: $(this).text()
}, {
duration: 1000,
step: function (now) {
$(this).text(Math.ceil(now));
}
});
}
});
});
</script>