Skip to content

Instantly share code, notes, and snippets.

@tj tj/status.html
Created Mar 17, 2017

Embed
What would you like to do?
{{ define "content" }}
{{ partial "back" (dict "url" "//apex.sh") }}
<section class="Content full center">
<div class="Container small">
<div class="Title center margin">
<span class="text">Status</span>
<span class="subtext">Apex service status.</span>
</div>
{{ info "add component listing" }}
<div class="Components">
{{ range $file := files "content/components" }}
{{ with read $file.Path | frontmatter }}
{{ info "add %s – %s (%s)" .Meta.product .Title .Meta.status }}
<div class="Component {{.Meta.status}}">
<div class="info">
<span class="product">{{.Meta.product}}</span>
<span class="name">{{.Title}}</span>
<span class="status">{{.Meta.status}}</span>
</div>
{{ with .Meta.incident }}
<div class="incident">
<span class="date">{{$file.ModTime}}</span>
<span class="message">{{.}}</span>
</div>
{{ end }}
</div>
{{ end }}
{{ end }}
</div>
</div>
<section class="Content">
<div class="Container small">
<div class="Box center-x">
<a href="mailto:support@apex.sh" class="Button dark">Contact Support</a>
</div>
</div>
</section>
</section>
{{ end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.