-
-
-
-
-
-
-
+const Footer = () => {
+ const { currLang } = useLang();
+ return (
+
-
-);
+
+ );
+};
export default Footer;
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 2cf8ee7..4f325f4 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,5 +1,5 @@
import { Link } from "react-router";
-import LangToggle from "./LangToggle";
+import LangToggle from "@/components/LangToggle";
const Header = () => (
diff --git a/src/lib/stores/langStore.ts b/src/lib/stores/langStore.ts
index 4434951..f6babc7 100644
--- a/src/lib/stores/langStore.ts
+++ b/src/lib/stores/langStore.ts
@@ -1,6 +1,6 @@
import { atomWithStorage } from "jotai/utils";
-const SupportedLangs = ["sys", "en", "ru"] as const;
+const SupportedLangs = ["sys", "en"] as const;
type LangWithSys = (typeof SupportedLangs)[number];
type Lang = Exclude;
diff --git a/src/locale.ts b/src/locale.ts
new file mode 100644
index 0000000..41a58f1
--- /dev/null
+++ b/src/locale.ts
@@ -0,0 +1,13 @@
+import type { Lang } from "@/lib/stores/langStore";
+
+type TranslationKey = "developedBy" | "title";
+
+const translations: Record> = {
+ en: {
+ developedBy: "Developed with ❤️ by",
+ title: "Fallout 2 Community Edition",
+ },
+};
+
+export default translations;
+export type { TranslationKey };