Skip to content

Commit

Permalink
feat: 🎸 manifest.json を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
sweshelo committed Feb 14, 2025
1 parent 127c75c commit e857680
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
Binary file added public/image/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/image/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 added public/image/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.
20 changes: 20 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"short_name": "閻魔帳",
"name": "閻魔帳 - 放課後天地創造クラブ",
"icons": [
{
"src": "/image/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/image/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/",
"display": "standalone",
"background_color": "#7f1d1d",
"theme_color": "#7f1d1d"
}
8 changes: 7 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ export default async function RootLayout({
children: React.ReactNode
}>) {
return (
<html lang="en">
<html lang="ja">
<head>
<link
href="https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap"
rel="stylesheet"
/>
{/* Manifestの設定 */}
<link rel="manifest" href="/manifest.json" />
{/* iOS用のapple-touch-icon */}
<link rel="apple-touch-icon" sizes="180x180" href="/image/icon-180.png" />
{/* ブラウザのテーマカラー */}
<meta name="theme-color" content="#7f1d1d" />
</head>
<body className={`antialiased font-mplus`}>
<Header />
Expand Down

0 comments on commit e857680

Please sign in to comment.