Skip to content

Commit

Permalink
Adding CONVERGE video to homepage (#1428)
Browse files Browse the repository at this point in the history
* add video to homepage

* update title

* Capital
  • Loading branch information
bedroesb authored Dec 15, 2023
1 parent 5de18f7 commit 3acae30
Showing 1 changed file with 71 additions and 59 deletions.
130 changes: 71 additions & 59 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ <h3 class="card-title no-anchor text-primary">{{folder.title}}</h3>
</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 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">
Expand All @@ -73,7 +83,7 @@ <h2>We welcome contributors!</h2>
</div>
</div>
</section>
<section class="py-5 bg-light">
<section class="py-5">
<div class="container">
<div class="row">
<div class="col-lg-6">
Expand All @@ -85,70 +95,72 @@ <h2>We welcome contributors!</h2>
</div>
</div>
</section>
<section class="container my-5">
<h2 class="mt-5 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-light 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-4" src="{{ '/assets/img/section-icons/users-light.svg' | relative_url }}" alt="Contributors icon">
<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-4" src="{{ '/assets/img/section-icons/users-light.svg' | relative_url }}" alt="Contributors icon">
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="bg-light 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-4" src="{{ '/assets/img/section-icons/gears-light.svg' | relative_url }}" alt="Contributors icon">
<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-4" src="{{ '/assets/img/section-icons/gears-light.svg' | relative_url }}" alt="Contributors icon">
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="bg-light 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-4" src="{{ '/assets/img/section-icons/file-lines-light.svg' | relative_url }}" alt="Contributors icon">
<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-4" src="{{ '/assets/img/section-icons/file-lines-light.svg' | relative_url }}" alt="Contributors icon">
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 3acae30

Please sign in to comment.