Skip to content

Comments

docs: fix broken community banner#1366

Merged
nameless-mc merged 1 commit intomainfrom
fix/banner
Feb 25, 2026
Merged

docs: fix broken community banner#1366
nameless-mc merged 1 commit intomainfrom
fix/banner

Conversation

@tasshi-me
Copy link
Member

Why

What

How to test

Checklist

  • Read CONTRIBUTING.md
  • Updated documentation if it is required.
  • Added/updated tests if it is required. (or tested manually)
  • Passed pnpm lint and pnpm test on the root directory.

@tasshi-me tasshi-me marked this pull request as ready for review February 24, 2026 13:02
@tasshi-me tasshi-me requested a review from a team as a code owner February 24, 2026 13:02
@tasshi-me tasshi-me requested review from chihiro-adachi, Copilot and shabaraba and removed request for a team February 24, 2026 13:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Community docs page to use locally bundled forum/community banner images instead of hotlinking to external Discourse CDN URLs (to avoid broken banners and improve reliability).

Changes:

  • Replace external banner image URLs in website/docs/community/index.mdx with local static image references (light/dark variants).
  • Add new PNG banner assets under website/static/img/ for cybozu developer community and kintone developer forum (plus cybozu developer network variants).

Reviewed changes

Copilot reviewed 1 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/docs/community/index.mdx Switches ThemedImage sources from external URLs to locally bundled banner images.
website/static/img/kintone-developer-forum.png Adds light banner asset for kintone developer forum.
website/static/img/kintone-developer-forum-dark.png Adds dark banner asset for kintone developer forum.
website/static/img/cybozu-developer-community.png Adds light banner asset for cybozu developer community.
website/static/img/cybozu-developer-community-dark.png Adds dark banner asset for cybozu developer community.
website/static/img/cybozu-developer-network.png Adds cybozu developer network banner asset (currently not referenced).
website/static/img/cybozu-developer-network-dark.png Adds cybozu developer network dark banner asset (currently not referenced).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 28 to 41
@@ -36,8 +36,8 @@ import Link from "@docusaurus/Link";
<ThemedImage
alt="Banner of kintone developer forum"
sources={{
light: 'https://global.discourse-cdn.com/standard17/uploads/kintone/original/1X/22edf6309a55df93b0e1c1a0bc76e9a632aad507.png',
dark: 'https://global.discourse-cdn.com/standard17/uploads/kintone/original/1X/ea7860dd7df008122e858768c806501321c2ef8e.png',
light: require("@site/static/img/kintone-developer-forum.png").default,
dark: require("@site/static/img/kintone-developer-forum-dark.png").default,
}}
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In MDX, inlining require(...) inside the JSX makes the markup harder to scan and repeats the path lookups. Consider importing these images once at the top of the file (or defining constants) and referencing the variables in sources.

Copilot uses AI. Check for mistakes.
@nameless-mc nameless-mc merged commit 6fe5570 into main Feb 25, 2026
46 checks passed
@nameless-mc nameless-mc deleted the fix/banner branch February 25, 2026 04:58
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.

2 participants