svg.escobar.life

A simple SVG markup editor for the web

Commit
7f8a223c3691bb03ab2c6727d9d6320494073a07
Parent
275e60021c31e025a79f777f097f48c2f2d6a5d7
Author
Pablo Escobar Gaviria <gark.garcia@protonmail.com>
Date

Fixed `index.html` and `script.min.js`.

Diffstat

2 files changed, 36 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified index.html 36 34 2
Modified script.min.js 4 2 2
diff --git a/index.html b/index.html
@@ -1 +1,33 @@
-./build/output/index.html-
\ No newline at end of file
+<!DOCTYPE HTML>
+<html>
+	<!-- Thiago Brevidelli ⓒ 2019. ALL RIGHTS RESERVED -->
+	<head>
+	    <meta charset="UTF-8">
+	    <meta name="viewport" content="width=device-width, initial-scale=1">
+	    <link rel="stylesheet" href="styles.css">
+
+        <link rel="apple-touch-icon" sizes="180x180" href="assets/icons/apple-touch-icon.png">
+        <link rel="icon" type="image/png" sizes="32x32" href="assets/icons/favicon-32x32.png">
+        <link rel="icon" type="image/png" sizes="16x16" href="assets/icons/favicon-16x16.png">
+        <link rel="manifest" href="manifest.json">
+        <link rel="mask-icon" href="assets/icons/safari-pinned-tab.svg" color="#b362ff">
+        <link rel="shortcut icon" href="assets/icons/favicon.ico">
+        <meta name="msapplication-TileColor" content="#9f00a7">
+        <meta name="msapplication-config" content="assets/icons/browserconfig.xml">
+
+        <script src="script.min.js"></script>
+	</head>
+
+	<body>
+		<script>Elm.Main.init()</script>
+        <script>
+            const load = () => navigator.serviceWorker
+                .register('/RawSvg/service-worker.js')
+                .then(console.log)
+                .catch(console.error);
+
+            if ('serviceWorker' in navigator)
+                window.addEventListener('load', load);
+        </script>
+	</body>
+</html>+
\ No newline at end of file
diff --git a/script.min.js b/script.min.js
@@ -1 +1 @@
-./build/output/script.min.js-
\ No newline at end of file
+// Thiago Brevidelli ⓒ 2019. ALL RIGHTS RESERVED+
\ No newline at end of file