first commit
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body id="top">
|
||||
<a class="skip" href="#content">Skip to content</a>
|
||||
<div class="page">
|
||||
{{ partial "header.html" . }}
|
||||
<main class="col" id="content" tabindex="-1">
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
</main>
|
||||
</div>
|
||||
<script>
|
||||
/* Progressive only: fade sections in as they scroll into view, and mark
|
||||
the rail's "On this page" link for the section being read. */
|
||||
(function () {
|
||||
var root = document.documentElement;
|
||||
if (!('IntersectionObserver' in window)) return;
|
||||
root.classList.add('js');
|
||||
|
||||
var io = new IntersectionObserver(function (entries) {
|
||||
entries.forEach(function (e) {
|
||||
if (e.isIntersecting) { e.target.classList.add('is-visible'); io.unobserve(e.target); }
|
||||
});
|
||||
}, { rootMargin: '0px 0px -8% 0px' });
|
||||
document.querySelectorAll('[data-reveal]').forEach(function (el) { io.observe(el); });
|
||||
|
||||
var links = [].slice.call(document.querySelectorAll('.nav-here a'));
|
||||
if (!links.length) return;
|
||||
var targets = links.map(function (a) { return document.getElementById(decodeURIComponent(a.hash.slice(1))); });
|
||||
var ticking = false;
|
||||
function update() {
|
||||
ticking = false;
|
||||
var current = -1;
|
||||
targets.forEach(function (t, i) { if (t && t.getBoundingClientRect().top < innerHeight * 0.3) current = i; });
|
||||
links.forEach(function (a, i) {
|
||||
if (i === current) a.setAttribute('aria-current', 'location'); else a.removeAttribute('aria-current');
|
||||
});
|
||||
}
|
||||
addEventListener('scroll', function () { if (!ticking) { ticking = true; requestAnimationFrame(update); } }, { passive: true });
|
||||
update();
|
||||
})();
|
||||
|
||||
/* Pricing: a link to a plan panel's id (e.g. /pricing/#hosted) selects its tab. */
|
||||
(function () {
|
||||
function openPanel() {
|
||||
var panel = location.hash && document.getElementById(decodeURIComponent(location.hash.slice(1)));
|
||||
if (!panel || !panel.classList.contains('plan-panel')) return;
|
||||
var i = [].indexOf.call(panel.parentNode.children, panel);
|
||||
var radio = panel.closest('.plan-switch').querySelectorAll('.plan-radio')[i];
|
||||
if (radio) { radio.checked = true; (panel.closest('.section') || panel).scrollIntoView(); }
|
||||
}
|
||||
addEventListener('hashchange', openPanel);
|
||||
openPanel();
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
{{/* Long-form legal text (Privacy Policy, Terms): a plain heading, then the Markdown body. */}}
|
||||
{{ define "main" }}
|
||||
<header class="hero hero-compact">
|
||||
<h1 class="statement">{{ .Title }}</h1>
|
||||
{{ with .Params.effective }}<p class="dek">Effective date: {{ . }}</p>{{ end }}
|
||||
</header>
|
||||
<section class="section">
|
||||
<div class="prose doc">{{ .Content }}</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,3 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "render-sections.html" . }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,31 @@
|
||||
{{ define "main" }}
|
||||
<div class="form-page" data-reveal>
|
||||
<p class="eyebrow">Sign In</p>
|
||||
<h1 class="statement">{{ .Params.heading | default "Welcome back" }}</h1>
|
||||
|
||||
<form onsubmit="return false;">
|
||||
<div class="field">
|
||||
<label for="email">Email</label>
|
||||
<input id="email" type="email" name="email" autocomplete="email" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" type="password" name="password" autocomplete="current-password" required>
|
||||
</div>
|
||||
<div class="field-row">
|
||||
<label><input type="checkbox" name="remember"> Remember me</label>
|
||||
<a href="#">Forgot password?</a>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary"><span class="btn-label">Sign In</span></button>
|
||||
</form>
|
||||
|
||||
<p class="form-foot">
|
||||
Don't have an account yet?
|
||||
<a class="more" href="{{ "/start-now/" | relURL }}">Start Your 7-Day Free Trial<span class="arrow" aria-hidden="true">→</span></a>
|
||||
</p>
|
||||
|
||||
<p class="form-note">
|
||||
Having trouble signing in? <a href="mailto:{{ .Site.Params.supportEmail }}">Contact Support</a>
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,3 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "render-sections.html" . }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user