diff --git a/client/src/hooks/useSeasonStart.tsx b/client/src/hooks/useSeasonStart.tsx index f20c8f2a6..6ea2e3eda 100644 --- a/client/src/hooks/useSeasonStart.tsx +++ b/client/src/hooks/useSeasonStart.tsx @@ -1,8 +1,8 @@ -import { configManager } from "@/dojo/setup"; +//import { configManager } from "@/dojo/setup"; import { useMemo, useState } from "react"; export const useSeasonStart = () => { - const seasonStart = useMemo(() => BigInt(configManager.getSeasonConfig().startAt || 0), []); + const seasonStart = BigInt(new Date("2024-12-11T15:35:00Z").getTime() / 1000);/*useMemo(() => BigInt(configManager.getSeasonConfig().startAt || 0), []);*/ const nextBlockTimestamp = useMemo(() => BigInt(Math.floor(Date.now() / 1000)), []); const [countdown, setCountdown] = useState(0n); diff --git a/landing/src/components/modules/season-start-timer.tsx b/landing/src/components/modules/season-start-timer.tsx index 942eb25e3..24846921f 100644 --- a/landing/src/components/modules/season-start-timer.tsx +++ b/landing/src/components/modules/season-start-timer.tsx @@ -10,7 +10,7 @@ export const SeasonStartTimer = () => { return (
- {String(hours).padStart(2, "0")}:{String(minutes).padStart(2, "0")}:{String(seconds).padStart(2, "0")} + {"<"} {String(hours).padStart(2, "0")}:{String(minutes).padStart(2, "0")}:{String(seconds).padStart(2, "0")}
); }; diff --git a/landing/src/components/ui/elements/CountdownTimer.tsx b/landing/src/components/ui/elements/CountdownTimer.tsx index f1ae81bae..c05e176cd 100644 --- a/landing/src/components/ui/elements/CountdownTimer.tsx +++ b/landing/src/components/ui/elements/CountdownTimer.tsx @@ -22,6 +22,7 @@ export function CountdownTimer() { Eternum is Launching in
+ {"<"} diff --git a/landing/src/hooks/use-season-start.tsx b/landing/src/hooks/use-season-start.tsx index b49fbc8b7..cfe4a36b7 100644 --- a/landing/src/hooks/use-season-start.tsx +++ b/landing/src/hooks/use-season-start.tsx @@ -1,8 +1,9 @@ -import { configManager } from "@/dojo/setup"; import { useEffect, useState } from "react"; export const useSeasonStart = () => { - const seasonStart = BigInt(configManager.getSeasonConfig().startAt || 0); + const seasonStart = BigInt(new Date("2024-12-11T15:35:00Z").getTime() / 1000); + + /*BigInt(configManager.getSeasonConfig().startAt || 0);*/ const nextBlockTimestamp = BigInt(Math.floor(Date.now() / 1000)); const [countdown, setCountdown] = useState(0n);