diff --git a/public/fonts/open-sans-v15-latin-700.eot b/public/fonts/open-sans-v15-latin-700.eot deleted file mode 100644 index bf88bfad78..0000000000 Binary files a/public/fonts/open-sans-v15-latin-700.eot and /dev/null differ diff --git a/public/fonts/open-sans-v15-latin-700.svg b/public/fonts/open-sans-v15-latin-700.svg deleted file mode 100644 index 8e6b61ade1..0000000000 --- a/public/fonts/open-sans-v15-latin-700.svg +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/open-sans-v15-latin-700italic.eot b/public/fonts/open-sans-v15-latin-700italic.eot deleted file mode 100644 index f754e4ee9b..0000000000 Binary files a/public/fonts/open-sans-v15-latin-700italic.eot and /dev/null differ diff --git a/public/fonts/open-sans-v15-latin-700italic.svg b/public/fonts/open-sans-v15-latin-700italic.svg deleted file mode 100644 index 80b563538f..0000000000 --- a/public/fonts/open-sans-v15-latin-700italic.svg +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/open-sans-v15-latin-italic.eot b/public/fonts/open-sans-v15-latin-italic.eot deleted file mode 100644 index d908681858..0000000000 Binary files a/public/fonts/open-sans-v15-latin-italic.eot and /dev/null differ diff --git a/public/fonts/open-sans-v15-latin-italic.svg b/public/fonts/open-sans-v15-latin-italic.svg deleted file mode 100644 index e6a951f46e..0000000000 --- a/public/fonts/open-sans-v15-latin-italic.svg +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/open-sans-v15-latin-regular.eot b/public/fonts/open-sans-v15-latin-regular.eot deleted file mode 100644 index 1a8b1160df..0000000000 Binary files a/public/fonts/open-sans-v15-latin-regular.eot and /dev/null differ diff --git a/public/fonts/open-sans-v15-latin-regular.svg b/public/fonts/open-sans-v15-latin-regular.svg deleted file mode 100644 index 78eb653a75..0000000000 --- a/public/fonts/open-sans-v15-latin-regular.svg +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/quicksand-v7-latin-300.eot b/public/fonts/quicksand-v7-latin-300.eot deleted file mode 100644 index fc162bcc83..0000000000 Binary files a/public/fonts/quicksand-v7-latin-300.eot and /dev/null differ diff --git a/public/fonts/quicksand-v7-latin-300.svg b/public/fonts/quicksand-v7-latin-300.svg deleted file mode 100644 index a5aa4ccacf..0000000000 --- a/public/fonts/quicksand-v7-latin-300.svg +++ /dev/null @@ -1,451 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/quicksand-v7-latin-500.eot b/public/fonts/quicksand-v7-latin-500.eot deleted file mode 100644 index d4d73588d2..0000000000 Binary files a/public/fonts/quicksand-v7-latin-500.eot and /dev/null differ diff --git a/public/fonts/quicksand-v7-latin-500.svg b/public/fonts/quicksand-v7-latin-500.svg deleted file mode 100644 index fedf04e68e..0000000000 --- a/public/fonts/quicksand-v7-latin-500.svg +++ /dev/null @@ -1,455 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/quicksand-v7-latin-700.eot b/public/fonts/quicksand-v7-latin-700.eot deleted file mode 100644 index 8b0d15c1be..0000000000 Binary files a/public/fonts/quicksand-v7-latin-700.eot and /dev/null differ diff --git a/public/fonts/quicksand-v7-latin-700.svg b/public/fonts/quicksand-v7-latin-700.svg deleted file mode 100644 index 2c0d90af4d..0000000000 --- a/public/fonts/quicksand-v7-latin-700.svg +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/fonts/quicksand-v7-latin-regular.eot b/public/fonts/quicksand-v7-latin-regular.eot deleted file mode 100644 index 8546c22ae8..0000000000 Binary files a/public/fonts/quicksand-v7-latin-regular.eot and /dev/null differ diff --git a/public/fonts/quicksand-v7-latin-regular.svg b/public/fonts/quicksand-v7-latin-regular.svg deleted file mode 100644 index e7cb778f2f..0000000000 --- a/public/fonts/quicksand-v7-latin-regular.svg +++ /dev/null @@ -1,454 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/ServiceWorker/sw.js b/src/ServiceWorker/sw.js index 3917ec1ef9..9730aef705 100644 --- a/src/ServiceWorker/sw.js +++ b/src/ServiceWorker/sw.js @@ -4,7 +4,7 @@ // Cache assets workbox.routing.registerRoute( // This regexp matches all files in precache-manifest - new RegExp('.+\\.(css|json|js|eot|svg|ttf|woff|woff2|png|html|txt)$'), + new RegExp('.+\\.(css|json|js|svg|woff2|png|html|txt)$'), new workbox.strategies.StaleWhileRevalidate(), ) @@ -74,7 +74,7 @@ self.addEventListener('notificationclick', function (event) { switch (event.action) { case 'mark-as-done': // FIXME: Ugly as hell, but no other way of doing this, since we can't use modules - // in service workersfor now. + // in service workers for now. fetch('/config.json') .then(r => r.json()) .then(config => { diff --git a/src/styles/theme/fonts.scss b/src/styles/theme/fonts.scss index 51bced9b98..dffa7c6cb5 100644 --- a/src/styles/theme/fonts.scss +++ b/src/styles/theme/fonts.scss @@ -1,4 +1,4 @@ -$font-files-path: '../../public/fonts/'; +$font-files-path: '/fonts/'; /* quicksand-300 - latin */ @font-face { @@ -6,13 +6,10 @@ $font-files-path: '../../public/fonts/'; font-style: normal; font-weight: 300; font-display: swap; - src: url($font-files-path + 'quicksand-v7-latin-300.eot'); /* IE9 Compat Modes */ src: local('Quicksand Light'), local('Quicksand-Light'), - url($font-files-path + 'quicksand-v7-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'quicksand-v7-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'quicksand-v7-latin-300.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'quicksand-v7-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'quicksand-v7-latin-300.svg#Quicksand') format('svg'); /* Legacy iOS */ + url($font-files-path + 'quicksand-v7-latin-300.ttf') format('truetype'); /* Safari, Android, iOS */ } /* quicksand-regular - latin */ @@ -21,13 +18,10 @@ $font-files-path: '../../public/fonts/'; font-style: normal; font-weight: 400; font-display: swap; - src: url($font-files-path + 'quicksand-v7-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Quicksand Regular'), local('Quicksand-Regular'), - url($font-files-path + 'quicksand-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'quicksand-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'quicksand-v7-latin-regular.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'quicksand-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'quicksand-v7-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */ + url($font-files-path + 'quicksand-v7-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */ } /* quicksand-500 - latin */ @@ -36,13 +30,10 @@ $font-files-path: '../../public/fonts/'; font-style: normal; font-weight: 500; font-display: swap; - src: url($font-files-path + 'quicksand-v7-latin-500.eot'); /* IE9 Compat Modes */ src: local('Quicksand Medium'), local('Quicksand-Medium'), - url($font-files-path + 'quicksand-v7-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'quicksand-v7-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'quicksand-v7-latin-500.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'quicksand-v7-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'quicksand-v7-latin-500.svg#Quicksand') format('svg'); /* Legacy iOS */ + url($font-files-path + 'quicksand-v7-latin-500.ttf') format('truetype'); /* Safari, Android, iOS */ } /* quicksand-700 - latin */ @@ -51,13 +42,10 @@ $font-files-path: '../../public/fonts/'; font-style: normal; font-weight: 700; font-display: swap; - src: url($font-files-path + 'quicksand-v7-latin-700.eot'); /* IE9 Compat Modes */ src: local('Quicksand Bold'), local('Quicksand-Bold'), - url($font-files-path + 'quicksand-v7-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'quicksand-v7-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'quicksand-v7-latin-700.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'quicksand-v7-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'quicksand-v7-latin-700.svg#Quicksand') format('svg'); /* Legacy iOS */ + url($font-files-path + 'quicksand-v7-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */ } /* open-sans-regular - latin */ @@ -66,13 +54,10 @@ $font-files-path: '../../public/fonts/'; font-style: normal; font-weight: 400; font-display: swap; - src: url($font-files-path + 'open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Open Sans Regular'), local('OpenSans-Regular'), - url($font-files-path + 'open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */ + url($font-files-path + 'open-sans-v15-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */ } /* open-sans-italic - latin */ @@ -81,13 +66,10 @@ $font-files-path: '../../public/fonts/'; font-style: italic; font-weight: 400; font-display: swap; - src: url($font-files-path + 'open-sans-v15-latin-italic.eot'); /* IE9 Compat Modes */ src: local('Open Sans Italic'), local('OpenSans-Italic'), - url($font-files-path + 'open-sans-v15-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'open-sans-v15-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'open-sans-v15-latin-italic.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'open-sans-v15-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'open-sans-v15-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */ + url($font-files-path + 'open-sans-v15-latin-italic.ttf') format('truetype'); /* Safari, Android, iOS */ } /* open-sans-700 - latin */ @@ -96,13 +78,10 @@ $font-files-path: '../../public/fonts/'; font-style: normal; font-weight: 700; font-display: swap; - src: url($font-files-path + 'open-sans-v15-latin-700.eot'); /* IE9 Compat Modes */ src: local('Open Sans Bold'), local('OpenSans-Bold'), - url($font-files-path + 'open-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'open-sans-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'open-sans-v15-latin-700.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'open-sans-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'open-sans-v15-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */ + url($font-files-path + 'open-sans-v15-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */ } /* open-sans-700italic - latin */ @@ -111,11 +90,8 @@ $font-files-path: '../../public/fonts/'; font-style: italic; font-weight: 700; font-display: swap; - src: url($font-files-path + 'open-sans-v15-latin-700italic.eot'); /* IE9 Compat Modes */ src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), - url($font-files-path + 'open-sans-v15-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url($font-files-path + 'open-sans-v15-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */ url($font-files-path + 'open-sans-v15-latin-700italic.woff') format('woff'), /* Modern Browsers */ - url($font-files-path + 'open-sans-v15-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */ - url($font-files-path + 'open-sans-v15-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */ + url($font-files-path + 'open-sans-v15-latin-700italic.ttf') format('truetype'); /* Safari, Android, iOS */ }