Webserverversion: 1.0.2

This commit is contained in:
ISA
2024-11-12 13:58:35 +01:00
parent 12ada92755
commit 60bb76fae7
2 changed files with 1 additions and 27 deletions

View File

@@ -177,7 +177,7 @@ function Dashboard() {
<div className="flex flex-row p-2 space-x-2">
<Icon icon="mdi:web" className="text-xl text-blue-400" />
<p className="text-sm text-gray-600">
<span className="font-bold"> </span>Webserverversion: 1.0.1
<span className="font-bold"> </span>Webserverversion: 1.0.2
</p>
</div>
</div>

View File

@@ -1,26 +0,0 @@
"use client"; // app/wait/page.jsx
import { useEffect } from "react";
import { useRouter } from "next/navigation";
import { ClipLoader } from "react-spinners";
export default function WaitPage() {
const router = useRouter();
useEffect(() => {
// Timer to redirect after 20 seconds
const timer = setTimeout(() => {
router.push("/");
}, 20000);
// Cleanup timer when component is unmounted
return () => clearTimeout(timer);
}, [router]);
return (
<div style={{ textAlign: "center", marginTop: "100px" }}>
<h1>Bitte warten...</h1>
<ClipLoader color={"#76c7c0"} size={50} /> {/* Spinner */}
<p>Die Seite wird automatisch neu geladen.</p>
</div>
);
}