Dough Git

commit

Add a Discord component embed

commit
9faa85c9944ee130f2c8144bc979888e3505374b
author
Clove Twilight <[email protected]>
date
2026-10-30 00:44

diff --git a/email/index.html b/email/index.html
index 6896c4c..ee4d182 100644
--- a/email/index.html
+++ b/email/index.html
@@ -15,6 +15,56 @@
     <link rel="icon" href="/icon.svg" type="image/svg+xml" />
     <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
     <link rel="manifest" href="/manifest.webmanifest" />
+    <!-- Discord component embed: one Container, max 3,000 bytes -->
+    <script id="discord:component-embed" type="application/json">
+      {
+        "component": {
+          "type": 17,
+          "accent_color": 15418782,
+          "components": [
+            {
+              "type": 9,
+              "components": [
+                {
+                  "type": 10,
+                  "content": "## Inbox"
+                },
+                {
+                  "type": 10,
+                  "content": "Doughmination Mail."
+                }
+              ],
+              "accessory": {
+                "type": 11,
+                "media": { "url": "https://mail.doughmination.gay/apple-touch-icon.png" }
+              }
+            },
+            { "type": 14 },
+            {
+              "type": 1,
+              "components": [
+                {
+                  "type": 2,
+                  "style": 5,
+                  "label": "Open inbox",
+                  "url": "https://mail.doughmination.gay/"
+                },
+                {
+                  "type": 2,
+                  "style": 5,
+                  "label": "doughmination.gay",
+                  "url": "https://doughmination.gay/"
+                }
+              ]
+            },
+            {
+              "type": 10,
+              "content": "-# mail.doughmination.gay"
+            }
+          ]
+        }
+      }
+    </script>
     <!-- Splash: inline so it paints before the bundle loads. Frame one is the
          Android splash (the icon at 128px), so the hand-off doesn't jump. -->
     <style>