Align brand search SEO with Grace Salmoun

This commit is contained in:
2026-05-03 16:48:06 +03:00
parent bd1bb5c2a8
commit e6f1c6670b
15 changed files with 101 additions and 48 deletions
+5 -1
View File
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { notFound, permanentRedirect } from "next/navigation";
import { HomePage } from "@/components/home-page";
import { isLanguage, languages, type Language } from "@/data/portfolio";
import { getHomeMetadata } from "@/data/seo";
@@ -21,5 +21,9 @@ export default function LocalizedHomePage({ params }: { params: { lang: string }
notFound();
}
if (params.lang === "en") {
permanentRedirect("/");
}
return <HomePage language={params.lang as Language} />;
}
+5 -1
View File
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { notFound, permanentRedirect } from "next/navigation";
import { ResumePageContent } from "@/components/resume-page-content";
import { isLanguage, languages, type Language } from "@/data/portfolio";
import { getResumeMetadata } from "@/data/seo";
@@ -21,5 +21,9 @@ export default function LocalizedResumePage({ params }: { params: { lang: string
notFound();
}
if (params.lang === "en") {
permanentRedirect("/resume");
}
return <ResumePageContent language={params.lang as Language} />;
}