Skip to content

Commit

Permalink
プライバシーポリシーページを追加し、ルーティングを修正しました。また、フッターコンポーネントでのリンクインポートを更新しました。 (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze authored Feb 28, 2025
2 parents 04b8bdb + b1bbe44 commit 292ec74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion next/src/app/[locale]/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link } from "@/i18n/routing";
import Link from "next/link";
import { FaDiscord, FaGithub } from "react-icons/fa";

export function Footer() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link } from "@/i18n/routing";
import Link from "next/link";

export default function PrivacyPolicyPage() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link } from "@/i18n/routing";
import Link from "next/link";

export default function TermsPage() {
return (
Expand Down
2 changes: 1 addition & 1 deletion next/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ const handleI18nRouting = createMiddleware(routing);
export default auth(handleI18nRouting);

export const config = {
matcher: ["/((?!api|_next|_vercel|monitoring|.*\\..*).*)"],
matcher: ["/((?!api|_next|_vercel|privacy|terms|monitoring|.*\\..*).*)"],
};

0 comments on commit 292ec74

Please sign in to comment.