Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding CONVERGE video to homepage #1428

Merged
merged 3 commits into from
Dec 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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">Why should you care about data management?</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
Loading