From 8f1270f97c03fbdd76afd2fbeb2bd5fc7b6cbb09 Mon Sep 17 00:00:00 2001 From: Minh Duong Date: Fri, 22 Sep 2023 23:40:58 -0500 Subject: [PATCH] Migrate Siebel to leaderboard version --- .../siebel/page.tsx | 85 ++++++++++++------- 1 file changed, 54 insertions(+), 31 deletions(-) rename src/app/{(signage) => (new-signage)}/siebel/page.tsx (58%) diff --git a/src/app/(signage)/siebel/page.tsx b/src/app/(new-signage)/siebel/page.tsx similarity index 58% rename from src/app/(signage)/siebel/page.tsx rename to src/app/(new-signage)/siebel/page.tsx index a426516..ea3f60e 100644 --- a/src/app/(signage)/siebel/page.tsx +++ b/src/app/(new-signage)/siebel/page.tsx @@ -1,8 +1,9 @@ "use client"; import { useEffect, useState } from "react"; import { motion, useAnimate } from "framer-motion"; -import Countdown from "@/components/Countdown"; -import LogoReveal from "@/components/LogoReveal"; +import Countdown, { TimedComponent } from "@/components/NewCountdown"; +import LogoReveal from "@/components/NewLogoReveal"; +import Scoreboard from "@/components/Scoreboard"; async function seqFromRight(scope: any, animate: any, delay: number = 0) { await animate(scope.current, { @@ -52,9 +53,42 @@ export default function SignagePage() { // Automatically refresh the page setTimeout(() => { location.reload(); - }, 1000 * 120); + }, 1000 * 300); }, []); - + const before_body = ( +
+
+

+ A beginner-friendly
hacking competition. +

+

+ Register at sigpwny.com/fallctf. +

+
+
+ https://sigpwny.com/fallctf +
+
+ ); + const during_body = ( + + + + ); + const during_details_solve = ( + +

+ Solve the Challenges! +

+

+ sigpwny.com/fallctf +

+
+ ); return ( -

+

SIGPwny Presents

@@ -94,7 +128,7 @@ export default function SignagePage() { @@ -102,44 +136,33 @@ export default function SignagePage() { -
-

- A beginner-friendly
hacking competition. -

-

- Register at sigpwny.com/fallctf. -

-
-
- https://sigpwny.com/fallctf -
+
- -

- September 23rd, 12–6 PM -

-

- CIF 3039 -

+ + +

+ September 23rd, 12–6 PM +

+

+ CIF 3039 +

+
+
-

+

September 23rd, 12–6 PM @ CIF 3039

); -}; +}; \ No newline at end of file