From 5fcbecf40aa321cef09f41f44f6e9f1e1745c68f Mon Sep 17 00:00:00 2001 From: Rion Date: Fri, 12 Jun 2026 02:02:24 +0900 Subject: [PATCH 1/2] feat: use BASE_PATH for logo image source in Header component --- components/site-header.tsx | 7 +++++-- next.config.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/site-header.tsx b/components/site-header.tsx index 08a7f09..dd70972 100644 --- a/components/site-header.tsx +++ b/components/site-header.tsx @@ -4,6 +4,9 @@ import { useState } from "react" import Image from "next/image" import Link from "next/link" +import { urlPrefix } from "../next.config" +const BASE_PATH = urlPrefix + const navLinks = [ { label: "About", href: "/#about" }, { label: "Activity", href: "/#activity" }, @@ -23,9 +26,9 @@ export function Header() { return (
- + Rust Developers JP Logo Date: Sat, 13 Jun 2026 19:28:13 +0900 Subject: [PATCH 2/2] fix: resolve redirect issue --- app/join/page.tsx | 5 +++++ next.config.ts | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) create mode 100644 app/join/page.tsx diff --git a/app/join/page.tsx b/app/join/page.tsx new file mode 100644 index 0000000..4756061 --- /dev/null +++ b/app/join/page.tsx @@ -0,0 +1,5 @@ +import { redirect } from "next/navigation"; + +export default function JoinPage() { + redirect("https://discord.gg/yrezWw4r9r"); +} diff --git a/next.config.ts b/next.config.ts index c7df92e..9aceb3d 100644 --- a/next.config.ts +++ b/next.config.ts @@ -10,15 +10,6 @@ const nextConfig: NextConfig = { images: { unoptimized: true, }, - async redirects() { - return [ - { - source: "/join", - destination: "https://discord.gg/yrezWw4r9r", - permanent: false, - }, - ]; - }, }; export default nextConfig;