forked from tangled.org/core
Monorepo for Tangled

appview/pages: link to respective docs in knots & spindles pages

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>

anirudh.fi efa8f8e7 363cc1ed

verified
Changed files
+29 -19
appview
pages
templates
knots
spindles
+15 -10
appview/pages/templates/knots/index.html
··· 1 1 {{ define "title" }}knots{{ end }} 2 2 3 3 {{ define "content" }} 4 - <div class="px-6 py-4"> 4 + <div class="px-6 py-4 flex items-end justify-start gap-4 align-bottom"> 5 5 <h1 class="text-xl font-bold dark:text-white">Knots</h1> 6 + 7 + <span class="flex items-center gap-1 text-sm"> 8 + {{ i "book" "w-3 h-3" }} 9 + <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/knot-hosting.md"> 10 + docs 11 + </a> 12 + </span> 6 13 </div> 7 14 8 15 <section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white"> ··· 15 22 {{ end }} 16 23 17 24 {{ define "about" }} 18 - <section class="rounded flex flex-col gap-2"> 19 - <p class="dark:text-gray-300"> 20 - Knots are lightweight headless servers that enable users to host Git repositories with ease. 21 - 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. 22 - When creating a repository, you can choose a knot to store it on. 23 - <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/knot-hosting.md"> 24 - Checkout the documentation if you're interested in self-hosting. 25 - </a> 25 + <section class="rounded"> 26 + <p class="text-gray-500 dark:text-gray-400"> 27 + Knots are lightweight headless servers that enable users to host Git repositories with ease. 28 + When creating a repository, you can choose a knot to store it on. 26 29 </p> 27 - </section> 30 + 31 + 32 + </section> 28 33 {{ end }} 29 34 30 35 {{ define "list" }}
+14 -9
appview/pages/templates/spindles/index.html
··· 1 1 {{ define "title" }}spindles{{ end }} 2 2 3 3 {{ define "content" }} 4 - <div class="px-6 py-4"> 5 - <h1 class="text-xl font-bold dark:text-white">Spindles</h1> 4 + <div class="px-6 py-4 flex items-end justify-start gap-4 align-bottom"> 5 + <h1 class="text-xl font-bold dark:text-white">Spindles</h1> 6 + 7 + 8 + <span class="flex items-center gap-1 text-sm"> 9 + {{ i "book" "w-3 h-3" }} 10 + <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/spindle/hosting.md"> 11 + docs 12 + </a> 13 + </span> 6 14 </div> 7 15 8 16 <section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white"> ··· 15 23 {{ end }} 16 24 17 25 {{ define "about" }} 18 - <section class="rounded flex flex-col gap-2"> 19 - <p class="dark:text-gray-300"> 20 - Spindles are small CI runners. 21 - <a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/spindle/hosting.md"> 22 - Checkout the documentation if you're interested in self-hosting. 23 - </a> 26 + <section class="rounded flex items-center gap-2"> 27 + <p class="text-gray-500 dark:text-gray-400"> 28 + Spindles are small CI runners. 24 29 </p> 25 - </section> 30 + </section> 26 31 {{ end }} 27 32 28 33 {{ define "list" }}