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
+7
appview
pages
templates
spindles
+7
appview/pages/templates/spindles/index.html
··· 5 <h1 class="text-xl font-bold dark:text-white">Spindles</h1> 6 </div> 7 <div class="flex flex-col"> 8 {{ block "list" . }} {{ end }} 9 {{ block "register" . }} {{ end }} 10 </div> 11 {{ end }} 12 13 {{ define "list" }} 14 <h2 class="text-sm font-bold py-2 px-6 uppercase dark:text-gray-300">Your Spindles</h2> 15 <section class="rounded bg-white dark:bg-gray-800 drop-shadow-sm px-6 py-4 mb-6 w-full lg:w-fit">
··· 5 <h1 class="text-xl font-bold dark:text-white">Spindles</h1> 6 </div> 7 <div class="flex flex-col"> 8 + {{ block "about" . }} {{ end }} 9 {{ block "list" . }} {{ end }} 10 {{ block "register" . }} {{ end }} 11 </div> 12 {{ end }} 13 14 + {{ define "about" }} 15 + <section class="rounded bg-white dark:bg-gray-800 drop-shadow-sm px-6 py-4 mb-6 w-full lg:w-fit"> 16 + <p class="dark:text-gray-300">Spindles are small CI runners. <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/spindle/architecture.md">Checkout the documentation if you're interested in self-hosting.</a></p> 17 + </section> 18 + {{ end }} 19 + 20 {{ define "list" }} 21 <h2 class="text-sm font-bold py-2 px-6 uppercase dark:text-gray-300">Your Spindles</h2> 22 <section class="rounded bg-white dark:bg-gray-800 drop-shadow-sm px-6 py-4 mb-6 w-full lg:w-fit">