More work on marketing pages

This commit is contained in:
Matthew Holt 2023-12-05 20:55:44 -07:00 committed by Francis Lavoie
parent 12564261f4
commit f44e6af8ad
No known key found for this signature in database
GPG key ID: 0F66EE1687682239
16 changed files with 479 additions and 145 deletions

View file

@ -44,19 +44,19 @@ file_server /downloads/* {
# Compress everything else that would benefit
encode zstd gzip
# Get files from a database
# Static site using database as file system
file_server /database/* {
fs sqlite data.sql
}
# Get files from within the Caddy binary
# Static site embedded within the Caddy binary
file_server /embedded/* {
fs embedded
}
# (Range/Etag/etc. all work without extra config)
# Serve static site with directory listings as needed
# Serve static site with directory listings
file_server browse
```

View file

@ -1,6 +1,6 @@
<footer>
<div class="wrapper">
<div>
<div class="logo-area">
<img src="/resources/images/logo-dark.svg" class="logo" alt="Caddy web server">
<p>
A free <a href="https://github.com/caddyserver/caddy">open source</a> project
@ -16,40 +16,34 @@
</div>
<div class="link-col">
<div class="col-header">Project</div>
<a href="#">Features</a>
<a href="#">Download</a>
<a href="#">Documentation</a>
<a href="#">Get involved</a>
<a href="/features">Features</a>
<a href="/download">Download</a>
<a href="/docs">Documentation</a>
</div>
<div class="link-col">
<div class="col-header">Business services</div>
<a href="#">Support</a>
<a href="#">Development</a>
<a href="#">Training</a>
<a href="/support">Support</a>
<a href="/sponsor">Sponsorships</a>
</div>
<div class="link-col">
<div class="col-header">Community</div>
<a href="https://caddy.community">Forum</a>
<a href="https://github.com/caddyserver">GitHub</a>
<a href="https://twitter.com/caddyserver">Twitter / X</a>
<a href="/research">Research</a>
</div>
<div class="link-col">
<div class="col-header">Contact</div>
<a href="https://caddy.community">Sales</a>
<a href="https://github.com/caddyserver">Email</a>
<a href="https://scholar.google.com/scholar?q=caddy+web+server">Research</a>
</div>
</div>
<div class="wrapper nostalgia">
<p>Caddy supports an open Web that promotes privacy, preserves data ownership, fosters innovation, freely allows varieties of client software technologies, and safeguards human sanctity.</p>
<p>Caddy supports an open Web that promotes privacy, preserves data ownership, fosters innovation, freely allows varieties of client software, and safeguards human sanctity.</p>
<div class="nostalgia-badges">
<img src="/resources/images/nostalgia/get.gif">
<img src="/resources/images/nostalgia/microsoft-ie.gif">
<img src="/resources/images/nostalgia/now_anim.gif">
<img src="/resources/images/nostalgia/get.gif" title="Honoring early Web clients">
<img src="/resources/images/nostalgia/microsoft-ie.gif" title="Honoring early Web clients">
<img src="/resources/images/nostalgia/now_anim.gif" title="Honoring early Web clients">
<div class="w3c">
<img src="/resources/images/nostalgia/valid_html5_yellow.png" title="This site uses HTML 5">
<img src="/resources/images/nostalgia/valid_css3_blue.png" title="This site uses CSS 3">
</div>
<div title="Don't forget to sign our guestbook!">{{ maybe "hitCounter" .OriginalReq.URL.Path }}</div>
</div>
</div>
</footer>

View file

@ -4,6 +4,19 @@
<a href="https://zerossl.com">
A ZeroSSL Project
</a>
<a href="https://store.caddyserver.com">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-building-store" width="24" height="24"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M3 21l18 0" />
<path d="M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4" />
<path d="M5 21l0 -10.15" />
<path d="M19 21l0 -10.15" />
<path d="M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4" />
</svg>
Store
</a>
<a href="javascript:">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
@ -177,17 +190,17 @@
<a href="/features">Features</a>
</li>
<li>
<a href="https://store.caddyserver.com">Store</a>
<a href="/account">Account</a>
</li>
<li>
<a href="/account">Account</a>
<a href="/support">Support</a>
</li>
</ul>
</nav>
<div class="actions">
<a href="/download" class="button">Download</a>
<a href="/sponsor" class="button primary">Sponsor</a>
<a href="/download" class="button primary">Download</a>
<a href="/sponsor" class="button purple">Sponsor</a>
</div>
</div>
</header>