diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index d2efe9ff..bfdb4ade 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -114,17 +114,17 @@ "stopEditing": "Stop editing" }, "search": { - "allResults": "That's all we have!", + "allResults": "That's all we have...", "failed": "Failed to find media, try again!", "loading": "Loading...", - "noResults": "We couldn't find anything!", + "noResults": "We couldn't find anything :(", "placeholder": { "default": "What do you want to watch?", "extra": [ - "What do you want to explore?", - "What's on your watchlist?", - "What's your favorite movie?", - "What's your favorite series?" + "What do you want to stream?", + "Sudo-Flix is the best site ever!", + "What's on your watchlist today?", + "How was your day?" ] }, "sectionTitle": "Search results" diff --git a/src/setup/App.tsx b/src/setup/App.tsx index b016743a..eabf2350 100644 --- a/src/setup/App.tsx +++ b/src/setup/App.tsx @@ -104,18 +104,17 @@ function App() { useHistoryListener(); useOnlineListener(); const { t } = useTranslation(); - const [showDowntime, setShowDowntime] = useState(true); + const [showDowntime, setShowDowntime] = useState(false); const handleButtonClick = () => { setShowDowntime(false); }; useEffect(() => { - const token = localStorage.getItem("downtimeToken"); - if (token) { + const sessionToken = sessionStorage.getItem("downtimeToken"); + if (!sessionToken) { setShowDowntime(true); - } else { - localStorage.setItem("downtimeToken", "true"); + sessionStorage.setItem("downtimeToken", "true"); } }, []);