dashboard / erock/pico / docs(pgs): Add docs link to marketing template #101 rss

open · opened on 2025-12-26T18:53:04Z by noelle
Help
checkout latest patchset:
ssh pr.pico.sh print pr-101 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print ps-X | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 101
add review to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add --review 101
accept PR:
ssh pr.pico.sh pr accept 101
close PR:
ssh pr.pico.sh pr close 101

Logs

noelle created pr with ps-184 on 2025-12-26T18:53:04Z

Patchsets

ps-184 by noelle on 2025-12-26T18:53:04Z

Taking inspiration from <https://pipe.pico.sh/> (commit 2aab941), this
patch adds "Docs" links to the top and bottom of the <https://pgs.sh/>
template, making it easy to jump straight to <https://pico.sh/pgs> with
a single click.

The markup has been slightly tweaked to improve the resulting layout.
+6 -8 pkg/apps/pgs/html/marketing.page.tmpl link
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff --git a/pkg/apps/pgs/html/marketing.page.tmpl b/pkg/apps/pgs/html/marketing.page.tmpl
index 006b25c..b013ac0 100644
--- a/pkg/apps/pgs/html/marketing.page.tmpl
+++ b/pkg/apps/pgs/html/marketing.page.tmpl
@@ -30,10 +30,9 @@
 <header>
   <h1 class="text-2xl font-bold">{{.Site.Domain}}</h1>
   <p class="text-lg">A zero-install static site hosting service for hackers</p>
-  <div>
-    <a href="https://pico.sh/getting-started" class="btn-link my">
-      GET STARTED
-    </a>
+  <div class="flex gap my">
+    <a href="https://pico.sh/getting-started" class="btn-link">GET STARTED</a>
+    <a href="https://pico.sh/pgs" class="btn-link">DOCS</a>
   </div>
 
   <hr />
@@ -73,10 +72,9 @@
       </p>
     </div>
 
-    <div>
-      <a href="https://pico.sh/getting-started" class="btn-link mt">
-        GET STARTED
-      </a>
+    <div class="flex gap my">
+      <a href="https://pico.sh/getting-started" class="btn-link">GET STARTED</a>
+      <a href="https://pico.sh/pgs" class="btn-link">DOCS</a>
     </div>
   </div>
 </header>