From 7795421ad18dfaadf2665e334ae2376f7583e304 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Sun, 3 Mar 2024 15:28:56 -0500 Subject: [PATCH] Finish maintence page and analytics --- src/assets/locales/en.json | 2 +- src/setup/App.tsx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index f27ad01c..8e710f4e 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -183,7 +183,7 @@ }, "downtimeNotice": { "goHome": "Go home!", - "message": "sudo-flix.lol is dedicated to providing its users with the most up-to-date and stable experience in order to do this we must switch hosting providers. Expect downtime between the below times.", + "message": "sudo-flix.lol is dedicated to providing its users with the most up-to-date and stable experience in order to do this we must maintain our servers. Expect downtime between the below times.", "timeFrame": "12:00 AM - 1:00 AM", "title": "Maintenance expected" }, diff --git a/src/setup/App.tsx b/src/setup/App.tsx index b016743a..029206f7 100644 --- a/src/setup/App.tsx +++ b/src/setup/App.tsx @@ -1,5 +1,6 @@ import { Analytics } from "@vercel/analytics/react"; import { ReactElement, Suspense, lazy, useEffect, useState } from "react"; +import { Helmet } from "react-helmet-async"; import { Trans, useTranslation } from "react-i18next"; import { lazyWithPreload } from "react-lazy-with-preload"; import { @@ -186,6 +187,9 @@ function App() { )} {showDowntime && (
+ + {t("downtimeNotice.title")} +