appview/pages: add spindles description to /spindles #320

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

Adds a description of what a spindle is to the spindles page. Text is pulled from the docs/spindle/architecture.md with a link to the self hosting.

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

Changed files
+9 -2
appview
pages
templates
spindles
+9 -2
appview/pages/templates/spindles/index.html
··· 7 8 <section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white"> 9 <div class="flex flex-col gap-6"> 10 - {{ block "all" . }} {{ end }} 11 {{ block "register" . }} {{ end }} 12 </div> 13 </section> 14 {{ end }} 15 16 - {{ define "all" }} 17 <section class="rounded w-full flex flex-col gap-2"> 18 <h2 class="text-sm font-bold py-2 uppercase dark:text-gray-300">your spindles</h2> 19 <div class="flex flex-col rounded border border-gray-200 dark:border-gray-700 w-full">
··· 7 8 <section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white"> 9 <div class="flex flex-col gap-6"> 10 + {{ block "about" . }} {{ end }} 11 + {{ block "list" . }} {{ end }} 12 {{ block "register" . }} {{ end }} 13 </div> 14 </section> 15 {{ end }} 16 17 + {{ define "about" }} 18 + <section class="rounded flex flex-col gap-2"> 19 + <p class="dark:text-gray-300">Spindles are small CI runners. <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/spindle/hosting.md">Checkout the documentation if you're interested in self-hosting.</a></p> 20 + </section> 21 + {{ end }} 22 + 23 + {{ define "list" }} 24 <section class="rounded w-full flex flex-col gap-2"> 25 <h2 class="text-sm font-bold py-2 uppercase dark:text-gray-300">your spindles</h2> 26 <div class="flex flex-col rounded border border-gray-200 dark:border-gray-700 w-full">