Skip to content

SEO対策の実装#276

Closed
Copilot wants to merge 379 commits intomainfrom
copilot/fix-275
Closed

SEO対策の実装#276
Copilot wants to merge 379 commits intomainfrom
copilot/fix-275

Conversation

Copy link
Contributor

Copilot AI commented May 22, 2025

このPRでは、ウェブサイトのSEO対策を実装しました。以下の改善を行いました:

実装内容

  • サイト設定(frontend/config/site.ts)に適切な日本語の説明文を追加
  • メタデータ(frontend/app/layout.tsx)の強化:
    • OpenGraphとTwitterカードのメタデータを追加
    • キーワード、著者、パブリッシャー情報を追加
    • 正規URLとロボット指示を設定
  • HTML言語属性を「en」から「ja」に変更してサイトの日本語コンテンツに合わせる
  • 検索エンジンクローラー用のrobots.txtファイルを追加
  • サイトマップを自動生成するsitemap.tsファイルを作成
  • 組織情報のためのJSON-LD構造化データを追加
  • Next.js設定の更新:
    • 「X-Powered-By」ヘッダーを無効化
    • 画像ドメインを設定
  • フッターのリンクを修正し、NextUIドキュメントではなく自サイトを指すように変更

これらの変更により、コードベースへの最小限の修正でサイトのSEOが大幅に改善されます。

Fixes #275.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /usr/local/bin/node /home/REDACTED/work/www.prolab.club/www.prolab.club/frontend/node_modules/next/dist/compiled/jest-worker/processChild.js (dns block)
  • telemetry.nextjs.org
    • Triggering command: node /home/REDACTED/work/www.prolab.club/www.prolab.club/frontend/node_modules/.bin/next lint (dns block)
    • Triggering command: node /home/REDACTED/work/www.prolab.club/www.prolab.club/frontend/node_modules/.bin/next build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

dependabot bot and others added 30 commits March 3, 2024 19:16
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.17 to 10.4.18.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.17...10.4.18)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 14.1.0 to 14.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.1.1/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [next](https://github.com/vercel/next.js) from 14.1.0 to 14.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v14.1.0...v14.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.61 to 18.2.62.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@nextui-org/snippet](https://github.com/nextui-org/nextui/tree/HEAD/packages/components/snippet) from 2.0.30 to 2.0.31.
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/main/packages/components/snippet/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/snippet@2.0.31/packages/components/snippet)

---
updated-dependencies:
- dependency-name: "@nextui-org/snippet"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@cloudflare/next-on-pages](https://github.com/cloudflare/next-on-pages) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/cloudflare/next-on-pages/releases)
- [Commits](https://github.com/cloudflare/next-on-pages/compare/@cloudflare/next-on-pages@1.9.0...@cloudflare/next-on-pages@1.10.0)

---
updated-dependencies:
- dependency-name: "@cloudflare/next-on-pages"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@nextui-org/button](https://github.com/nextui-org/nextui/tree/HEAD/packages/components/button) from 2.0.26 to 2.0.27.
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/main/packages/components/button/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/button@2.0.27/packages/components/button)

---
updated-dependencies:
- dependency-name: "@nextui-org/button"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontend/nextui-org/button-2.0.27

Bump @nextui-org/button from 2.0.26 to 2.0.27 in /frontend
Bumps [@nextui-org/theme](https://github.com/nextui-org/nextui/tree/HEAD/packages/core/theme) from 2.1.17 to 2.1.18.
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/main/packages/core/theme/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/theme@2.1.18/packages/core/theme)

---
updated-dependencies:
- dependency-name: "@nextui-org/theme"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@nextui-org/react](https://github.com/nextui-org/nextui/tree/HEAD/packages/core/react) from 2.2.9 to 2.2.10.
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/main/packages/core/react/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/react@2.2.10/packages/core/react)

---
updated-dependencies:
- dependency-name: "@nextui-org/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontend/nextui-org/theme-2.1.18

