appview/pages: add knots description to /knots #319

merged
opened by ok-ciel.bsky.social targeting master from ok-ciel.bsky.social/core: push-yxvvnyzoownu

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
+7
appview
pages
templates
knots
+7
appview/pages/templates/knots/index.html
··· 7 7 8 8 <section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white"> 9 9 <div class="flex flex-col gap-6"> 10 + {{ block "about" . }} {{ end }} 10 11 {{ template "knots/fragments/knotListingFull" . }} 11 12 {{ block "register" . }} {{ end }} 12 13 </div> 13 14 </section> 14 15 {{ end }} 15 16 17 + {{ define "about" }} 18 + <section class="rounded flex flex-col gap-2"> 19 + <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> 20 + </section> 21 + {{ end }} 22 + 16 23 {{ define "register" }} 17 24 <section class="rounded max-w-2xl flex flex-col gap-2"> 18 25 <h2 class="text-sm font-bold py-2 uppercase dark:text-gray-300">register a knot</h2>