Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 🎸 manifest.json を追加 #11

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medusa",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand Down
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
Loading