Jaime Blasco

Revert web folder changes

1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 - <!--  
5 - If you are serving your web app in a path other than the root, change the  
6 - href value below to reflect the base path you are serving from.  
7 -  
8 - The path provided below has to start and end with a slash "/" in order for  
9 - it to work correctly.  
10 -  
11 - Fore more details:  
12 - * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base  
13 - -->  
14 - <base href="/">  
15 -  
16 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
17 <meta content="IE=Edge" http-equiv="X-UA-Compatible"> 5 <meta content="IE=Edge" http-equiv="X-UA-Compatible">
18 - <meta name="description" content="A new Flutter project."> 6 + <!-- Primary Meta Tags -->
  7 + <title>Flutter Modal Bottom Sheets</title>
  8 + <meta name="title" content="Flutter Modal Bottom Sheets">
  9 + <meta name="description" content="Build advanced modals. Cupertino, material or create your own">
  10 +
  11 + <!-- Open Graph / Facebook -->
  12 + <meta property="og:type" content="website">
  13 + <meta property="og:url" content="https://jamesblasco.github.io/modal_bottom_sheet/">
  14 + <meta property="og:title" content="Flutter Modal Bottom Sheets">
  15 + <meta property="og:description" content="Build advanced modals. Cupertino, material or create your own">
  16 + <meta property="og:image" content="https://jamesblasco.github.io/modal_bottom_sheet/icons/image.png">
  17 +
  18 + <!-- Twitter -->
  19 + <meta property="twitter:card" content="summary_large_image">
  20 + <meta property="twitter:url" content="https://jamesblasco.github.io/modal_bottom_sheet/">
  21 + <meta property="twitter:title" content="Flutter Modal Bottom Sheets">
  22 + <meta property="twitter:description" content="Build advanced modals. Cupertino, material or create your own">
  23 + <meta property="og:image" content="https://jamesblasco.github.io/modal_bottom_sheet/icons/image.png">
19 24
20 <!-- iOS meta tags & icons --> 25 <!-- iOS meta tags & icons -->
21 <meta name="apple-mobile-web-app-capable" content="yes"> 26 <meta name="apple-mobile-web-app-capable" content="yes">
22 <meta name="apple-mobile-web-app-status-bar-style" content="black"> 27 <meta name="apple-mobile-web-app-status-bar-style" content="black">
23 <meta name="apple-mobile-web-app-title" content="example"> 28 <meta name="apple-mobile-web-app-title" content="example">
24 - <link rel="apple-touch-icon" href="icons/Icon-192.png"> 29 + <link rel="apple-touch-icon" href="/icons/Icon-192.png">
25 30
26 <!-- Favicon --> 31 <!-- Favicon -->
27 - <link rel="icon" type="image/png" href="favicon.png"/> 32 + <link rel="shortcut icon" type="image/png" href="/favicon.png"/>
28 33
29 - <title>example</title>  
30 - <link rel="manifest" href="manifest.json"> 34 + <link rel="manifest" href="/manifest.json">
31 </head> 35 </head>
32 <body> 36 <body>
33 <!-- This script installs service_worker.js to provide PWA functionality to 37 <!-- This script installs service_worker.js to provide PWA functionality to
@@ -35,8 +39,10 @@ @@ -35,8 +39,10 @@
35 https://developers.google.com/web/fundamentals/primers/service-workers --> 39 https://developers.google.com/web/fundamentals/primers/service-workers -->
36 <script> 40 <script>
37 if ('serviceWorker' in navigator) { 41 if ('serviceWorker' in navigator) {
38 - window.addEventListener('flutter-first-frame', function () {  
39 - navigator.serviceWorker.register('flutter_service_worker.js'); 42 + window.addEventListener('load', function () {
  43 + navigator.serviceWorker.register('flutter_service_worker.js', {
  44 + scope: './'
  45 + });
40 }); 46 });
41 } 47 }
42 </script> 48 </script>
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 "name": "example", 2 "name": "example",
3 "short_name": "example", 3 "short_name": "example",
4 "start_url": ".", 4 "start_url": ".",
5 - "display": "standalone", 5 + "display": "minimal-ui",
6 "background_color": "#0175C2", 6 "background_color": "#0175C2",
7 "theme_color": "#0175C2", 7 "theme_color": "#0175C2",
8 "description": "A new Flutter project.", 8 "description": "A new Flutter project.",