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
+6 -2
appview
pages
templates
+6 -2
appview/pages/templates/knots.html
··· 4 4 <p class="text-xl font-bold dark:text-white">Knots</p> 5 5 </div> 6 6 <div class="flex flex-col"> 7 + <section class="rounded bg-white dark:bg-gray-800 drop-shadow-sm px-6 py-4 mb-6 w-full lg:w-fit"> 8 + <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> 9 + </section> 10 + 7 11 <h2 class="text-sm font-bold py-2 px-6 uppercase dark:text-gray-300">register a knot</h2> 8 12 <section class="rounded bg-white dark:bg-gray-800 drop-shadow-sm px-6 py-4 mb-6 w-full lg:w-fit"> 9 13 <p class="mb-8 dark:text-gray-300">Generate a key to initialize your knot server.</p> 10 - <form 14 + <form 11 15 hx-post="/knots/key" 12 - class="max-w-2xl mb-8 space-y-4" 16 + class="max-w-2xl space-y-4" 13 17 hx-indicator="#generate-knot-key-spinner" 14 18 > 15 19 <input