Files
hammerfest/layouts/apps/single.html
T
2026-09-30 16:19:00 -06:00

35 lines
2.4 KiB
HTML

{{/*
One page per app in the Software Library. Front matter carries the facts
(eyebrow, headline, dek, replaces, plans, price, projectUrl); the Markdown
body is the long-form copy, followed by the closing call to action.
*/}}
{{ define "main" }}
<header class="hero hero-compact">
<p class="note" data-reveal><span class="note-live" aria-hidden="true"></span><span class="note-text">{{ .Params.eyebrow | default "Software Library" }}</span></p>
<h1 class="statement" data-reveal style="--d:80ms">{{ .Params.headline | default .Title | markdownify }}</h1>
{{ with .Params.dek }}<p class="dek" data-reveal style="--d:140ms">{{ . | markdownify }}</p>{{ end }}
<div class="actions" data-reveal style="--d:200ms">
{{ partial "sections/ctas.html" (slice (dict "label" "Start 7-Day Free Trial" "url" "/start-now/" "style" "primary") (dict "label" "Book a Demo" "url" site.Params.demoUrl "style" "ghost")) }}
</div>
</header>
<section class="section" data-reveal>
<dl class="app-facts">
{{ with .Params.replaces }}<div><dt>Replaces</dt><dd>{{ . }}</dd></div>{{ end }}
<div><dt>Hosted plans</dt><dd>{{ with .Params.plans }}Included in {{ . }}{{ else }}Add to any plan{{ end }}{{ with $.Params.price }} · {{ . }} on its own{{ end }}</dd></div>
<div><dt>Self-hosted</dt><dd>Any tier (Free includes up to 3 apps)</dd></div>
{{ with .Params.projectUrl }}<div><dt>Project</dt><dd><a href="{{ . }}" target="_blank" rel="noopener">{{ replaceRE `^https?://(www\.)?([^/]+).*$` "$2" . }}<span class="arrow" aria-hidden="true">↗</span></a></dd></div>{{ end }}
</dl>
<p class="app-facts-more"><a class="more" href="{{ "/pricing/" | relURL }}">See pricing<span class="arrow" aria-hidden="true">→</span></a> <a class="more" href="{{ "/product/software-library/" | relURL }}">Browse the Software Library<span class="arrow" aria-hidden="true">→</span></a></p>
</section>
<section class="section" data-reveal>
<div class="prose doc">{{ .Content }}</div>
</section>
{{ partial "sections/final-cta.html" (dict
"headline" (printf "Run %s on Federated" .Title)
"body" "Private, single-tenant, and integrated with the rest of your apps. Talk to us, or start your free trial."
"ctas" (slice (dict "label" "Book a Demo" "url" site.Params.demoUrl "style" "primary") (dict "label" "Start 7-Day Free Trial" "url" "/start-now/" "style" "ghost"))) }}
{{ end }}