diff --git a/.github/actions/production/action.yml b/.github/actions/production/action.yml index d30bc303..4a9552c3 100644 --- a/.github/actions/production/action.yml +++ b/.github/actions/production/action.yml @@ -38,4 +38,3 @@ runs: env: ${{ steps.deployment.outputs.env }} env_url: ${{ steps.deploy.outputs.preview-url }} deployment_id: ${{ steps.deployment.outputs.deployment_id }} - \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18398f88..6d4361ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,4 +21,3 @@ jobs: vercel: ${{ secrets.VERCEL_TOKEN }} org: ${{ secrets.ORG_ID }} project: ${{ secrets.PROJECT_ID }} - \ No newline at end of file diff --git a/next-seo.config.js b/next-seo.config.js index ab513a1a..7e976a37 100644 --- a/next-seo.config.js +++ b/next-seo.config.js @@ -1,21 +1,21 @@ /** @type {import('next-seo').DefaultSeoProps} */ const defaultSEOConfig = { - title: "ありばむ", - titleTemplate: "%s | ありばむ", - defaultTitle: "ありばむへようこそ", - description: "「ありばむ」で日頃の感謝をサプライズしよう", + title: "Alibum", + titleTemplate: "%s | Alibum", + defaultTitle: "Alibumへようこそ", + description: "日頃の感謝でサプライズをしよう", canonical: "https://alibum.re-taro.dev", openGraph: { url: "https://alibum.re-taro.dev", - title: "ありばむ", - description: "「ありばむ」で日頃の感謝をサプライズしよう", + title: "Alibum", + description: "日頃の感謝でサプライズをしよう", images: [ { - url: "https://alibum.re-taro.dev/api/ogp?title=ありばむ", - alt: "ありばむ", + url: "https://alibum.re-taro.dev/api/og?title=Alibum", + alt: "alibum", }, ], - site_name: "ありばむ", + site_name: "Alibum", }, twitter: { handle: "@10969_rintaro", diff --git a/next.config.js b/next.config.js index 89ffc18b..74ff4841 100644 --- a/next.config.js +++ b/next.config.js @@ -1,16 +1,22 @@ +const withBundleAnalyzer = require("@next/bundle-analyzer")({ + enabled: process.env.ANALYZE === "true", +}); + const withPWA = require("next-pwa")({ dest: "public", disable: process.env.NODE_ENV === "development", }); /** @type {import('next').NextConfig} */ -module.exports = withPWA({ - swcMinify: true, - reactStrictMode: true, - images: { - domains: ["firebasestorage.googleapis.com"], - }, - eslint: { - dirs: ["src"], - }, -}); +module.exports = withBundleAnalyzer( + withPWA({ + swcMinify: true, + reactStrictMode: true, + images: { + domains: ["firebasestorage.googleapis.com"], + }, + eslint: { + dirs: ["src"], + }, + }), +); diff --git a/package.json b/package.json index e5aab67e..a640528a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "alibum", "version": "1.0.0", - "description": "「ありばむ」で日頃の感謝をサプライズしよう", + "description": "日頃の感謝でサプライズをしよう", "repository": { "type": "git", "url": "https://github.com/re-taro/alibum.git" @@ -16,6 +16,7 @@ "dev": "next dev", "build": "next build", "postbuild": "next-sitemap --config next-sitemap.config.js", + "build:size": "cross-env ANALYZE=true yarn build", "start": "next start", "lint": "next lint", "lint:fix": "eslint src --fix && npm run fmt", @@ -44,10 +45,12 @@ "devDependencies": { "@chakra-ui/cli": "2.2.0", "@chakra-ui/system": "2.3.4", + "@next/bundle-analyzer": "13.0.6", "@next/env": "13.0.6", "@types/react": "18.0.26", "@typescript-eslint/eslint-plugin": "5.46.1", "@typescript-eslint/parser": "5.46.1", + "cross-env": "7.0.3", "eslint": "8.29.0", "eslint-config-airbnb": "19.0.4", "eslint-config-airbnb-typescript": "17.0.0", diff --git a/public/README.md b/public/README.md new file mode 100644 index 00000000..0fbef762 --- /dev/null +++ b/public/README.md @@ -0,0 +1,23 @@ +# Your Favicon Package + +This package was generated with [RealFaviconGenerator](https://realfavicongenerator.net/) [v0.16](https://realfavicongenerator.net/change_log#v0.16) + +## Install instructions + +To install this package: + +Extract this package in the root of your web site. If your site is http://www.example.com, you should be able to access a file named http://www.example.com/favicon.ico. + +Insert the following code in the `head` section of your pages: + + + + + + + + + + + +_Optional_ - Check your favicon with the [favicon checker](https://realfavicongenerator.net/favicon_checker) diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 00000000..0c93d1e2 Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-256x256.png b/public/android-chrome-256x256.png new file mode 100644 index 00000000..0d339b55 Binary files /dev/null and b/public/android-chrome-256x256.png differ diff --git a/public/apple-touch-icon-114x114.png b/public/apple-touch-icon-114x114.png new file mode 100644 index 00000000..96c28b02 Binary files /dev/null and b/public/apple-touch-icon-114x114.png differ diff --git a/public/apple-touch-icon-120x120.png b/public/apple-touch-icon-120x120.png new file mode 100644 index 00000000..a6860f30 Binary files /dev/null and b/public/apple-touch-icon-120x120.png differ diff --git a/public/apple-touch-icon-144x144.png b/public/apple-touch-icon-144x144.png new file mode 100644 index 00000000..4839c339 Binary files /dev/null and b/public/apple-touch-icon-144x144.png differ diff --git a/public/apple-touch-icon-152x152.png b/public/apple-touch-icon-152x152.png new file mode 100644 index 00000000..fc50e4e0 Binary files /dev/null and b/public/apple-touch-icon-152x152.png differ diff --git a/public/apple-touch-icon-180x180.png b/public/apple-touch-icon-180x180.png new file mode 100644 index 00000000..7f12cb46 Binary files /dev/null and b/public/apple-touch-icon-180x180.png differ diff --git a/public/apple-touch-icon-57x57.png b/public/apple-touch-icon-57x57.png new file mode 100644 index 00000000..d84d6e78 Binary files /dev/null and b/public/apple-touch-icon-57x57.png differ diff --git a/public/apple-touch-icon-60x60.png b/public/apple-touch-icon-60x60.png new file mode 100644 index 00000000..40d4a920 Binary files /dev/null and b/public/apple-touch-icon-60x60.png differ diff --git a/public/apple-touch-icon-72x72.png b/public/apple-touch-icon-72x72.png new file mode 100644 index 00000000..58a5ef04 Binary files /dev/null and b/public/apple-touch-icon-72x72.png differ diff --git a/public/apple-touch-icon-76x76.png b/public/apple-touch-icon-76x76.png new file mode 100644 index 00000000..3f87fda1 Binary files /dev/null and b/public/apple-touch-icon-76x76.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 00000000..7f12cb46 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/browserconfig.xml b/public/browserconfig.xml new file mode 100644 index 00000000..d416bc53 --- /dev/null +++ b/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #ffffff + + + diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 00000000..0fc6beef Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 00000000..41e8374f Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 00000000..cc3c80a0 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/manifest.json b/public/manifest.json index 02f8f585..08f96cc9 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,12 +1,24 @@ { - "short_name": "ありばむ", - "name": "ありばむ", + "name": "Alibum", + "short_name": "Alibum", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "start_url": "https://alibum.re-taro.dev/", + "display": "standalone", "lang": "ja", - "start_url": "/", - "background_color": "#FFFFFF", - "theme_color": "#FFFFFF", "dir": "ltr", - "display": "standalone", "orientation": "portrait", "prefer_related_applications": false } diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png new file mode 100644 index 00000000..003a2036 Binary files /dev/null and b/public/mstile-150x150.png differ diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg new file mode 100644 index 00000000..c41be273 --- /dev/null +++ b/public/safari-pinned-tab.svg @@ -0,0 +1,32 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + diff --git a/src/components/meta.tsx b/src/components/meta.tsx index b362d36f..e5a645a0 100644 --- a/src/components/meta.tsx +++ b/src/components/meta.tsx @@ -8,7 +8,12 @@ export const Meta = (): JSX.Element => ( - + + + + + + diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 5221eae3..c65f6284 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -34,7 +34,7 @@ const Login: NextPage = () => { fontSize={{ base: "xs", md: "xl" }} pb={{ base: "28", md: "64" }} > - 毎日の感謝をサプライズしよう + 日頃の感謝でサプライズをしよう