Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Refactor website landing page for v7.

Kailash Nadh2c51874b3547
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index 2519d50f..13f56de7 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -30,6 +30,18 @@ jobs:
with:
hugo-version: '0.68.3'
+ # Fetch the latest release (and overwrite the local committed file).
+ - name: Fetch latest releases
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ curl -sfL -H "Authorization: Bearer $GH_TOKEN" "https://api.github.com/repos/${{ github.repository }}/releases/latest" \
+ | jq -ec '{version: .tag_name, date: .published_at, url: .html_url, assets: [.assets[] | select(.browser_download_url? | contains("arm") or contains("checksum") | not) | {name: (.browser_download_url | split("_") | .[-2]), url: .browser_download_url}]} | select(.version != null)' \
+ > /tmp/github.json \
+ && mv /tmp/github.json docs/site/data/github.json \
+ || echo "::warning::Failed to fetch latest release. Using committed github.json."
+ cat docs/site/data/github.json
+
# Build the main site to the docs/publish directory. This will be the root (/) in gh-pages.
# The -d (output) path is relative to the -s (source) path
- name: Build main site
diff --git a/docs/site/layouts/index.html b/docs/site/layouts/index.html
index 94fd1af4..a23c68b4 100644
--- a/docs/site/layouts/index.html
+++ b/docs/site/layouts/index.html
@@ -1,231 +1,265 @@
{{ partial "header.html" . }}
-<div class="splash container center">
- <img class="s4" src="static/images/s4.webp" />
- <div class="hero">
- <h1 class="title">Self-hosted newsletter and mailing list manager</h1>
- <h3 class="sub">
- Performance and features packed into a single binary.<br />
- <strong>Free and open source.</strong>
- </h3>
- <p class="center demo">
- <a href="https://demo.listmonk.app" class="button">Live demo</a>
- </p>
- </div>
+<main id="main">
+<section class="hero container align-center">
+ <img class="s4" src="static/images/s4.webp" alt="" aria-hidden="true" />
+ <a class="badge outline" href="{{ .Site.Data.github.url }}">
+ {{ .Page.Site.Data.github.date | dateFormat "02 Jan 2006" }} &rarr; <strong>{{ .Site.Data.github.version }}</strong> is released
+ </a>
- <div class="confetti">
- <img class="s1" src="static/images/s1.webp" />
- <img class="s2" src="static/images/s2.webp" />
- <img class="s3" src="static/images/s3.webp" />
- <img class="box" src="{{ .Site.BaseURL }}static/images/splash.webp" alt="listmonk screenshot" />
- </div>
+ <h1>Self-hosted newsletter and mailing list manager</h1>
+ <p class="text-light">
+ Performance and features packed into a single binary.<br />
+ <strong>Free and open source.</strong>
+ </p>
+
+ <div class="hstack justify-center">
+ <a href="https://demo.listmonk.app" class="button large">Live demo</a>
+ <a href="#download" class="button large outline">Download</a>
</div>
-</div>
-<section id="download">
- <div class="container">
- <h2 class="center">Download</h2>
- <p class="center">
+ <div class="confetti">
+ <img class="s1" src="static/images/s1.webp" alt="" aria-hidden="true" />
+ <img class="s2" src="static/images/s2.webp" alt="" aria-hidden="true" />
+ <img class="s3" src="static/images/s3.webp" alt="" aria-hidden="true" />
+ <figure class="card preview">
+ <header class="hstack justify-between">
+ <span class="dots" aria-hidden="true"><i></i><i></i><i></i></span>
+ <small>listmonk</small>
+ <small>Since 2018</small>
+ </header>
+ <img src="{{ .Site.BaseURL }}static/images/splash.webp"
+ width="1440" height="1100"
+ alt="listmonk dashboard with subscriber totals, campaign activity, engagement charts, and system statistics"
+ fetchpriority="high" />
+ </figure>
+ </div>
+</section>
+
+<section id="download" class="band">
+<div class="container">
+ <header class="align-center">
+ <h2>Download</h2>
+ <p class="text-light">
The latest version is <strong>{{ .Page.Site.Data.github.version }}</strong>
released on {{ .Page.Site.Data.github.date | dateFormat "02 Jan 2006" }}.
- See <a href="{{ .Page.Site.Data.github.url }}">release notes.</a>
- </p><br />
+ See <a href="{{ .Page.Site.Data.github.url }}">release notes</a>.
+ </p>
+ </header>
- <div class="row">
- <div class="col-6">
- <div class="box">
- <h3>Binary</h3>
- <p>Download binary (64 bit)</p>
- <div class="download-links">
- {{ range.Page.Site.Data.github.assets }}
- <a href="{{ .url }}" class="item">
- <span class="icon">
- <img src="{{ .Site.BaseURL }}static/images/logo-{{ .name }}.{{ if eq .name "openbsd" }}webp{{ else }}svg{{ end }}" alt="{{ .name | title }}" title="{{ .name | title }}" />
- </span>
- <span class="name">{{ .name | title }}</span>
- </a>
- {{ end }}
- </div>
-
- <p>Install</p>
- <ul class="install-steps">
- <li>
- <code>./listmonk --new-config</code> to generate config.toml. Edit it.
- </li>
- <li><code>./listmonk --install</code> to setup the Postgres DB or <code>--upgrade</code> to upgrade an existing DB.</li>
- <li>Run <code>./listmonk</code> and visit <code>http://localhost:9000</code></li>
- </ul>
- <p><a href="/docs/installation">Installation docs &rarr;</a></p>
- </div>
+ <div class="row">
+ <article class="card col-6">
+ <header>
+ <h3>Binary</h3>
+ </header>
+
+ <div class="hstack mt-6 mb-6">
+ {{ range .Page.Site.Data.github.assets }}
+ <a href="{{ .url }}" class="button outline small">
+ <img loading="lazy" width="16" height="16"
+ src="{{ $.Site.BaseURL }}static/images/logo-{{ .name }}.{{ if eq .name "openbsd" }}webp{{ else }}svg{{ end }}"
+ alt="" />
+ {{ .name | title }}
+ </a>
+ {{ end }}
</div>
- <div class="col-6">
- <div class="box">
- <h3>Docker</h3>
- <p><a href="https://hub.docker.com/r/listmonk/listmonk/tags?page=1&ordering=last_updated&name=latest"><code>listmonk/listmonk:latest</code></a></p>
- <p>
- Download and use the sample <a href="https://github.com/knadh/listmonk/blob/master/docker-compose.yml">docker-compose.yml</a>
- </p>
-
-<pre>
-# Download the compose file to the current directory.
-curl -LO https://github.com/knadh/listmonk/raw/master/docker-compose.yml
-# Run the services in the background.
-docker compose up -d
-</pre>
- <p>Visit <code>http://localhost:9000</code></p>
+ <p>Download the binary and:</p>
- <p><a href="/docs/installation">Installation docs &rarr;</a></p>
- </div>
+<pre><code># Generate config.toml and then edit it.
+./listmonk --new-config
+
+# Setup the Postgres DB (or --upgrade an existing one).
+./listmonk --install
+
+# Run the app.
+./listmonk</code></pre>
+ <p>Visit <code>http://localhost:9000</code></p>
+ <p><a href="/docs/installation">Installation docs &rarr;</a></p>
+ </article>
+
+ <article class="card col-6">
+ <header>
+ <h3>Docker</h3>
+ </header>
+
+ <p class="mt-4">
+ Download and use the sample
+ <a href="https://github.com/knadh/listmonk/blob/master/docker-compose.yml">docker-compose.yml</a>
+ </p>
+
+<pre><code># Download the compose file to the current directory.
+curl -LO https://github.com/knadh/listmonk/raw/master/docker-compose.yml
+
+# Run Postgres and listmonk in the background.
+docker compose up -d</code></pre>
+ <p>Visit <code>http://localhost:9000</code></p>
+ <div class="hstack justify-between">
+ <a href="/docs/installation">Installation docs &rarr;</a>
+ <a href="https://hub.docker.com/r/listmonk/listmonk/tags?page=1&ordering=last_updated&name=latest">listmonk@DockerHub</a>
</div>
- </div>
+ </article>
</div>
+</div>
</section>
-<section class="hosting">
- <div class="container">
- <h2 class="center">Hosting providers</h2><br />
- <div>
- <a href="https://www.nodion.com/en/deploy/listmonk/"><img src="static/images/host-nodion.svg" alt="Deploy to Nodion" style="max-height: 32px;" /></a>
- <a href="https://www.kloudbean.com/listmonk-self-hosted"><img src="static/images/host-kloudbean.svg" alt="One-click deploy on Kloudbean" style="max-height: 32px;" /></a>
- <a href="https://northflank.com/stacks/deploy-listmonk"><img src="static/images/host-northflank.webp" alt="One-click deploy on Northflank" style="height: 32px; width: 150px; border-radius: 6px; object-fit: contain;" /></a>
- <a href="https://railway.app/new/template/listmonk"><img src="static/images/host-railway.svg" alt="One-click deploy on Railway" style="max-height: 32px;" /></a>
- <a href="https://zenith.hosting/host/listmonk"><img src="static/images/host-zenith.svg" alt="Deploy with Zenith" style="max-height: 32px;" /></a>
- <a href="https://www.pikapods.com/pods?run=listmonk"><img src="static/images/host-pikapods.svg" alt="Deploy on PikaPod" /></a>
- <a href="https://elest.io/open-source/listmonk"><img height="33" src="static/images/host-elestio.webp" alt="Deploy on Elestio" /></a>
- <a href="https://zeabur.com/templates/5EDMN6"><img width="148" src="static/images/host-zeabur.svg" alt="Deploy on Zeabur"/></a>
- <a href="https://cloudzy.com/marketplace/listmonk/"><img src="static/images/host-cloudzy.svg" alt="Deploy to Cloudzy" style="max-height: 32px;" /></a>
- <a href="https://lumadock.com/vps-hosting/listmonk"><img src="static/images/host-lumadock.svg" alt="Runs faster on LumaDock" style="max-height: 32px;" /></a>
- <a href="https://pethost.dev/templates/listmonk/"><img src="static/images/host-pethost.svg" alt="Deploy on Pethost" style="max-height: 32px;" /></a>
- <a href="https://podway.io/start?app=listmonk&ref=docs-listmonk"><img src="static/images/host-podway.svg" alt="Deploy on podway" style="max-height: 32px;" /></a>
- </div>
- <p class="disclaimer">*listmonk has no affiliation with these providers</p>
+<section id="hosting" class="container align-center">
+ <h2>3rd party hosting</h2>
+ <p class="text-light">One-click hosted listmonk instances from various 3rd party providers</p>
+
+ <div class="hstack justify-center gap-6 mt-8 mb-6">
+ <a href="https://www.nodion.com/en/deploy/listmonk/"><img loading="lazy" src="static/images/host-nodion.svg" alt="Deploy to Nodion" /></a>
+ <a href="https://www.kloudbean.com/listmonk-self-hosted"><img loading="lazy" src="static/images/host-kloudbean.svg" alt="One-click deploy on Kloudbean" /></a>
+ <a href="https://northflank.com/stacks/deploy-listmonk"><img loading="lazy" src="static/images/host-northflank.webp" alt="One-click deploy on Northflank" /></a>
+ <a href="https://railway.app/new/template/listmonk"><img loading="lazy" src="static/images/host-railway.svg" alt="One-click deploy on Railway" /></a>
+ <a href="https://zenith.hosting/host/listmonk"><img loading="lazy" src="static/images/host-zenith.svg" alt="Deploy with Zenith" /></a>
+ <a href="https://www.pikapods.com/pods?run=listmonk"><img loading="lazy" src="static/images/host-pikapods.svg" alt="Deploy on PikaPod" /></a>
+ <a href="https://elest.io/open-source/listmonk"><img loading="lazy" src="static/images/host-elestio.webp" alt="Deploy on Elestio" /></a>
+ <a href="https://zeabur.com/templates/5EDMN6"><img loading="lazy" src="static/images/host-zeabur.svg" alt="Deploy on Zeabur" /></a>
+ <a href="https://cloudzy.com/marketplace/listmonk/"><img loading="lazy" src="static/images/host-cloudzy.svg" alt="Deploy to Cloudzy" /></a>
+ <a href="https://lumadock.com/vps-hosting/listmonk"><img loading="lazy" src="static/images/host-lumadock.svg" alt="Runs faster on LumaDock" /></a>
+ <a href="https://pethost.dev/templates/listmonk/"><img loading="lazy" src="static/images/host-pethost.svg" alt="Deploy on Pethost" /></a>
+ <a href="https://podway.io/start?app=listmonk&ref=docs-listmonk"><img loading="lazy" src="static/images/host-podway.svg" alt="Deploy on podway" /></a>
</div>
+
+ <small class="text-light">*listmonk has no affiliation with the listed 3rd party providers</small>
</section>
-<div class="container">
- <section class="row feature">
+<section id="features" class="features container">
+ <header class="align-center">
+ <h2>Packed with features</h2>
+ <p class="text-light">Single binary alongside a Postgres database.</p>
+ </header>
+
+ <div class="row items-center">
<div class="col-5">
- <h2>One-way mailing lists</h2>
+ <h3>One-way mailing lists</h3>
<p>
- Manage millions of subscribers across single and double opt-in lists. Query and segment subscribers with SQL expressions.
+ Manage millions of subscribers across single and double opt-in lists.
+ Query and segment subscribers with SQL expressions.
</p>
</div>
- <div class="col-1"></div>
- <div class="col-6 right">
- <img class="box" src="static/images/lists.webp" alt="Screenshot of list management feature" />
- </div>
- </section>
+ <figure class="card col-6 offset-1">
+ <img loading="lazy" src="static/images/lists.webp" width="554" height="401" alt="Mailing lists with public and private visibility, opt-in types, and subscriber counts" />
+ </figure>
+ </div>
- <section class="row media feature">
+ <div class="row items-center">
<div class="col-5">
- <h2>Analytics</h2>
+ <h3>Analytics</h3>
<p>
Built-in analytics to visualize campaign performance, bounces, top links and more across campaigns.
</p>
</div>
- <div class="col-1"></div>
- <div class="col-6 right">
- <img class="box" src="static/images/analytics.webp" alt="Screenshot of analytics feature" />
- </div>
- </section>
+ <figure class="card col-6 offset-1">
+ <img loading="lazy" src="static/images/analytics.webp" width="784" height="432" alt="Campaign views compared with a line chart and a breakdown by campaign" />
+ </figure>
+ </div>
- <section class="row templating feature">
+ <div class="row items-center">
<div class="col-5">
- <h2>Templating</h2>
+ <h3>Templating</h3>
<p>
- Create powerful, dynamic e-mail templates with the <a href="https://golang.org/pkg/text/template/">Go templating language</a>.
+ Create powerful, dynamic e-mail templates with the
+ <a href="https://golang.org/pkg/text/template/">Go templating language</a>.
Use template expressions, logic, and 100+ functions in subject lines and content.
- Write HTML e-mails using a visual drag-and-drop builder, a WYSIWYG editor, Markdown, raw syntax-highlighted HTML, or just plain text.
+ Write HTML e-mails using a visual drag-and-drop builder, a WYSIWYG editor, Markdown,
+ raw syntax-highlighted HTML, or just plain text.
</p>
</div>
- <div class="col-1"></div>
- <div class="col-6 right">
- <img class="box" src="static/images/templating.webp" alt="Screenshot of templating feature" />
- </div>
- </section>
+ <figure class="card col-6 offset-1">
+ <img loading="lazy" src="static/images/templating.webp" width="958" height="440" alt="Visual email builder with a personalized newsletter and heading design controls" />
+ </figure>
+ </div>
- <section class="row performance feature">
+ <div class="row items-center">
<div class="col-5">
- <h2>Performance</h2>
+ <h3>Performance</h3>
<p>
Multi-threaded, high-throughput, multi-SMTP e-mail queues.
- Throughput and sliding window rate limiting for fine grained control.
+ Throughput and sliding window rate limiting for fine grained control.
Single binary application with nominal CPU and memory footprint that runs everywhere.
</p>
</div>
- <div class="col-1"></div>
- <div class="col-6 right">
- <figure class="box">
- <img src="static/images/performance.webp" alt="Screenshot of performance metrics" />
-
- <figcaption style="font-size:">
- A production listmonk instance sending a campaign of 7+ million e-mails.<br />
+ <figure class="card col-6 offset-1">
+ <img loading="lazy" src="static/images/performance.webp" alt="Screenshot of performance metrics" />
+ <figcaption class="text-light mt-4">
+ <small>
+ A production listmonk instance sending a campaign of 7+ million e-mails.
CPU usage is a fraction of a single core with peak RAM usage of 57 MB.
- </figcaption>
- </figure>
- </div>
- </section>
+ </small>
+ </figcaption>
+ </figure>
+ </div>
- <section class="row tx feature">
+ <div class="row items-center">
<div class="col-5">
- <h2>Transactional mails</h2>
+ <h3>Transactional mails</h3>
<p>
- Simple API to send arbitrary transactional messages to subscribers
- using pre-defined templates. Send messages as e-mail, SMS, Whatsapp messages or any medium via Messenger interfaces.
+ Simple API to send arbitrary transactional messages to subscribers using pre-defined templates.
+ Send messages as e-mail, SMS, Whatsapp messages or any medium via Messenger interfaces.
</p>
</div>
- <div class="col-1"></div>
- <div class="col-6 right">
- <img class="box" src="static/images/tx.webp" alt="Screenshot of transactional API" />
- </div>
- </section>
+ <figure class="card col-6 offset-1">
+ <img loading="lazy" src="static/images/tx.webp" width="784" height="322" alt="Transactional email template using subscriber names, order numbers, and shipping dates" />
+ </figure>
+ </div>
- <section class="row lists feature">
+ <div class="row items-center">
<div class="col-5">
- <h2>Extensible</h2>
+ <h3>Extensibility</h3>
<p>
More than just e-mail campaigns. Messenger HTTP webhooks to send SMS,
Whatsapp, FCM notifications, or any type of messages.
Extensive API coverage for all features.
</p>
</div>
- <div class="col-1"></div>
- <div class="col-6 right">
- <img class="box" src="static/images/messengers.webp" alt="Screenshot of Messenger feature" />
- </div>
- </section>
-
- <section class="row feature center">
- <h2>And a lot more ...</h2>
- <p>
- Full privacy control for subscribers, OIDC SSO authentication with granular roles and permissions, granular API tokens, media library with S3-compatible backend and a lot more.
- </p>
- </section>
+ <figure class="card col-6 offset-1">
+ <img loading="lazy" src="static/images/messengers.webp" width="774" height="448" alt="Custom SMS messenger configuration with an HTTP endpoint and authentication fields" />
+ </figure>
+ </div>
+</section>
- <div class="center">
- <a href="#download" class="button">Download</a>
+<section class="container">
+ <hr />
+ <h2>And a lot more</h2>
+ <div class="row mt-8">
+ <div class="col-4">
+ <h4>Privacy</h4>
+ <p class="text-light">Full privacy control for subscribers, including getting their own data exported or completely removed.</p>
+ </div>
+ <div class="col-4">
+ <h4>Access</h4>
+ <p class="text-light">OIDC single sign-on, granular roles and permissions, and scoped API tokens.</p>
+ </div>
+ <div class="col-4">
+ <h4>Media</h4>
+ <p class="text-light">A built-in media library with support for S3-compatible storage.</p>
+ </div>
</div>
+</section>
- <section class="banner">
- <div class="row">
- <div class="col-2">&nbsp;</div>
- <div class="col-8">
- <div class="confetti">
- <img class="s2" src="static/images/s3.webp" />
- <div class="box">
- <h2>Developers</h2>
- <p>
- listmonk is free and open source software licensed under AGPLv3.
- If you are interested in contributing, check out the <a href="https://github.com/knadh/listmonk">GitHub repository</a>
- and refer to the <a href="/docs/developer-setup">developer setup</a>.
- The backend is written in Go and the frontend is Vue with Buefy for UI.
- </p>
- </div>
+<section class="container">
+ <div class="confetti">
+ <img class="s3" src="static/images/s3.webp" alt="" aria-hidden="true" />
+ <article class="card tinted">
+ <div class="row items-center">
+ <div class="col-6">
+ <h2>Built for everyone.</h2>
+ <p>And works for everyone too.</p>
+ </div>
+ <div class="col-6">
+ <p class="text-light">
+ listmonk works well whether you are an individual running a newsletter with a few hundred subscribers on a tiny VPS,
+ or a large organisation serving millions of subscribers. Extremely tiny footprint and very low maintenance.
+ </p>
+ <div class="hstack gap-6 mt-4">
+ <a href="https://github.com/knadh/listmonk/issues">Issues &nearr;</a>
+ <a href="/docs/developer-setup">For developers &rarr;</a>
</div>
</div>
- <div class="col-2">&nbsp;</div>
</div>
- </section>
-</div>
-
-{{ partial "footer.html" }}
+ </article>
+ </div>
+</section>
+</main>
+{{ partial "footer.html" . }}
diff --git a/docs/site/layouts/page/single.html b/docs/site/layouts/page/single.html
index 143ac1f6..9bf3e96b 100644
--- a/docs/site/layouts/page/single.html
+++ b/docs/site/layouts/page/single.html
@@ -1,6 +1,8 @@
{{ partial "header" . }}
-<article class="page">
- <h1>{{ .Title }}</h1>
- {{ .Content }}
-</article>
-{{ partial "footer" }}
\ No newline at end of file
+<main id="main">
+ <article class="container mb-8">
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ </article>
+</main>
+{{ partial "footer" }}
diff --git a/docs/site/layouts/partials/footer.html b/docs/site/layouts/partials/footer.html
index 057ac956..33d77e06 100644
--- a/docs/site/layouts/partials/footer.html
+++ b/docs/site/layouts/partials/footer.html
@@ -1,8 +1,14 @@
-
- <footer class="container footer">
- &copy; 2018-{{ now.Format "2006" }} / <a href="https://nadh.in">Kailash Nadh</a>
- </footer>
-
- <script async defer src="https://buttons.github.io/buttons.js"></script>
+<footer class="container">
+ <hr />
+ <div class="hstack justify-between mb-8">
+ <small class="text-light">
+ <strong><a href="/">listmonk</a></strong>
+ </small>
+ <small class="text-light">
+ &copy; 2018–{{ now.Format "2006" }} / <a href="https://nadh.in">Kailash Nadh</a>
+ </small>
+ </div>
+</footer>
+<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>
diff --git a/docs/site/layouts/partials/header.html b/docs/site/layouts/partials/header.html
index 557f34a0..14d58cff 100644
--- a/docs/site/layouts/partials/header.html
+++ b/docs/site/layouts/partials/header.html
@@ -1,13 +1,15 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{ .Title }}</title>
<meta name="description" content="{{with .Description }}{{ . }}{{else}}Send e-mail campaigns and transactional e-mails. High performance and features packed into one app.{{end}}" />
<meta name="keywords" content="{{ if .Keywords }}{{ range .Keywords }}{{ . }}, {{ end }}{{else if isset .Params "tags" }}{{ range .Params.tags }}{{ . }}, {{ end }}{{end}}">
<link rel="canonical" href="{{ .Permalink }}">
- <link href="https://fonts.googleapis.com/css?family=Inter:400,600" rel="stylesheet">
- <link href="{{ .Site.BaseURL }}static/base.css" rel="stylesheet" type="text/css" />
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Clarity+City:ital,wght@0,100..900;1,100..900&family=Geist:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
+ <link rel="stylesheet" href="https://unpkg.com/@knadh/oat/oat.min.css">
<link href="{{ .Site.BaseURL }}static/style.css" rel="stylesheet" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
@@ -23,20 +25,14 @@
{{ end }}
</head>
<body>
-
-<div class="container">
- <header class="header">
- <div class="row">
- <div class="col-2 logo">
- <a href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}static/images/logo.svg" alt="Listmonk logo" /></a>
- </div>
- <nav class="col-10">
- <a class="item" href="/#download">Download</a>
- <a class="item" href="/docs">Docs</a>
- <div class="github-btn">
- <a class="github-button" href="https://github.com/knadh/listmonk" data-size="large" data-show-count="true" aria-label="knadh/listmonk on GitHub">GitHub</a>
- </div>
- </nav>
+<nav data-topnav>
+ <div class="container hstack justify-between">
+ <a href="{{ .Site.BaseURL }}" aria-label="listmonk home"><img src="{{ .Site.BaseURL }}static/images/logo.svg" alt="listmonk" width="130" height="24" /></a>
+ <div class="hstack gap-6">
+ <a href="/#download">Download</a>
+ <a href="/#hosting">Hosting</a>
+ <a href="/docs">Docs</a>
+ <span class="github-btn"><a class="github-button" href="https://github.com/knadh/listmonk" data-size="large" data-show-count="true" aria-label="knadh/listmonk on GitHub">GitHub</a></span>
</div>
- </header>
-</div>
+ </div>
+</nav>
diff --git a/docs/site/static/static/images/analytics.webp b/docs/site/static/static/images/analytics.webp
index 0c0e5303..8180c12c 100644
Binary files a/docs/site/static/static/images/analytics.webp and b/docs/site/static/static/images/analytics.webp differ
diff --git a/docs/site/static/static/images/lists.webp b/docs/site/static/static/images/lists.webp
index 02d20632..c2846ce8 100644
Binary files a/docs/site/static/static/images/lists.webp and b/docs/site/static/static/images/lists.webp differ
diff --git a/docs/site/static/static/images/messengers.webp b/docs/site/static/static/images/messengers.webp
index 62156945..f1220f38 100644
Binary files a/docs/site/static/static/images/messengers.webp and b/docs/site/static/static/images/messengers.webp differ
diff --git a/docs/site/static/static/images/splash.webp b/docs/site/static/static/images/splash.webp
index 7212f3d3..5fc8eb16 100644
Binary files a/docs/site/static/static/images/splash.webp and b/docs/site/static/static/images/splash.webp differ
diff --git a/docs/site/static/static/images/templating.webp b/docs/site/static/static/images/templating.webp
index a4fff161..16b8a226 100644
Binary files a/docs/site/static/static/images/templating.webp and b/docs/site/static/static/images/templating.webp differ
diff --git a/docs/site/static/static/images/tx.webp b/docs/site/static/static/images/tx.webp
index 569c7197..45882ba2 100644
Binary files a/docs/site/static/static/images/tx.webp and b/docs/site/static/static/images/tx.webp differ
diff --git a/docs/site/static/static/style.css b/docs/site/static/static/style.css
index 9306e286..1ab5009b 100644
--- a/docs/site/static/static/style.css
+++ b/docs/site/static/static/style.css
@@ -1,321 +1,306 @@
-body {
- background: #fdfdfd;
- font-family: "Inter", "Helvetica Neue", "Segoe UI", sans-serif;
- font-size: 17px;
- font-weight: 400;
- line-height: 30px;
- color: #444;
- overflow-x: hidden;
+:root {
+ --font-sans: Geist, system-ui, sans-serif;
+ --primary: light-dark(#0055d4, #6ea2ff);
+ --primary-foreground: light-dark(#fff, #0b1220);
+ --foreground: light-dark(#182331, #e5e5e5);
+ --muted-foreground: light-dark(#64707e, #a1a1aa);
+ --ring: var(--primary);
+ --tint: light-dark(#f0f5fc, #101a2c);
+ --tint-border: light-dark(#e0e8f4, #1c2a44);
+ --container-max: 1120px;
}
-
-h1,
-h2,
-h3,
-h4,
-h5 {
- font-weight: 600;
- margin: 5px 0 15px 0;
- color: #111;
-}
-h1 {
- font-size: 2.5em;
- line-height: 1.2em;
- letter-spacing: -0.01em;
-}
-h2 {
- font-size: 2em;
- line-height: 1.4em;
-}
-h3 {
- font-size: 1.6em;
- line-height: 1.6em;
-}
-strong {
- font-weight: 600;
-}
-section:not(:last-child) {
- margin-bottom: 100px;
-}
a {
- color: #0055d4;
text-decoration: none;
}
-a:hover {
- color: #111;
-}
-::selection {
- background: #111;
- color: #fff;
-}
-pre {
- background: #fafafa;
- padding: 5px;
- border-radius: 3px;
- overflow-x: scroll;
-}
-code {
- background: #fafafa;
- padding: 5px;
- border-radius: 3px;
-}
-img {
- max-width: 100%;
-}
-
-/* Helpers */
-.center {
- text-align: center;
-}
-.small, code, pre {
- font-size: 13px;
- line-height: 20px;
- color: #333;
-}
-.box {
- background: #fff;
- border-radius: 6px;
- border: 1px solid #e6e6e6;
- box-shadow: 1px 1px 4px #e6e6e6;
- padding: 30px;
+h1, h2, h3, h4 {
+ letter-spacing: -0.02em;
}
-img.box {
- display: inline-block;
- padding: 0;
+pre {
+ background: var(--foreground);
+ color: var(--muted);
}
-figcaption {
- color: #888;
- font-size: 0.675em;
- line-height: 1.6;
+::selection {
+ background: var(--tint-border);
}
-.button {
- background: #0055d4;
- display: inline-block;
- text-align: center;
- font-weight: 600;
+nav[data-topnav] {
+ padding-block: var(--space-4);
+ background-color: rgb(from var(--background) r g b / 0.8);
+ backdrop-filter: saturate(1.8) blur(12px);
- color: #fff;
- border-radius: 100px;
- padding: 10px 15px;
- min-width: 150px;
-}
-.button:hover {
- background: #111;
- color: #fff;
-}
-.notice {
- background: #fafafa;
- border-left: 4px solid #ddd;
- color: #666;
- padding: 5px 15px;
-}
+ a {
+ color: var(--muted-foreground);
+ &:hover {
+ color: var(--primary);
+ }
+ }
-/* Layout */
-.container {
- max-width: 1300px;
- margin: 0 auto;
+ .github-btn,
+ .github-btn > span {
+ display: flex;
+ }
}
-.header {
- margin: 20px 0 60px 0;
- text-align: left;
+
+main > section {
+ padding-block: var(--space-18);
}
-.logo img {
- width: 125px;
- height: auto;
+header.align-center {
+ margin-block-end: var(--space-12);
}
-nav {
- text-align: right;
+section > hr:first-child {
+ margin-block: 0 var(--space-16);
}
- nav .item:not(:first-child) {
- margin: 0 0 0 40px;
- }
- .github-btn {
- min-width: 135px;
- min-height: 38px;
- float: right;
- margin-left: 30px;
- }
+a.button {
+ border-radius: var(--radius-full);
+ min-width: 10rem;
+}
-.splash .hero {
- margin-bottom: 60px;
+main > section.hero {
+ padding-block: var(--space-16);
+ margin-bottom: var(--space-12);
}
- .splash .title {
- max-width: 700px;
- margin: 0 auto 30px auto;
- font-size: 3em;
+
+.hero {
+ h1 {
+ font-size: clamp(2.75rem, 1.5rem + 5vw, 4.5rem);
+ line-height: 1.06;
+ margin-block: var(--space-6);
}
- .splash .sub {
- font-weight: 400;
- color: #666;
+
+ > p {
+ font-size: var(--text-4);
+ margin-block-end: var(--space-8);
}
- .splash .confetti {
- max-width: 1200px;
- margin: 0 auto;
+
+ > .badge::before {
+ content: "";
+ width: 10px;
+ height: 10px;
+ margin-inline-end: var(--space-2);
+ border-radius: 50%;
+ border: 2px solid var(--primary);
}
- .splash .demo {
- margin-top: 30px;
+}
+
+.hero {
+ position: relative;
+
+ > .s4 {
+ position: absolute;
+ top: 6rem;
+ left: 8%;
}
+}
.confetti {
position: relative;
-}
- .confetti .s1, .confetti .s2, .confetti .s3 {
+
+ > img {
position: absolute;
+ z-index: 1;
+ pointer-events: none;
}
- .confetti.light .s1, .confetti.light .s2, .confetti.light .s3 {
- opacity: 0.30;
- }
- .confetti .s1 {
+
+ > .s1 {
left: -35px;
- top: 20%;
- z-index: 10;
+ top: 30%;
+ z-index: 0;
}
- .confetti .s2 {
- z-index: 30;
+
+ > .s2 {
right: 20%;
top: -12px;
}
- .confetti .s3 {
- z-index: 30;
+
+ > .s3 {
left: 15%;
- bottom: 0;
+ bottom: -11px;
}
- .confetti .box {
+
+ > .card {
position: relative;
- z-index: 20;
}
-
-#download {
- background: #f9f9f9;
- padding: 160px 0 90px 0;
- margin-top: -90px;
}
- #download .install-steps li {
- margin-bottom: 15px;
- }
- #download .download-links a {
- display: inline-block;
- font-size: 0.775rem;
- color: #888;
- text-align: center;
- width: 75px;
- height: 75px;
- }
- #download .download-links a:hover .icon {
- transform: scale(1.2);
+
+.preview {
+ margin-block-start: var(--space-16);
+ padding: 0 var(--space-4) var(--space-4);
+ background: var(--faint);
+ box-shadow: var(--shadow-large);
+ text-align: start;
+
+ header {
+ padding: var(--space-2) 0;
+ color: var(--muted-foreground);
+ font-family: var(--font-mono);
}
- #download .download-links .icon {
- transition: transform 100ms ease-in;
- background-color: #fff;
- box-shadow: 1px 1px 4px #eee;
- border: 1px solid #e6e6e6;
- border-radius: 100%;
-
- display: inline-flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 48px;
- height: 48px;
- border-radius: 100%;
+
+ .dots {
+ display: flex;
+ gap: var(--space-1);
+
+ i {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: var(--border);
+ }
}
- #download .download-links img {
- max-width: 24px;
+
+ img {
display: block;
- margin: 0 auto;
+ width: 100%;
+ height: auto;
+ border: 1px solid var(--border);
+ border-radius: var(--radius-medium);
}
+}
- #download .box {
- min-height: 475px;
- }
+.band {
+ background: var(--faint);
+ border-block: 1px solid var(--border);
+
+ .card {
+ display: flex;
+ flex-direction: column;
+ padding: var(--space-12);
+ border-radius: var(--radius-medium);
-.hosting {
- text-align: center;
-}
-.hosting a {
- display: inline-block;
- margin: 0 15px;
+ > :last-child {
+ margin-block-start: auto;
+ }
+ }
}
-.hosting .disclaimer {
- font-size: 0.775rem;
- color: #888;
+
+#download a.button {
+ padding: var(--space-2);
+ min-width: 6rem;
+ border-radius: var(--radius-medium);
}
- .feature h2 {
- margin-bottom: 1em;
+.features {
+ > .row {
+ margin-block-start: var(--space-18);
}
- .feature img {
- margin-bottom: 1em;
+
+ h3 {
+ font-size: var(--text-2);
}
- .feature p {
- margin-left: auto;
- margin-right: auto;
- max-width: 750px;
+
+ figure.card {
+ padding: clamp(16px, 2.5vw, 28px);
+ background: linear-gradient(145deg, var(--tint), var(--faint));
+ border: 1px solid var(--tint-border);
+ border-radius: var(--radius-large);
+ box-shadow: none;
+
+ img {
+ display: block;
+ width: 100%;
+ height: auto;
+ border-radius: var(--radius-medium);
+ box-shadow: 0 8px 24px -12px rgb(16 42 80 / 0.25),
+ 0 1px 3px rgb(16 42 80 / 0.08);
+ }
}
-.banner {
- padding-top: 90px;
-}
+ @media (min-width: 769px) {
+ > .row:nth-of-type(even) {
+ > div {
+ grid-row: 1;
+ grid-column: 8 / span 5;
+ }
-.footer {
- border-top: 1px solid #eee;
- margin-top: 30px;
- padding: 30px 0;
- color: #777;
+ > figure {
+ grid-row: 1;
+ grid-column: 1 / span 6;
+ margin-inline-start: 0;
+ }
+ }
+ }
}
-@media screen and (max-width: 720px) {
- body {
- /*font-size: 16px;*/
+#hosting a {
+ transition: transform var(--transition-fast);
+
+ &:hover {
+ transform: translateY(-2px);
}
- .header {
- margin-bottom: 15px;
- text-align: center;
+}
+
+#hosting img {
+ height: var(--space-8);
+ width: auto;
+ max-width: 9rem;
+ object-fit: contain;
+}
+
+.tinted {
+ padding: var(--space-12);
+ background: var(--tint);
+ border-color: var(--tint-border);
+ box-shadow: none;
+
+ h2 {
+ margin: 0;
}
- .header .columns {
- margin-bottom: 10px;
+}
+
+@media (max-width: 768px) {
+ nav[data-topnav] {
+ position: static;
+ padding-block: var(--space-3);
+
+ > .container {
+ flex-direction: column;
+ justify-content: center;
+ gap: var(--space-2);
+ }
+
+ > .container > .hstack {
+ justify-content: center;
+ gap: var(--space-4);
+ }
}
- .box {
- padding: 15px;
+ main > section {
+ padding-block: var(--space-12);
}
- .splash .title {
- font-size: 2.1em;
- line-height: 1.3em;
+ main > section.hero {
+ padding-block-start: var(--space-8);
}
- .splash .sub {
- font-size: 1.3em;
- line-height: 1.5em;
+ .preview {
+ margin-block-start: var(--space-10);
}
- nav {
- text-align: center;
+ .hero > .s4,
+ .confetti > .s1 {
+ display: none;
}
- .github-btn {
- float: none;
- margin: 15px 0 0 0;
+ .features > .row {
+ margin-block-start: var(--space-12);
}
- section:not(:last-child) {
- margin-bottom: 45px;
+ .band .card,
+ .tinted {
+ padding: var(--space-6);
}
}
-@media screen and (max-width: 540px) {
- .container {
- padding: 0 15px;
- }
- .feature .col-1 {
- display: none;
+
+@media (prefers-reduced-motion: reduce) {
+ a.button.large:hover,
+ #hosting a:hover {
+ transform: none;
}
-}
\ No newline at end of file
+}