Skip to content

Commit

Permalink
style: plus page
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed May 14, 2024
1 parent baadde6 commit 0ec13ac
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 23 deletions.
16 changes: 16 additions & 0 deletions posts/plus.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@ description: Become a pico+ member
slug: plus
template: plus.page.tmpl
---

- [tuns](/tuns)
- full access
- [pages](/pgs)
- full access
- per-site [analytics](/privacy#analytics)
- [prose](/prose)
- increased storage limits
- blog [analytics](/privacy#analytics)
- [docker registry](/imgs)
- full access

<hr class="my-4" />

Before signing up to `pico+`, please read our [privacy policy](/policy),
[terms of service](/ops), and our [refund policy](/ops#refund-policy).
5 changes: 5 additions & 0 deletions static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
max-width: 700px;
}

.container-xs {
max-width: 20em;
width: 100%;
}

.post-container {
display: flex;
gap: 1rem;
Expand Down
10 changes: 10 additions & 0 deletions static/smol.css
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,16 @@ figure {
padding: 0;
}

.px-2 {
padding-left: 1rem;
padding-right: 1rem;
}

.px-4 {
padding-left: 2rem;
padding-right: 2rem;
}

.py {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
Expand Down
46 changes: 23 additions & 23 deletions tmpl/plus.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,32 @@
{{template "nav" .}}

<main>
<div class="flex items-center justify-center hero">
<div class="group items-center">
<h1 class="logo-header text-2xl">pico+</h1>
<div class="text-center">
<div class="text-2xl">
$2/month
<div class="flex justify-center">
<div class="container-xs">
<div class="border px-4 py-8 mt-4">
<div class="group items-center">
<h1 class="logo-header text-2xl">pico+</h1>
<div class="text-center">
<div class="text-2xl">$2/month</div>
<div class="text-sm">(billed yearly)</div>
<pre class="my inline-block"><span class="visited">ssh</span> pico.sh</pre>
<div class="text-sm">
Log into our SSH App to learn more and purchase a membership.
</div>
</div>
</div>
<div class="text-sm">(billed yearly)</div>
<pre class="my inline-block"><span class="visited">ssh</span> pico.sh</pre>
<div class="text-sm">
Log into our SSH App to learn more and purchase a membership.
</div>
</div>
</div>
</div>

<hr class="my-4" />

<article class="md">
{{.Data.Html}}
</article>
<hr class="my-4" />

{{template "pager" .}}

<hr class="my-4" />
<article class="md plus">
{{.Data.Html}}
</article>
</div>

{{template "footer" .}}
{{template "pager" .}}
<hr class="my-4" />
{{template "footer" .}}
</div>
</div>
</main>
{{end}}

0 comments on commit 0ec13ac

Please sign in to comment.