1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Finish maintence page and analytics

This commit is contained in:
Cooper Ransom 2024-03-03 15:28:56 -05:00
parent b2dd4e57af
commit 7795421ad1
2 changed files with 5 additions and 1 deletions

View file

@ -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": "<bold>12:00 AM - 1:00 AM</bold>",
"title": "Maintenance expected"
},

View file

@ -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 && (
<div className="relative flex flex-1 flex-col">
<Helmet>
<title>{t("downtimeNotice.title")}</title>
</Helmet>
<Navigation />
<div className="flex h-full flex-1 flex-col items-center justify-center p-5 text-center">
<ErrorLayout>