mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 00:21:25 -04:00
chore: add hextra home layout
This commit is contained in:
22
layouts/hextra-home.html
Normal file
22
layouts/hextra-home.html
Normal file
@ -0,0 +1,22 @@
|
||||
{{ define "main" }}
|
||||
<div class="mx-auto flex max-w-screen-xl">
|
||||
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true) }}
|
||||
<div class="w-full break-words flex min-h-[calc(100vh-var(--navbar-height))] min-w-0 justify-start pb-8 pr-[calc(env(safe-area-inset-right)-1.5rem)]">
|
||||
<section class="flex max-w-[90rem] flex-col items-start gap-2 px-6 sm:px-4 pt-8 md:pt-12 pb-8">
|
||||
<a class="inline-flex items-center rounded-full gap-2 px-3 py-1 text-xs text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-neutral-900 dark:border-neutral-800 " href="https://github.com/imfing/hextra">
|
||||
<div class="w-2 h-2 rounded-full bg-primary-400"></div>
|
||||
<span>Free, open source</span>
|
||||
{{- partial "utils/icon" (dict "name" "arrow-circle-right" "attributes" "height=14") -}}
|
||||
</a>
|
||||
<h1 class="text-4xl font-bold leading-tight tracking-tighter md:text-5xl lg:leading-[1.1] mt-6">
|
||||
Build modern website
|
||||
<br class="sm:block hidden" />
|
||||
with Hugo and Markdown
|
||||
</h1>
|
||||
<p class="mt-4 text-xl text-gray-600 sm:text-xl">
|
||||
Beautiful, batteries-included theme for Hugo.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Reference in New Issue
Block a user