diff --git a/components/Footer.jsx b/components/Footer.jsx
index dcb5210..4a08441 100644
--- a/components/Footer.jsx
+++ b/components/Footer.jsx
@@ -23,7 +23,7 @@ export function Footer() {
-
+
diff --git a/next.config.mjs b/next.config.mjs
index 41a2527..aedb702 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -2,8 +2,7 @@
const nextConfig = {
i18n: {
locales: ['en', 'fa'],
- defaultLocale: 'fa',
- localeDetection: false
+ defaultLocale: 'fa'
},
reactStrictMode: true,
};
diff --git a/pages/_app.jsx b/pages/_app.jsx
index 0b22d14..e5f966f 100644
--- a/pages/_app.jsx
+++ b/pages/_app.jsx
@@ -1,11 +1,18 @@
import BaseLayout from "@/components/Base";
import "@/styles/globals.css";
+import { useTranslation } from "@/utils/translation";
import { ThemeProvider } from "next-themes";
+import Head from "next/head";
export default function App({ Component, pageProps }) {
+ const { t } = useTranslation()
+
return
+
+ {t('home.title')}
+
;
}
diff --git a/pages/_document.jsx b/pages/_document.jsx
index 8c38400..bc1a485 100644
--- a/pages/_document.jsx
+++ b/pages/_document.jsx
@@ -8,6 +8,7 @@ export default function Document() {
href="https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap"
rel="stylesheet"
/>
+