Paulus Schoutsen 3 лет назад
Родитель
Сommit
86a2a390b1
2 измененных файлов с 27 добавлено и 1 удалено
  1. 27 1
      index.html
  2. BIN
      static/social.png

+ 27 - 1
index.html

@@ -2,11 +2,37 @@
   <head>
   <head>
     <meta charset="utf-8" />
     <meta charset="utf-8" />
     <title>ESP Web Tools</title>
     <title>ESP Web Tools</title>
-    <meta name="viewport" content="width=device-width" />
     <meta
     <meta
       name="description"
       name="description"
       content="Easily allow users to flash new firmware for their ESP-devices on the web."
       content="Easily allow users to flash new firmware for their ESP-devices on the web."
     />
     />
+    <meta name="viewport" content="width=device-width" />
+
+    <meta property="og:title" content="ESP Web Tools" />
+    <meta property="og:site_name" content="ESP Web Tools" />
+    <meta
+      property="og:url"
+      content="https://esphome.github.io/esp-web-tools/"
+    />
+    <meta property="og:type" content="website" />
+    <meta
+      property="og:description"
+      content="Easily allow users to flash new firmware for their ESP-devices on the web."
+    />
+    <meta
+      property="og:image"
+      content="https://esphome.github.io/esp-web-tools/static/social.png"
+    />
+    <meta name="twitter:card" content="summary_large_image" />
+    <meta name="twitter:title" content="ESP Web Tools" />
+    <meta
+      name="twitter:description"
+      content="Easily allow users to flash new firmware for their ESP-devices on the web."
+    />
+    <meta
+      name="twitter:image"
+      content="https://esphome.github.io/esp-web-tools/static/social.png"
+    />
     <style>
     <style>
       body {
       body {
         font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
         font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",

BIN
static/social.png