1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-25 18:58:41 +01:00
website/_src/index.html

213 lines
7.8 KiB
HTML

---
layout: base
front_page: true
css: page-front
---
{% assign content = site.data.content-front %}
<header class="hero section">
{% include menu-main.html %}
<div class="hero__content row">
<hgroup>
<div class="grid grid--full grid-medium--columns grid--gutters">
<div class="grid__col grid__col--4">
<h1 class="hero__title">{{ content.hero.title }}</h1>
<h2 class="hero__description">{{ content.hero.description }}</h2>
<a class="hero__action button button--primary" href="{{ site.signup.link }}">{{ site.signup.button }}</a>
</div>
</div>
</hgroup>
</div>
<div class="starbase">
<div class="starbase-wrap">
<div class="row">
<svg class="starbase__item starbase__item--stones" width="234" height="80">
<use xlink:href="/assets/img/sprite.svg#starbase-stones"></use>
</svg>
<svg class="starbase__item starbase__item--mooncycle" width="59" height="31">
<use xlink:href="/assets/img/sprite.svg#starbase-mooncycle"></use>
</svg>
<svg class="starbase__item starbase__item--towers" width="673" height="389">
<use xlink:href="/assets/img/sprite.svg#starbase-towers"></use>
</svg>
</div>
</div>
</div>
<svg class="starbase-rocket" width="49" height="176">
<use xlink:href="/assets/img/sprite.svg#starbase-rocket"></use>
</svg>
<svg class="starbase-rocket" width="49" height="176">
<use xlink:href="/assets/img/sprite.svg#starbase-rocket"></use>
</svg>
</header>
<section class="section section--intro">
<div class="row">
<header class="section__header">
<div class="grid grid--full grid-small--columns grid--center grid--gutters">
<div class="grid__col grid__col--4">
<h1 class="section__title">{{ content.intro.title }}</h1>
<p class="section__description">{{ content.intro.description }}</p>
{{ content.intro.text | markdownify }}
</div>
<div class="grid__col grid__col--2 grid__col--center">
<svg width="298" height="220" aria-labelledby="title">
<title>IPDB Distributed</title>
<use xlink:href="/assets/img/sprite.svg#distributed"></use>
</svg>
</div>
</div>
</header>
<section class="features">
{% for feature in content.intro.features %}
<div class="feature">
<div class="grid grid--full grid-small--half grid-medium--columns grid--center grid--gutters">
<div class="grid__col grid__col--2">
<figure class="feature__image">
<svg aria-labelledby="title">
<title>{{ feature.title }}</title>
<use xlink:href="/assets/img/sprite.svg#{{ feature.image }}"></use>
</svg>
</figure>
</div>
<div class="grid__col grid__col--4">
<h1 class="feature__title">{{ feature.title }}</h1>
<div class="feature__text">{{ feature.text | markdownify }}</div>
{% if feature.list %}
<ul class="feature__list">
{% for item in feature.list %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</section>
<footer class="section__actions">
<a class="button button--primary" href="{{ site.signup.link }}">{{ site.signup.button }}</a>
<a href="" class="button button--text">Read IPDB Documentation</a>
</footer>
</div>
</section>
<section class="section section--background section--foundation">
<div class="row">
<header class="section__header">
<div class="grid grid--full grid-small--columns grid--center grid--gutters">
<div class="grid__col grid__col--4">
<h1 class="section__title">{{ content.foundation.title }}</h1>
<p class="section__description">{{ content.foundation.description }}</p>
</div>
<div class="grid__col grid__col--2">
<svg width="559" height="253" aria-labelledby="title">
<title>IPDB Governance</title>
<use xlink:href="/assets/img/sprite.svg#governance"></use>
</svg>
</div>
</div>
</header>
</div>
<div class="row">
{% include caretakers.html %}
</div>
<div class="row">
<a href="/foundation/" class="button button--text">{{ content.foundation.button }}</a>
</div>
</section>
<section class="section section--roadmap">
<div class="row">
<header class="section__header">
<h1 class="section__title">{{ content.roadmap.title }}</h1>
<p class="section__description">{{ content.roadmap.description }}</p>
</header>
</div>
<div class="roadmap">
<div class="row">
{% for step in content.roadmap.steps %}
{% assign status = step.status %}
<div class="roadmap__step is-{{ status }}">
<p class="roadmap__net">{{ step.net }}</p>
<p class="roadmap__target">{{ step.target }}</p>
{% if step.time %}<p class="roadmap__time">{{ step.time }}</p>{% endif %}
</div>
{% endfor %}
</div>
</div>
</section>
<section class="section section--background section--getstarted">
<div class="row">
<header class="section__header">
<h1 class="section__title">{{ content.getstarted.title }}</h1>
<p class="section__description">{{ content.getstarted.description }}</p>
</header>
</div>
</section>
<section class="section section--connect">
<div class="row">
<header class="section__header">
<h1 class="section__title">{{ content.connect.title }}</h1>
<p class="section__description">{{ content.connect.description }}</p>
</header>
<div class="grid grid--full grid-small--half grid--gutters">
<div class="grid__col">
<div class="connect connect--blog">
<h2 class="connect__title">{{ content.connect.blog_title }}</h2>
<div class="articles">
{% for article in site.articles limit: 4 %}
<a class="article" href="{{ article.link }}">
<figure class="article__image" style="background-image: url('{{ article.image | escape | strip_html }}')"></figure>
<h1 class="article__title">{{ article.title }}</h1>
</a>
{% endfor %}
</div>
<a href="https://blog.ipdb.io" class="button button--text">IPDB Blog</a>
</div>
</div>
<div class="grid__col">
<div class="connect connect--newsletter">
<h2 class="connect__title">{{ content.connect.newsletter_title }}</h2>
</div>
<div class="connect connect--social">
<h2 class="connect__title">{{ content.connect.social_title }}</h2>
</div>
</div>
</div>
</div>
</section>