diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..3d5572b Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg index f157bd1..e57ec9e 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,9 +1,48 @@ - - - + + + + + + + + + # + # + + diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 0000000..5a2d51a --- /dev/null +++ b/public/logo.svg @@ -0,0 +1,76 @@ + + + + + + + + + HullCSS + HullCSS + + + # + # + + + diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..1fd89ed --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,30 @@ +{ + "name": "HullCSS Website and Blog", + "short_name": "HullCSS", + "start_url": "/", + "display": "standalone", + "background_color": "#282c34", + "theme_color": "#98c379", + "lang": "en-GB", + "description": "HullCSS is the computers science society at the University of Hull. We are a group of students who are passionate about technology and want to share our knowledge with others.", + "icons": [ + { + "src": "logo.svg", + "sizes": "any", + "type": "image/svg+xml", + "purpose": "any" + }, + { + "src": "favicon.svg", + "sizes": "any", + "type": "image/svg+xml", + "purpose": "any maskable" + }, + { + "src": "favicon.ico", + "sizes": "32x32 128x128 180x180 192x192 256x256", + "type": "image/x-icon", + "purpose": "any maskable" + } + ] +} \ No newline at end of file diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c8916a9 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://hullcss.org/sitemap-index.xml \ No newline at end of file diff --git a/public/sw.js b/public/sw.js new file mode 100644 index 0000000..fb5273b --- /dev/null +++ b/public/sw.js @@ -0,0 +1,8 @@ +importScripts('https://storage.googleapis.com/workbox-cdn/releases/6.5.4/workbox-sw.js'); + + +workbox.routing.registerRoute( + ({request}) => request.destination === 'image', + new workbox.strategies.CacheFirst() + +); \ No newline at end of file