aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Woodward <ben@bdw.to>2021-07-29 11:06:27 -0700
committerGitHub <noreply@github.com>2021-07-29 11:06:27 -0700
commit72fcd5f3ac1a772f79022925f34b768bb294a5a9 (patch)
treedd3b7defe220e367dad0b3cc495f6c307aa2e1fa
parent0bac86b0a7cca056da83065e7fb2982b35b1cb02 (diff)
Update meta desc (#146)
* Revert ":sparkles: add desc attribute to index.html (#129)" This reverts commit 28b39bd026d1c13150856d84170fe6127288e104. * Update meta desc Page descriptions belong in a meta tag
-rw-r--r--public/index.html68
1 files changed, 35 insertions, 33 deletions
diff --git a/public/index.html b/public/index.html
index b87e55a..4192a59 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,19 +1,21 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html lang="en"> 2<html lang="en">
3 3 <head>
4<head> 4 <meta charset="utf-8" />
5 <meta charset="utf-8" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <meta name="viewport" content="width=device-width, initial-scale=1" /> 6 <meta name="theme-color" content="#000000" />
7 <meta name="theme-color" content="#000000" /> 7 <meta
8 <meta name="description" content="Print a card for your WiFi login" /> 8 name="description"
9 <link rel="icon" href="./images/wifi.ico" /> 9 content="Print a simple card with your WiFi login details. Tape it to the fridge, keep it in your wallet, etc."
10 <link rel="stylesheet" href="/light.min.css" /> 10 />
11 <!-- 11 <link rel="icon" href="./images/wifi.ico" />
12 <link rel="stylesheet" href="/light.min.css" />
13 <!--
12 manifest.json provides metadata used when your web app is installed on a 14 manifest.json provides metadata used when your web app is installed on a
13 user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ 15 user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14 --> 16 -->
15 <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> 17 <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16 <!-- 18 <!--
17 Notice the use of %PUBLIC_URL% in the tags above. 19 Notice the use of %PUBLIC_URL% in the tags above.
18 It will be replaced with the URL of the `public` folder during the build. 20 It will be replaced with the URL of the `public` folder during the build.
19 Only files inside the `public` folder can be referenced from the HTML. 21 Only files inside the `public` folder can be referenced from the HTML.
@@ -22,17 +24,17 @@
22 work correctly both with client-side routing and a non-root public URL. 24 work correctly both with client-side routing and a non-root public URL.
23 Learn how to configure a non-root public URL by running `npm run build`. 25 Learn how to configure a non-root public URL by running `npm run build`.
24 --> 26 -->
25 <title>WiFi Card</title> 27 <title>WiFi Card</title>
26 <desc>Print a simple card with your WiFi login details. Tape it to the fridge, keep it in your wallet, etc.</desc> 28 </head>
27</head>
28 29
29<body> 30 <body>
30 <noscript>You need to enable JavaScript to run this app. Feel free to view the 31 <noscript
31 <a href="https://github.com/bndw/wifi-card">source code</a>.</noscript> 32 >You need to enable JavaScript to run this app. Feel free to view the
33 <a href="https://github.com/bndw/wifi-card">source code</a>.</noscript
34 >
32 35
33 <div id="root"> 36 <div id="root"></div>
34 </div> 37 <!--
35 <!--
36 This HTML file is a template. 38 This HTML file is a template.
37 If you open it directly in the browser, you will see an empty page. 39 If you open it directly in the browser, you will see an empty page.
38 40
@@ -42,16 +44,16 @@
42 To begin the development, run `npm start` or `yarn start`. 44 To begin the development, run `npm start` or `yarn start`.
43 To create a production bundle, use `npm run build` or `yarn build`. 45 To create a production bundle, use `npm run build` or `yarn build`.
44 --> 46 -->
45</body> 47 </body>
46 48
47<script> 49 <script>
48 // Internet Explorer 6-11 50 // Internet Explorer 6-11
49 const isIE = /*@cc_on!@*/false || !!document.documentMode; 51 const isIE = /*@cc_on!@*/ false || !!document.documentMode;
50 52
51 if (isIE) { 53 if (isIE) {
52 document.getElementById("root").innerHTML = "Internet Explorer is not supported. Download Firefox/Chrome/Opera."; 54 document.getElementById('root').innerHTML =
53 document.body.style.fontSize="50px"; 55 'Internet Explorer is not supported. Download Firefox/Chrome/Opera.';
54 } 56 document.body.style.fontSize = '50px';
55</script> 57 }
56 58 </script>
57</html> \ No newline at end of file 59</html>