svg.escobar.life

A simple SVG markup editor for the web

Commit
735f6175483cb531069f7e058d835eadc215e38c
Parent
e479ba671eefe0935f15a5c4b85013d6cb9383c0
Author
Pablo Escobar Gaviria <gark.garcia@protonmail.com>
Date

Restructured the app icon scheme.

Diffstat

3 files changed, 18 insertions, 11 deletions

Status File Name N° Changes Insertions Deletions
Modified LICENSE 2 1 1
Modified index.html 22 15 7
Modified service-worker.js 5 2 3
diff --git a/LICENSE b/LICENSE
@@ -1,6 +1,6 @@
 
 
-Copyright 2019 Thiago Brevidelli
+Copyright 2019 Gark Garcia 
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 
diff --git a/index.html b/index.html
@@ -1,18 +1,26 @@
 <!DOCTYPE HTML>
 <html>
-    <!-- Gark Garcia ⓒ 2019. ALL RIGHTS RESERVED -->
+    <!-- Gark Garcia (C) 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="icon" 
+              type="image/svg+xml" 
+              sizes="32x32 16x16 180x180" 
+              href="./assets/icons/favicon.svg">
+        
+        <link rel="apple-touch-icon" 
+              type="image/svg+xml" 
+              sizes="32x32 16x16 180x180" 
+              href="./assets/icons/favicon.svg">
+        
+        <link rel="mask-icon" 
+              href="./assets/icons/safari-pinned-tab.svg" 
+              color="#b362ff">
+        
         <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">
-
         <script src="script.min.js"></script>
     </head>
 
diff --git a/service-worker.js b/service-worker.js
@@ -3,7 +3,7 @@ self.addEventListener('fetch', fetchHandler);
 
 function installHandler(e) {
     e.waitUntil(
-        caches.open('progessive-elm')
+        caches.open('progressive-elm')
             .then((cache) => cache.addAll(['/', '/index.html']))
             .catch(console.error)
     );
@@ -15,4 +15,4 @@ function fetchHandler(e) {
             .then((response) => response || fetch(e.request))
             .catch(console.error)
     );
-}-
\ No newline at end of file
+}