Skip to content

Commit

Permalink
Merge pull request #223 from h8570rg/develop
Browse files Browse the repository at this point in the history
Prd
  • Loading branch information
h8570rg authored Dec 23, 2024
2 parents e18e4a5 + c886d22 commit 41fccf8
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 9 deletions.
13 changes: 13 additions & 0 deletions public/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## manifest作成手順

https://web.dev/learn/pwa/web-app-manifest?hl=ja に従ってmanifest.jsonを作成してください。

next-pwaを使っているので、Next.jsのmanifest.tsで設定せず、publicディレクトリにmanifest.jsonを配置してください。

## アイコン生成手順

https://maskable.app/ でプレビューを確認してから、以下の手順でアイコンを生成してください。

1. [Figma](https://www.figma.com/design/UCGzyKbyKlVmgoAqUcFjKH/%E9%9B%80%E9%AC%BC%E9%8C%B2?node-id=32-178&t=ov1wYg4v7PxchOs7-11)を開きます。
2. [PWA Icon App Exportsプラグイン](https://www.figma.com/community/plugin/771341909571444129)を実行します。
3. publicディレクトリにアイコンを保存します。
Binary file added public/icon-120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icon-192x192.png
Binary file not shown.
Binary file removed public/icon-256x256.png
Binary file not shown.
Binary file added public/icon-384.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icon-384x384.png
Binary file not shown.
Binary file added public/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icon-512x512.png
Binary file not shown.
Binary file added public/icon-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 46 additions & 9 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,74 @@
{
"theme_color": "#7C3BED",
"background_color": "#414141",
"theme_color": "#2B2A2A",
"background_color": "#2B2A2A",
"display": "standalone",
"scope": "/",
"start_url": "/matches",
"name": "雀鬼録",
"short_name": "雀鬼録",
"description": "麻雀成績管理アプリ",
"icons": [
{
"src": "/icon-192x192.png",
"sizes": "192x192",
"src": "/icon-72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-96.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-120.png",
"sizes": "120x120",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-128.png",
"sizes": "128x128",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-256x256.png",
"sizes": "256x256",
"src": "/icon-144.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-152.png",
"sizes": "152x152",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-180.png",
"sizes": "180x180",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-384x384.png",
"src": "/icon-384.png",
"sizes": "384x384",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-512x512.png",
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "/icon-512x512.png",
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
Expand Down

0 comments on commit 41fccf8

Please sign in to comment.