Progmasoft Git

progmaweb

The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.

Clonegit clone https://git.progmasoft.com/progmaweb

Serve the Progmasoft mark as a BIMI logo

BIMI lets mail clients show a sender's logo next to messages from a
domain whose DMARC policy is enforced; progmasoft.com already publishes
p=quarantine with pct=100. The BIMI record points at an SVG on the
domain, so the site now serves one at /bimi/logo.svg.

The file is SVG Tiny Portable/Secure, as BIMI requires: version 1.2,
baseProfile tiny-ps, a title, no scripts, no external references and
no x or y on the root. It draws the same four tiles as the Brand
component, in the same colours (#3b4658, #1e7188, #7655fa, #dc7644)
and the same tile-to-gap ratio (11:2, here 132 and 24 on a 512 grid),
on a white square. The mark stays inside the circle that clients crop
the logo to.

Next.js serves files from apps/web/public before the dynamic routes;
the deployment already copies public/ next to the standalone server.
Commit
6721ce3dccd7207d5372f30f0b5edb93157b0c1d
Author
Leitwolf11 ·
Parents
e3c701032844

Files · Download .tar.gz

Changes

 apps/web/public/bimi/logo.svg | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/apps/web/public/bimi/logo.svg b/apps/web/public/bimi/logo.svg
new file mode 100644
index 0000000..0ec3a65
--- /dev/null
+++ b/apps/web/public/bimi/logo.svg
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny-ps" viewBox="0 0 512 512">
+  <title>Progmasoft</title>
+  <rect width="512" height="512" fill="#ffffff"/>
+  <rect x="112" y="112" width="132" height="132" fill="#3b4658"/>
+  <rect x="268" y="112" width="132" height="132" fill="#1e7188"/>
+  <rect x="112" y="268" width="132" height="132" fill="#7655fa"/>
+  <rect x="268" y="268" width="132" height="132" fill="#dc7644"/>
+</svg>