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

merged
opened by oppi.li targeting master from push-prszwlupsoqz
Changed files
+29 -19
appview
pages
templates
knots
spindles
+15 -10
appview/pages/templates/knots/index.html
···
{{ define "title" }}knots{{ end }}
{{ define "content" }}
-
<div class="px-6 py-4">
<h1 class="text-xl font-bold dark:text-white">Knots</h1>
</div>
<section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">
···
{{ end }}
{{ define "about" }}
-
<section class="rounded flex flex-col gap-2">
-
<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.
-
When creating a repository, you can choose a knot to store it on.
-
<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>
-
</section>
{{ end }}
{{ define "list" }}
···
{{ define "title" }}knots{{ end }}
{{ define "content" }}
+
<div class="px-6 py-4 flex items-end justify-start gap-4 align-bottom">
<h1 class="text-xl font-bold dark:text-white">Knots</h1>
+
+
<span class="flex items-center gap-1 text-sm">
+
{{ i "book" "w-3 h-3" }}
+
<a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/knot-hosting.md">
+
docs
+
</a>
+
</span>
</div>
<section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">
···
{{ end }}
{{ define "about" }}
+
<section class="rounded">
+
<p class="text-gray-500 dark:text-gray-400">
+
Knots are lightweight headless servers that enable users to host Git repositories with ease.
+
When creating a repository, you can choose a knot to store it on.
</p>
+
+
+
</section>
{{ end }}
{{ define "list" }}
+14 -9
appview/pages/templates/spindles/index.html
···
{{ define "title" }}spindles{{ end }}
{{ define "content" }}
-
<div class="px-6 py-4">
-
<h1 class="text-xl font-bold dark:text-white">Spindles</h1>
</div>
<section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">
···
{{ end }}
{{ define "about" }}
-
<section class="rounded flex flex-col gap-2">
-
<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>
-
</section>
{{ end }}
{{ define "list" }}
···
{{ define "title" }}spindles{{ end }}
{{ define "content" }}
+
<div class="px-6 py-4 flex items-end justify-start gap-4 align-bottom">
+
<h1 class="text-xl font-bold dark:text-white">Spindles</h1>
+
+
+
<span class="flex items-center gap-1 text-sm">
+
{{ i "book" "w-3 h-3" }}
+
<a href="https://tangled.sh/@tangled.sh/core/blob/master/docs/spindle/hosting.md">
+
docs
+
</a>
+
</span>
</div>
<section class="bg-white dark:bg-gray-800 p-6 rounded relative w-full mx-auto drop-shadow-sm dark:text-white">
···
{{ end }}
{{ define "about" }}
+
<section class="rounded flex items-center gap-2">
+
<p class="text-gray-500 dark:text-gray-400">
+
Spindles are small CI runners.
</p>
+
</section>
{{ end }}
{{ define "list" }}