diff --git a/api/webPush/index.js b/api/webPush/index.js
index 11d92fe6..601ecad9 100644
--- a/api/webPush/index.js
+++ b/api/webPush/index.js
@@ -15,7 +15,7 @@ const createPayload = (notification) => {
title,
options: {
timestamp: Date.now(),
- icon: '/android-chrome-96x96.png',
+ icon: '/icons/icon_x96.png',
...options
}
})
diff --git a/pages/_document.js b/pages/_document.js
index ae5b9199..6739ad26 100644
--- a/pages/_document.js
+++ b/pages/_document.js
@@ -6,7 +6,6 @@ class MyDocument extends Document {
return (
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png
deleted file mode 100644
index 57e1ad1b..00000000
Binary files a/public/android-chrome-192x192.png and /dev/null differ
diff --git a/public/android-chrome-24x24.png b/public/android-chrome-24x24.png
deleted file mode 100644
index 6c8cd6c7..00000000
Binary files a/public/android-chrome-24x24.png and /dev/null differ
diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png
deleted file mode 100644
index 7cc21228..00000000
Binary files a/public/android-chrome-512x512.png and /dev/null differ
diff --git a/public/android-chrome-96x96.png b/public/android-chrome-96x96.png
deleted file mode 100644
index e3b19c3f..00000000
Binary files a/public/android-chrome-96x96.png and /dev/null differ
diff --git a/public/icons/icon_x128.png b/public/icons/icon_x128.png
new file mode 100644
index 00000000..11ae144f
Binary files /dev/null and b/public/icons/icon_x128.png differ
diff --git a/public/icons/icon_x192.png b/public/icons/icon_x192.png
new file mode 100644
index 00000000..5846092e
Binary files /dev/null and b/public/icons/icon_x192.png differ
diff --git a/public/icons/icon_x384.png b/public/icons/icon_x384.png
new file mode 100644
index 00000000..5493116a
Binary files /dev/null and b/public/icons/icon_x384.png differ
diff --git a/public/icons/icon_x48.png b/public/icons/icon_x48.png
new file mode 100644
index 00000000..3443db91
Binary files /dev/null and b/public/icons/icon_x48.png differ
diff --git a/public/icons/icon_x512.png b/public/icons/icon_x512.png
new file mode 100644
index 00000000..28f16861
Binary files /dev/null and b/public/icons/icon_x512.png differ
diff --git a/public/icons/icon_x72.png b/public/icons/icon_x72.png
new file mode 100644
index 00000000..c61a3308
Binary files /dev/null and b/public/icons/icon_x72.png differ
diff --git a/public/icons/icon_x96.png b/public/icons/icon_x96.png
new file mode 100644
index 00000000..be1c1090
Binary files /dev/null and b/public/icons/icon_x96.png differ
diff --git a/public/maskable/icon_x128.png b/public/maskable/icon_x128.png
new file mode 100644
index 00000000..3fdbe8dd
Binary files /dev/null and b/public/maskable/icon_x128.png differ
diff --git a/public/maskable/icon_x192.png b/public/maskable/icon_x192.png
new file mode 100644
index 00000000..bf6829ff
Binary files /dev/null and b/public/maskable/icon_x192.png differ
diff --git a/public/maskable/icon_x384.png b/public/maskable/icon_x384.png
new file mode 100644
index 00000000..a7fc4c1b
Binary files /dev/null and b/public/maskable/icon_x384.png differ
diff --git a/public/maskable/icon_x48.png b/public/maskable/icon_x48.png
new file mode 100644
index 00000000..f5ff870f
Binary files /dev/null and b/public/maskable/icon_x48.png differ
diff --git a/public/maskable/icon_x512.png b/public/maskable/icon_x512.png
new file mode 100644
index 00000000..488c4418
Binary files /dev/null and b/public/maskable/icon_x512.png differ
diff --git a/public/maskable/icon_x72.png b/public/maskable/icon_x72.png
new file mode 100644
index 00000000..89b0bb82
Binary files /dev/null and b/public/maskable/icon_x72.png differ
diff --git a/public/maskable/icon_x96.png b/public/maskable/icon_x96.png
new file mode 100644
index 00000000..cb37ab87
Binary files /dev/null and b/public/maskable/icon_x96.png differ
diff --git a/public/shot/narrow.png b/public/shot/narrow.png
new file mode 100644
index 00000000..9e1cf865
Binary files /dev/null and b/public/shot/narrow.png differ
diff --git a/public/shot/wide.png b/public/shot/wide.png
new file mode 100644
index 00000000..3f09781c
Binary files /dev/null and b/public/shot/wide.png differ
diff --git a/public/site.webmanifest b/public/site.webmanifest
index 2f080514..876ba604 100644
--- a/public/site.webmanifest
+++ b/public/site.webmanifest
@@ -1,31 +1,96 @@
{
- "name": "stacker news",
+ "name": "Stacker News",
"short_name": "SN",
"icons": [
{
- "src": "/android-chrome-192x192.png",
+ "src": "/icons/icon_x48.png",
+ "type": "image/png",
+ "sizes": "48x48",
+ "purpose": "any"
+ },
+ {
+ "src": "/icons/icon_x72.png",
+ "type": "image/png",
+ "sizes": "72x72",
+ "purpose": "any"
+ },
+ {
+ "src": "/icons/icon_x96.png",
+ "type": "image/png",
+ "sizes": "96x96",
+ "purpose": "any"
+ },
+ {
+ "src": "/icons/icon_x128.png",
+ "type": "image/png",
+ "sizes": "128x128",
+ "purpose": "any"
+ },
+ {
+ "src": "/icons/icon_x192.png",
+ "type": "image/png",
"sizes": "192x192",
- "type": "image/png"
+ "purpose": "any"
},
{
- "src": "/android-chrome-512x512.png",
+ "src": "/icons/icon_x384.png",
"type": "image/png",
- "sizes": "512x512"
+ "sizes": "384x384",
+ "purpose": "any"
},
{
- "src": "/android-chrome-96x96.png",
+ "src": "/icons/icon_x512.png",
"type": "image/png",
- "sizes": "96x96"
+ "sizes": "512x512",
+ "purpose": "any"
},
{
- "src": "/android-chrome-24x24.png",
+ "src": "/maskable/icon_x48.png",
"type": "image/png",
- "sizes": "24x24"
+ "sizes": "48x48",
+ "purpose": "maskable"
+ },
+ {
+ "src": "/maskable/icon_x72.png",
+ "type": "image/png",
+ "sizes": "72x72",
+ "purpose": "maskable"
+ },
+ {
+ "src": "/maskable/icon_x96.png",
+ "type": "image/png",
+ "sizes": "96x96",
+ "purpose": "maskable"
+ },
+ {
+ "src": "/maskable/icon_x128.png",
+ "type": "image/png",
+ "sizes": "128x128",
+ "purpose": "maskable"
+ },
+ {
+ "src": "/maskable/icon_x192.png",
+ "type": "image/png",
+ "sizes": "192x192",
+ "purpose": "maskable"
+ },
+ {
+ "src": "/maskable/icon_x384.png",
+ "type": "image/png",
+ "sizes": "384x384",
+ "purpose": "maskable"
+ },
+ {
+ "src": "/maskable/icon_x512.png",
+ "type": "image/png",
+ "sizes": "512x512",
+ "purpose": "maskable"
}
],
"display": "standalone",
+ "orientation": "any",
"theme_color": "#000000",
- "background_color": "#000000",
+ "background_color": "#FADA5E",
"id": "/",
"start_url": "/",
"url_handlers": [
@@ -42,5 +107,21 @@
"text": "text",
"url": "url"
}
- }
+ },
+ "description": "Stacker News is like Hacker News but it pays you Bitcoin",
+ "categories": ["news", "bitcoin", "lightning", "zaps", "community"],
+ "screenshots": [
+ {
+ "src": "/shot/narrow.png",
+ "type": "image/jpeg",
+ "sizes": "1080x1440",
+ "form_factor": "narrow"
+ },
+ {
+ "src": "/shot/wide.png",
+ "type": "image/jpeg",
+ "sizes": "2048x1186",
+ "form_factor": "wide"
+ }
+ ]
}
\ No newline at end of file
diff --git a/public/splash/10.2__iPad_landscape.png b/public/splash/10.2__iPad_landscape.png
new file mode 100644
index 00000000..ff910c43
Binary files /dev/null and b/public/splash/10.2__iPad_landscape.png differ
diff --git a/public/splash/10.2__iPad_portrait.png b/public/splash/10.2__iPad_portrait.png
new file mode 100644
index 00000000..38ca5e66
Binary files /dev/null and b/public/splash/10.2__iPad_portrait.png differ
diff --git a/public/splash/10.5__iPad_Air_landscape.png b/public/splash/10.5__iPad_Air_landscape.png
new file mode 100644
index 00000000..adf97afc
Binary files /dev/null and b/public/splash/10.5__iPad_Air_landscape.png differ
diff --git a/public/splash/10.5__iPad_Air_portrait.png b/public/splash/10.5__iPad_Air_portrait.png
new file mode 100644
index 00000000..d07c4016
Binary files /dev/null and b/public/splash/10.5__iPad_Air_portrait.png differ
diff --git a/public/splash/10.9__iPad_Air_landscape.png b/public/splash/10.9__iPad_Air_landscape.png
new file mode 100644
index 00000000..41045855
Binary files /dev/null and b/public/splash/10.9__iPad_Air_landscape.png differ
diff --git a/public/splash/10.9__iPad_Air_portrait.png b/public/splash/10.9__iPad_Air_portrait.png
new file mode 100644
index 00000000..185b93c9
Binary files /dev/null and b/public/splash/10.9__iPad_Air_portrait.png differ
diff --git a/public/splash/11__iPad_Pro__10.5__iPad_Pro_landscape.png b/public/splash/11__iPad_Pro__10.5__iPad_Pro_landscape.png
new file mode 100644
index 00000000..ffeebc25
Binary files /dev/null and b/public/splash/11__iPad_Pro__10.5__iPad_Pro_landscape.png differ
diff --git a/public/splash/11__iPad_Pro__10.5__iPad_Pro_portrait.png b/public/splash/11__iPad_Pro__10.5__iPad_Pro_portrait.png
new file mode 100644
index 00000000..78535fb5
Binary files /dev/null and b/public/splash/11__iPad_Pro__10.5__iPad_Pro_portrait.png differ
diff --git a/public/splash/12.9__iPad_Pro_landscape.png b/public/splash/12.9__iPad_Pro_landscape.png
new file mode 100644
index 00000000..3e863f69
Binary files /dev/null and b/public/splash/12.9__iPad_Pro_landscape.png differ
diff --git a/public/splash/12.9__iPad_Pro_portrait.png b/public/splash/12.9__iPad_Pro_portrait.png
new file mode 100644
index 00000000..e7b998d2
Binary files /dev/null and b/public/splash/12.9__iPad_Pro_portrait.png differ
diff --git a/public/splash/4__iPhone_SE__iPod_touch_5th_generation_and_later_landscape.png b/public/splash/4__iPhone_SE__iPod_touch_5th_generation_and_later_landscape.png
new file mode 100644
index 00000000..df2ac39e
Binary files /dev/null and b/public/splash/4__iPhone_SE__iPod_touch_5th_generation_and_later_landscape.png differ
diff --git a/public/splash/4__iPhone_SE__iPod_touch_5th_generation_and_later_portrait.png b/public/splash/4__iPhone_SE__iPod_touch_5th_generation_and_later_portrait.png
new file mode 100644
index 00000000..d7055821
Binary files /dev/null and b/public/splash/4__iPhone_SE__iPod_touch_5th_generation_and_later_portrait.png differ
diff --git a/public/splash/8.3__iPad_Mini_landscape.png b/public/splash/8.3__iPad_Mini_landscape.png
new file mode 100644
index 00000000..6edda2f5
Binary files /dev/null and b/public/splash/8.3__iPad_Mini_landscape.png differ
diff --git a/public/splash/8.3__iPad_Mini_portrait.png b/public/splash/8.3__iPad_Mini_portrait.png
new file mode 100644
index 00000000..2148b260
Binary files /dev/null and b/public/splash/8.3__iPad_Mini_portrait.png differ
diff --git a/public/splash/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_landscape.png b/public/splash/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_landscape.png
new file mode 100644
index 00000000..ecb03743
Binary files /dev/null and b/public/splash/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_landscape.png differ
diff --git a/public/splash/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png b/public/splash/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png
new file mode 100644
index 00000000..0d0e5da5
Binary files /dev/null and b/public/splash/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png differ
diff --git a/public/splash/iPhone_11_Pro_Max__iPhone_XS_Max_landscape.png b/public/splash/iPhone_11_Pro_Max__iPhone_XS_Max_landscape.png
new file mode 100644
index 00000000..ca0065de
Binary files /dev/null and b/public/splash/iPhone_11_Pro_Max__iPhone_XS_Max_landscape.png differ
diff --git a/public/splash/iPhone_11_Pro_Max__iPhone_XS_Max_portrait.png b/public/splash/iPhone_11_Pro_Max__iPhone_XS_Max_portrait.png
new file mode 100644
index 00000000..1a3c7d38
Binary files /dev/null and b/public/splash/iPhone_11_Pro_Max__iPhone_XS_Max_portrait.png differ
diff --git a/public/splash/iPhone_11__iPhone_XR_landscape.png b/public/splash/iPhone_11__iPhone_XR_landscape.png
new file mode 100644
index 00000000..a5461c1f
Binary files /dev/null and b/public/splash/iPhone_11__iPhone_XR_landscape.png differ
diff --git a/public/splash/iPhone_11__iPhone_XR_portrait.png b/public/splash/iPhone_11__iPhone_XR_portrait.png
new file mode 100644
index 00000000..4a780ff7
Binary files /dev/null and b/public/splash/iPhone_11__iPhone_XR_portrait.png differ
diff --git a/public/splash/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_landscape.png b/public/splash/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_landscape.png
new file mode 100644
index 00000000..5676aecf
Binary files /dev/null and b/public/splash/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_landscape.png differ
diff --git a/public/splash/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_portrait.png b/public/splash/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_portrait.png
new file mode 100644
index 00000000..3107542d
Binary files /dev/null and b/public/splash/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_portrait.png differ
diff --git a/public/splash/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_landscape.png b/public/splash/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_landscape.png
new file mode 100644
index 00000000..0494f35d
Binary files /dev/null and b/public/splash/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_landscape.png differ
diff --git a/public/splash/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_portrait.png b/public/splash/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_portrait.png
new file mode 100644
index 00000000..6e74cbbf
Binary files /dev/null and b/public/splash/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_portrait.png differ
diff --git a/public/splash/iPhone_14_Pro_Max_landscape.png b/public/splash/iPhone_14_Pro_Max_landscape.png
new file mode 100644
index 00000000..a1ce8003
Binary files /dev/null and b/public/splash/iPhone_14_Pro_Max_landscape.png differ
diff --git a/public/splash/iPhone_14_Pro_Max_portrait.png b/public/splash/iPhone_14_Pro_Max_portrait.png
new file mode 100644
index 00000000..4ab8ccfe
Binary files /dev/null and b/public/splash/iPhone_14_Pro_Max_portrait.png differ
diff --git a/public/splash/iPhone_14_Pro_landscape.png b/public/splash/iPhone_14_Pro_landscape.png
new file mode 100644
index 00000000..932925cf
Binary files /dev/null and b/public/splash/iPhone_14_Pro_landscape.png differ
diff --git a/public/splash/iPhone_14_Pro_portrait.png b/public/splash/iPhone_14_Pro_portrait.png
new file mode 100644
index 00000000..550abb9b
Binary files /dev/null and b/public/splash/iPhone_14_Pro_portrait.png differ
diff --git a/public/splash/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_landscape.png b/public/splash/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_landscape.png
new file mode 100644
index 00000000..ac4a9cb7
Binary files /dev/null and b/public/splash/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_landscape.png differ
diff --git a/public/splash/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_portrait.png b/public/splash/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_portrait.png
new file mode 100644
index 00000000..9d142ca1
Binary files /dev/null and b/public/splash/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_portrait.png differ
diff --git a/public/splash/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_landscape.png b/public/splash/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_landscape.png
new file mode 100644
index 00000000..b7746837
Binary files /dev/null and b/public/splash/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_landscape.png differ
diff --git a/public/splash/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_portrait.png b/public/splash/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_portrait.png
new file mode 100644
index 00000000..817d0a41
Binary files /dev/null and b/public/splash/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_portrait.png differ
diff --git a/public/splash/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_landscape.png b/public/splash/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_landscape.png
new file mode 100644
index 00000000..45281c33
Binary files /dev/null and b/public/splash/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_landscape.png differ
diff --git a/public/splash/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_portrait.png b/public/splash/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_portrait.png
new file mode 100644
index 00000000..88fa445a
Binary files /dev/null and b/public/splash/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_portrait.png differ
diff --git a/styles/globals.scss b/styles/globals.scss
index 60dc3555..7da6da32 100644
--- a/styles/globals.scss
+++ b/styles/globals.scss
@@ -155,7 +155,7 @@ padding: 0 0.2rem;
background-color: var(--theme-clickToContextColor);
}
-body {
+html, body {
background: var(--theme-body);
color: var(--theme-color);
min-height: 100vh;