diff --git a/package.json b/package.json index 26a00b4..53a29dc 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "cp -r public/* dist && parcel src/index.html", - "build": "parcel build src/index.html" + "build": "cp -r public/* dist && parcel build src/index.html" }, "dependencies": { "class-variance-authority": "^0.7.1", diff --git a/src/app/apply/page.tsx b/src/app/apply/page.tsx index 94c011b..6b87130 100644 --- a/src/app/apply/page.tsx +++ b/src/app/apply/page.tsx @@ -310,7 +310,7 @@ export default function Apply() { diff --git a/src/app/careers/page.tsx b/src/app/careers/page.tsx index 3e8dcfe..6a74e69 100644 --- a/src/app/careers/page.tsx +++ b/src/app/careers/page.tsx @@ -52,7 +52,7 @@ export default function Careers() { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5b46341..b3dcda9 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,6 @@ "use client"; import "./globals.css"; -import "../i18n"; import TitleBar from "@/components/titlebar"; import Footer from "@/components/footer"; import InaccessabilityPopup from "@/components/inacessability/inaccessabilityPopup"; diff --git a/src/i18n.ts b/src/i18n.ts index 8d245a0..2178a72 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -4,8 +4,8 @@ import { initReactI18next } from "react-i18next"; i18n .use(initReactI18next) .init({ - fallbackLng: "en", - lng: "en", + fallbackLng: "emji", + lng: "emji", interpolation: { escapeValue: false, }, diff --git a/src/main.jsx b/src/main.jsx index 7f32077..398973f 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -6,7 +6,8 @@ import Home from "./app/page"; import Careers from "./app/careers/page"; import Apply from "./app/apply/page"; import Submitted from "./app/submitted/page"; - +import { I18nextProvider } from "react-i18next"; +import i18n from "./i18n"; function Router() { const [hash, setHash] = useState(window.location.hash); @@ -39,4 +40,4 @@ function Router() { ReactDOM.createRoot( document.getElementById("root") -).render(); \ No newline at end of file +).render(); \ No newline at end of file