Align brand search SEO with Grace Salmoun
هذا الالتزام موجود في:
@@ -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} />;
|
||||
}
|
||||
|
||||
@@ -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} />;
|
||||
}
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم