forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

appview/pages: add knots description to /knots

Provide an explaination to what a Knot is. Pulled from the introducing
tangled blog post. Addsd a link to the self hosting documentation in
core. Removes additional padding to be more consistent with the other
setting pages.

Signed-off-by: Ciel <jamie@longest.voyage>

Changed files
+14
appview
pages
templates
knots
+14
appview/pages/templates/knots/index.html
···
<section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">
<div class="flex flex-col gap-6">
+
{{ block "about" . }} {{ end }}
{{ template "knots/fragments/knotListingFull" . }}
{{ block "register" . }} {{ end }}
</div>
</section>
+
{{ end }}
+
+
{{ define "about" }}
+
<section class="rounded flex flex-col gap-2">
+
<p class="dark:text-gray-300">
+
Knots are lightweight headless servers that enable users to host Git repositories with ease.
+
Knots are designed for either single or multi-tenant use which is perfect for self-hosting on a Raspberry Pi at home, or larger “community” servers.
+
By default, Tangled provides managed knots where you can host your repositories for free.
+
<a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/knot-hosting.md">
+
Checkout the documentation if you're interested in self-hosting.
+
</a>
+
</p>
+
</section>
{{ end }}
{{ define "register" }}