svg.escobar.life

A simple SVG markup editor for the web

index.html (1036B)

      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 	<meta charset="UTF-8">
      5 	<meta name="viewport" content="width=device-width, initial-scale=1">
      6   <meta name="description" 
      7         content="Edit the source code and preview the results">
      8 
      9 	<link rel="stylesheet" href="/css/styles.css">
     10   <link rel="icon" 
     11         type="image/svg+xml" 
     12         sizes="16x16 24x24 32x32 48x48 64x64 128x128 192x192 256x256 512x512" 
     13         href="/assets/favicon.svg">
     14   <link rel="manifest" href="manifest.json">
     15   <script src="js/script.min.js"></script>
     16 </head>
     17 <body>
     18 	<script>
     19     Elm.Main.init();
     20 
     21     function load() {
     22       navigator.serviceWorker
     23         .register("./service-worker.js")
     24         .then(console.log)
     25         .catch(console.error);
     26     }
     27 
     28     if ("serviceWorker" in navigator) window.addEventListener("load", load);
     29   </script>
     30   <noscript>
     31     <header id="noscript">
     32       <span>
     33         This site (unfortunatelly) requires JS 
     34         <br>
     35         T_T
     36       </span>
     37     </header>
     38   </noscript>
     39 </body>
     40 </html>