diff --git a/.gitignore b/.gitignore index af13bf2..7c3dec4 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,5 @@ next-env.d.ts workbox-*.js sw.js + +.vercel diff --git a/next.config.js b/next.config.js index 9a29219..130c56d 100644 --- a/next.config.js +++ b/next.config.js @@ -9,4 +9,7 @@ module.exports = withPWA({ config.plugins.push(new WindiCSS()); return config; }, + pwa: { + dest: 'public', + } }); diff --git a/package.json b/package.json index 45762c5..be2d741 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@mantine/next": "^5.0.3", "framer-motion": "^7.0.0", "next": "latest", - "next-pwa": "^5.5.5", + "next-pwa": "5.5.4", "react": "18.1.0", "react-dom": "18.1.0", "use-sound": "^4.0.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d13fb5d..c01f70e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ specifiers: eslint-config-prettier: ^8.5.0 framer-motion: ^7.0.0 next: latest - next-pwa: ^5.5.5 + next-pwa: 5.5.4 postcss: ^8.4.14 prettier: ^2.7.1 react: 18.1.0 @@ -32,7 +32,7 @@ dependencies: '@mantine/next': 5.0.3_aw5etqyqeg72n336fp4iawiv6e framer-motion: 7.0.0_ef5jwxihqo6n7gxfmzogljlgcm next: 12.2.4_oilcy444popke7cin4orzlm63e - next-pwa: 5.5.5_nuwb3lpqi7ag646uncz35yq74i + next-pwa: 5.5.4_nuwb3lpqi7ag646uncz35yq74i react: 18.1.0 react-dom: 18.1.0_react@18.1.0 use-sound: 4.0.1_react@18.1.0 @@ -3986,8 +3986,8 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: false - /next-pwa/5.5.5_nuwb3lpqi7ag646uncz35yq74i: - resolution: {integrity: sha512-EdheDzxr3V7piAeW2qAeH0uJW5iouSt7s/Fzz6xuvkmRPgbyqQeRY/3ZOWbhfgbPBuzGjdbBWzVurWJPH8bY5w==} + /next-pwa/5.5.4_nuwb3lpqi7ag646uncz35yq74i: + resolution: {integrity: sha512-EgB2MQWGR8oZDzY6US+/D0LOCUhPZYCgeqRVBYDxQWNi0N6XfQOoZPw2COIrg/eMt/rB0M+/mquhAQACs5v4Ag==} peerDependencies: next: '>=9.0.0' dependencies: diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 4965832..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/icons/android-hdpi.png b/public/icons/android-hdpi.png new file mode 100644 index 0000000..fad653d Binary files /dev/null and b/public/icons/android-hdpi.png differ diff --git a/public/icons/android-ldpi.png b/public/icons/android-ldpi.png new file mode 100644 index 0000000..71308a6 Binary files /dev/null and b/public/icons/android-ldpi.png differ diff --git a/public/icons/android-mdpi.png b/public/icons/android-mdpi.png new file mode 100644 index 0000000..31b456b Binary files /dev/null and b/public/icons/android-mdpi.png differ diff --git a/public/icons/android-xhdpi.png b/public/icons/android-xhdpi.png new file mode 100644 index 0000000..677a9d3 Binary files /dev/null and b/public/icons/android-xhdpi.png differ diff --git a/public/icons/android-xxhdpi.png b/public/icons/android-xxhdpi.png new file mode 100644 index 0000000..9646157 Binary files /dev/null and b/public/icons/android-xxhdpi.png differ diff --git a/public/icons/android-xxxhdpi.png b/public/icons/android-xxxhdpi.png new file mode 100644 index 0000000..43a558e Binary files /dev/null and b/public/icons/android-xxxhdpi.png differ diff --git a/public/icons/android.svg b/public/icons/android.svg new file mode 100644 index 0000000..f9f8961 --- /dev/null +++ b/public/icons/android.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/icons/favicon.ico b/public/icons/favicon.ico new file mode 100644 index 0000000..cf1c2a8 Binary files /dev/null and b/public/icons/favicon.ico differ diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..d3425eb --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,42 @@ +{ + "name": "Hello.Kei", + "short_name": "Hello.Kei", + "icons": [ + { + "src": "/icons/android-ldpi.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "/icons/android-mdpi.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any maskable" + }, + { + "src": "/icons/android-hdpi.png", + "sizes": "288x288", + "type": "image/png" + }, + { + "src": "/icons/android-xhdpi.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "/icons/android-xxhdpi.png", + "sizes": "576x576", + "type": "image/png" + }, + { + "src": "/icons/android-xxxhdpi.png", + "sizes": "768x768", + "type": "image/png" + } + ], + "theme_color": "#212529", + "background_color": "#212529", + "start_url": "/", + "display": "standalone", + "orientation": "portrait" +} diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index fbf0e25..0000000 --- a/public/vercel.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - \ No newline at end of file diff --git a/src/.next/cache/eslint/.cache_173ad4p b/src/.next/cache/eslint/.cache_173ad4p index 5269089..1919b53 100644 --- a/src/.next/cache/eslint/.cache_173ad4p +++ b/src/.next/cache/eslint/.cache_173ad4p @@ -1 +1 @@ -[{"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\api\\hello.ts":"1","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\index.tsx":"2","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_app.tsx":"3","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_document.tsx":"4","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\specials\\Heart.tsx":"5","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\index.ts":"6","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\SwitchTheme.tsx":"7","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\index.tsx":"8","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\SchemePicker.tsx":"9","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\Handler.tsx":"10","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\index.tsx":"11","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\Heart.tsx":"12","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\index.ts":"13","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\index.ts":"14","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\Render.tsx":"15"},{"size":320,"mtime":1659807312429,"results":"16","hashOfConfig":"17"},{"size":219,"mtime":1659906826809,"results":"18","hashOfConfig":"17"},{"size":1518,"mtime":1659837813806,"results":"19","hashOfConfig":"17"},{"size":416,"mtime":1659897402257,"results":"20","hashOfConfig":"17"},{"size":463,"mtime":1659903786242,"results":"21","hashOfConfig":"17"},{"size":69,"mtime":1659906479778,"results":"22","hashOfConfig":"17"},{"size":1177,"mtime":1659905940454,"results":"23","hashOfConfig":"17"},{"size":1441,"mtime":1659906962123,"results":"24","hashOfConfig":"17"},{"size":1191,"mtime":1659837684559,"results":"25","hashOfConfig":"17"},{"size":399,"mtime":1659906920925,"results":"26","hashOfConfig":"17"},{"size":1736,"mtime":1659906684515,"results":"27","hashOfConfig":"17"},{"size":463,"mtime":1659903786242,"results":"28","hashOfConfig":"17"},{"size":49,"mtime":1659906643973,"results":"29","hashOfConfig":"17"},{"size":52,"mtime":1659906716391,"results":"30","hashOfConfig":"17"},{"size":497,"mtime":1659905863505,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","suppressedMessages":"34","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ilxb9o",{"filePath":"35","messages":"36","suppressedMessages":"37","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","suppressedMessages":"40","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"41","messages":"42","suppressedMessages":"43","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"44","messages":"45","suppressedMessages":"46","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"47","messages":"48","suppressedMessages":"49","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"50","messages":"51","suppressedMessages":"52","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"53","messages":"54","suppressedMessages":"55","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","suppressedMessages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"65","messages":"66","suppressedMessages":"67","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","suppressedMessages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\api\\hello.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\index.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_app.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_document.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\specials\\Heart.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\index.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\SwitchTheme.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\index.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\SchemePicker.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\Handler.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\index.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\Heart.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\index.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\index.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\Render.tsx",[],[]] \ No newline at end of file +[{"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\api\\hello.ts":"1","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\index.tsx":"2","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_app.tsx":"3","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_document.tsx":"4","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\index.ts":"5","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\SwitchTheme.tsx":"6","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\index.tsx":"7","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\SchemePicker.tsx":"8","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\Handler.tsx":"9","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\index.tsx":"10","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\Heart.tsx":"11","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\index.ts":"12","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\index.ts":"13","C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\Render.tsx":"14"},{"size":320,"mtime":1659807312429,"results":"15","hashOfConfig":"16"},{"size":219,"mtime":1659961399895,"results":"17","hashOfConfig":"16"},{"size":1574,"mtime":1659963471468,"results":"18","hashOfConfig":"16"},{"size":1736,"mtime":1659967013309,"results":"19","hashOfConfig":"16"},{"size":69,"mtime":1659906479778,"results":"20","hashOfConfig":"16"},{"size":1169,"mtime":1659907072241,"results":"21","hashOfConfig":"16"},{"size":1441,"mtime":1659906962123,"results":"22","hashOfConfig":"16"},{"size":1191,"mtime":1659837684559,"results":"23","hashOfConfig":"16"},{"size":399,"mtime":1659906920925,"results":"24","hashOfConfig":"16"},{"size":1736,"mtime":1659906684515,"results":"25","hashOfConfig":"16"},{"size":463,"mtime":1659903786242,"results":"26","hashOfConfig":"16"},{"size":49,"mtime":1659906643973,"results":"27","hashOfConfig":"16"},{"size":52,"mtime":1659906716391,"results":"28","hashOfConfig":"16"},{"size":497,"mtime":1659905863505,"results":"29","hashOfConfig":"16"},{"filePath":"30","messages":"31","suppressedMessages":"32","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ilxb9o",{"filePath":"33","messages":"34","suppressedMessages":"35","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","suppressedMessages":"38","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"39","messages":"40","suppressedMessages":"41","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","suppressedMessages":"44","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"45","messages":"46","suppressedMessages":"47","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","suppressedMessages":"50","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","suppressedMessages":"53","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","suppressedMessages":"56","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","suppressedMessages":"59","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","suppressedMessages":"62","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","suppressedMessages":"65","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","suppressedMessages":"68","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","suppressedMessages":"71","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\api\\hello.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\index.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_app.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\pages\\_document.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\index.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\MantineUI\\SwitchTheme.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\index.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Menu\\SchemePicker.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\Handler.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Message\\index.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\Heart.tsx",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Specials\\index.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\index.ts",[],[],"C:\\Users\\Guz\\Documents\\GitHub\\Guz\\hello.kei\\src\\components\\Utilities\\Render.tsx",[],[]] \ No newline at end of file diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 27bc294..c967c42 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -36,7 +36,7 @@ export default function App(props: AppProps) { Page title diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 2a1e3e4..871430c 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -9,7 +9,46 @@ export default class _Document extends Document { render() { return ( - + + + + + + + + + + + + + + + + + + +