diff --git a/public/404.png b/public/404.png index a2c6c77..758ad8f 100644 Binary files a/public/404.png and b/public/404.png differ diff --git a/public/comingsoonsnake.png b/public/comingsoonsnake.png new file mode 100644 index 0000000..a5b5339 Binary files /dev/null and b/public/comingsoonsnake.png differ diff --git a/src/locales/en.json b/src/locales/en.json index 0e6c2f9..eec104c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -36,10 +36,7 @@ "subtitle": "Choose your preferred language", "japanese": "Japanese", "english": "English", - "spanish": "Spanish", - "german": "German", - "greek": "Greek", - "dutch": "Dutch" + "spanish": "Spanish" }, "proxymodes": { "title": "Open in", @@ -48,5 +45,11 @@ "direct": "Direct", "aboutblank": "About:Blank" } + }, + "titles": { + "home": "Nebula", + "settings": "Nebula - Settings", + "discord": "Nebula - Discord", + "404": "Nebula - 404" } } diff --git a/src/locales/es.json b/src/locales/es.json index b696408..dc12d2f 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -36,10 +36,7 @@ "subtitle": "Elige tu idioma preferido", "japanese": "Japonés", "english": "Inglés", - "spanish": "Español", - "german": "", - "greek": "", - "dutch": "" + "spanish": "Español" }, "proxymodes": { "title": "Abrir en", @@ -48,5 +45,11 @@ "direct": "Directo", "aboutblank": "About:Blank" } + }, + "titles": { + "home": "Nebula", + "settings": "Nebula - Ajustes", + "discord": "Nebula - Discord", + "404": "Nebula - 404" } } diff --git a/src/locales/ja.json b/src/locales/ja.json index 992d5f8..4b59cf5 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -36,10 +36,7 @@ "subtitle": "好きな言語を選んでください", "japanese": "日本語", "english": "英語", - "spanish": "スペイン語", - "german": "", - "greek": "", - "dutch": "" + "spanish": "スペイン語" }, "proxymodes": { "title": "開く", @@ -48,5 +45,11 @@ "direct": "直接", "aboutblank": "About:Blank" } + }, + "titles": { + "home": "ネブラ", + "settings": "ネブラ - セッティング", + "discord": "ネブラ - Discord", + "404": "ネブラ - 404" } } diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index d4f2259..076c932 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -16,7 +16,7 @@ export function Home() { return ( - Nebula + {t("titles.home")}
diff --git a/src/pages/Settings/Customization.tsx b/src/pages/Settings/Customization.tsx index 843f101..5616e22 100644 --- a/src/pages/Settings/Customization.tsx +++ b/src/pages/Settings/Customization.tsx @@ -11,7 +11,8 @@ const Customization = ({ id, active }) => ( initial="inactive" > -

Customization

+ +

Coming soon!

); diff --git a/src/pages/Settings/TabSettings.tsx b/src/pages/Settings/TabSettings.tsx index a7ae9a3..9d1bddb 100644 --- a/src/pages/Settings/TabSettings.tsx +++ b/src/pages/Settings/TabSettings.tsx @@ -11,7 +11,8 @@ const TabSettings = ({ id, active }) => ( initial="inactive" > -

Tab settings

+ +

Coming soon!

); diff --git a/src/pages/Settings/index.tsx b/src/pages/Settings/index.tsx index 1befedc..3551260 100644 --- a/src/pages/Settings/index.tsx +++ b/src/pages/Settings/index.tsx @@ -2,12 +2,15 @@ import TabComponent from "./TabComponent"; import { HeaderRoute } from "../../components/HeaderRoute"; import tabs from "./tabs"; import { Helmet } from "react-helmet"; +import { useTranslation } from "react-i18next"; export function Settings() { + const { t } = useTranslation(); + return ( - Settings + {t("titles.settings")} diff --git a/src/pages/_404.tsx b/src/pages/_404.tsx index 2db4d9f..dc2bf39 100644 --- a/src/pages/_404.tsx +++ b/src/pages/_404.tsx @@ -1,12 +1,16 @@ import { useTranslation } from "react-i18next"; import { Link } from "preact-router"; import { HeaderRoute } from "../components/HeaderRoute"; +import { Helmet } from "react-helmet"; export function NotFound() { const { t } = useTranslation(); return ( + + {t("titles.404")} +
diff --git a/src/pages/discord.tsx b/src/pages/discord.tsx index 0fceeeb..d51148d 100644 --- a/src/pages/discord.tsx +++ b/src/pages/discord.tsx @@ -1,11 +1,15 @@ import { useTranslation } from "react-i18next"; import { HeaderRoute } from "../components/HeaderRoute"; +import { Helmet } from "react-helmet"; export function DiscordPage() { const { t } = useTranslation(); return ( + + {t("titles.discord")} +