start9-landing/src/index.njk

67 lines
1.6 KiB
Text
Raw Normal View History

2022-07-19 14:25:29 +00:00
---
title: Start9 | Sovereign Computing
layout: layouts/base.njk
---
{#
<script>
// https://yewtu.be/watch?v=FJ44qmE5odc
let path = document.querySelector('path');
let pathLength = path.getTotalLength();
path.style.strokeDasharray = pathLength + ' ' + pathLength;
path.style.strokeDashoffset = pathLength;
window.addEventListener('scroll', ()=> {
// what percent down is it?
var scrollPercentage = (document.documentElement.scrollTop + document.body.scrollTop) / (document.documentElement.scrollHeight - document.documentElement.clientHeight);
// length to offset the dashes
var drawLength = pathLength * scrollPercentage;
// draw in reverse
path.style.strokeDashoffset = pathLength - drawLength;
})
</script> #}
<link rel="stylesheet" href="assets/styles/landing.css">
{% include "components/landing/hero.njk" %}
2022-07-28 11:55:52 +00:00
<div class="line" id="hero-to-pitch">
{% include "components/landing/lines/hero-to-pitch.svg" %}
</div>
2022-07-19 14:25:29 +00:00
{% include "components/landing/pitch.njk" %}
2022-07-28 11:55:52 +00:00
2022-07-19 14:25:29 +00:00
{% include "components/landing/products.njk" %}
2022-07-28 11:55:52 +00:00
<div class="line" id="products-to-info">
{% include "components/landing/lines/products-to-info.svg" %}
</div>
{% include "components/landing/infographics.njk" %}
{% include "components/landing/bitcoin.njk" %}
<div class="line" id="bitcoin-to-be">
{% include "components/landing/lines/bitcoin-to-be.svg" %}
</div>
{% include "components/landing/be-your-own.njk" %}
{% include "components/landing/powered-by.njk" %}
{% include "components/landing/support.njk" %}
{% include "components/landing/dev.njk" %}
{% include "components/landing/community.njk" %}