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