Bump @nextui-org/theme from 2.1.17 to 2.1.18 in /frontend
…ontend/nextui-org/react-2.2.10

Bump @nextui-org/react from 2.2.9 to 2.2.10 in /frontend
Bumps [@nextui-org/input](https://github.com/nextui-org/nextui/tree/HEAD/packages/components/input) from 2.1.16 to 2.1.17.
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/main/packages/components/input/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/input@2.1.17/packages/components/input)

---
updated-dependencies:
- dependency-name: "@nextui-org/input"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontend/nextui-org/input-2.1.17

Bump @nextui-org/input from 2.1.16 to 2.1.17 in /frontend
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.62 to 18.2.63.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 14.1.1 to 14.1.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.1.2/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [next](https://github.com/vercel/next.js) from 14.1.1 to 14.1.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v14.1.1...v14.1.2)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontend/types/react-18.2.63

Bump @types/react from 18.2.62 to 18.2.63 in /frontend
…ontend/next-14.1.2

Bump next from 14.1.1 to 14.1.2 in /frontend
…ontend/eslint-config-next-14.1.2

Bump eslint-config-next from 14.1.1 to 14.1.2 in /frontend
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.19 to 18.2.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontend/types/react-dom-18.2.20

Bump @types/react-dom from 18.2.19 to 18.2.20 in /frontend
Bumps [vercel](https://github.com/vercel/vercel/tree/HEAD/packages/cli) from 33.5.3 to 33.5.4.
- [Release notes](https://github.com/vercel/vercel/releases)
- [Changelog](https://github.com/vercel/vercel/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/vercel/vercel/commits/vercel@33.5.4/packages/cli)

---
updated-dependencies:
- dependency-name: vercel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.63 to 18.2.64.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot bot and others added 17 commits March 21, 2025 08:01
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.4 to 3.1.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@3.0.4...3.1.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the pip group in /backend/src with 1 update: [jinja2](https://github.com/pallets/jinja).


Updates `jinja2` from 3.1.4 to 3.1.6
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.4...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
…c/pip-23b04c1fc7

Bump jinja2 from 3.1.4 to 3.1.6 in /backend/src in the pip group
…c/werkzeug-3.1.3

Bump werkzeug from 3.0.4 to 3.1.3 in /backend/src
…rontend/typescript-5.7.3

Bump typescript from 5.6.2 to 5.7.3 in /frontend
…rontend/nextui-org/code-2.2.4

Bump @nextui-org/code from 2.0.27 to 2.2.4 in /frontend
…rontend/npm_and_yarn-0189ad7b96

Bump cross-spawn from 7.0.3 to 7.0.6 in /frontend in the npm_and_yarn group
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [click](https://github.com/pallets/click) from 8.1.7 to 8.1.8.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](pallets/click@8.1.7...8.1.8)

---
updated-dependencies:
- dependency-name: click
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…/docker/build-push-action-6

Bump docker/build-push-action from 5 to 6
…c/click-8.1.8

Bump click from 8.1.7 to 8.1.8 in /backend/src
…g mode

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Potential fix for code scanning alert no. 3: Flask app is run in debug mode
Copilot AI and others added 2 commits May 22, 2025 23:12
Co-authored-by: symysak <103905928+symysak@users.noreply.github.com>
Co-authored-by: symysak <103905928+symysak@users.noreply.github.com>
Copilot AI changed the title [WIP] SEO対策をする SEO対策の実装 May 22, 2025
Copilot AI requested a review from symysak May 22, 2025 23:15
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented May 22, 2025

Deploying www-prolab-club with  Cloudflare Pages  Cloudflare Pages

Latest commit: a4097b0
Status: ✅  Deploy successful!
Preview URL: https://c545418b.www-prolab-club.pages.dev
Branch Preview URL: https://copilot-fix-275.www-prolab-club.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SEO対策をする

3 participants