From f938aed4a157c3238005c9bf1de75edc0461d2e3 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Mon, 12 Oct 2026 22:08:39 +0000 Subject: [PATCH] site: the logo (three fading bars), favicon, header mark and a preview image assets/ holds the SVGs and render.sh, which makes the PNGs; the drafts are gone. --- diff --git a/site/assets/apple-touch-icon.png b/site/assets/apple-touch-icon.png new file mode 100644 index 0000000..7b8bcec Binary files /dev/null and b/site/assets/apple-touch-icon.png differ diff --git a/site/assets/favicon-32.png b/site/assets/favicon-32.png new file mode 100644 index 0000000..c800ce2 Binary files /dev/null and b/site/assets/favicon-32.png differ diff --git a/site/assets/favicon.svg b/site/assets/favicon.svg new file mode 100644 index 0000000..60e11eb --- /dev/null +++ b/site/assets/favicon.svg @@ -0,0 +1,6 @@ + diff --git a/site/assets/logo.svg b/site/assets/logo.svg new file mode 100644 index 0000000..f0db880 --- /dev/null +++ b/site/assets/logo.svg @@ -0,0 +1,7 @@ + diff --git a/site/assets/render.sh b/site/assets/render.sh new file mode 100755 index 0000000..8944d97 --- /dev/null +++ b/site/assets/render.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Makes the PNGs from the SVGs and social.html: run it after changing a logo. +# It needs Chromium (CHROME=/path/to/chrome to say where) and ImageMagick. +# Chromium won't make a window under 500 px, so the icons are drawn +# large and shrunk. +set -e +cd "$(dirname "$0")" +C=${CHROME:-chromium} +shot() { # shot out.png width height page + "$C" --headless --no-sandbox --hide-scrollbars --default-background-color=00000000 \ + --screenshot="$1" --window-size="$2,$3" "file://$PWD/$4" >/dev/null 2>&1 +} +icon() { # icon svg out.png size + printf '