feat: add new design for website

This commit is contained in:
Stefan Imhoff
2021-07-13 16:34:22 +02:00
parent 6bdc7366b7
commit 0eda13f312
1016 changed files with 4124 additions and 176 deletions

22
workbox.config.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = {
globDirectory: 'dist/',
globPatterns: ['**/*.woff2'],
swDest: 'dist/sw.js',
sourcemap: false,
cleanupOutdatedCaches: true,
clientsClaim: true,
skipWaiting: true,
runtimeCaching: [
{
urlPattern: /\.(?:jpg|png|svg|gif|webp|avif)$/,
handler: 'CacheFirst',
options: {
cacheName: 'images',
expiration: {
maxEntries: 50,
maxAgeSeconds: 60 * 60 * 24 * 365,
},
},
},
],
};