-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from sigpwny/feat/scoreboard
Add live scoreboard
- Loading branch information
Showing
9 changed files
with
654 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import "@/styles/globals.css"; | ||
import "@/styles/fonts.css"; | ||
import "./new-signage.css"; | ||
|
||
export const metadata = { | ||
title: "Fall CTF 2023", | ||
description: "A CTF by SIGPwny", | ||
}; | ||
|
||
export default function SignageLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<body className="font-sans overflow-hidden"> | ||
<div className="h-screen w-screen grid"> | ||
{children} | ||
</div> | ||
</body> | ||
</html> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
html { | ||
font-size: 48px; | ||
} | ||
|
||
.animate-translate-right { | ||
animation: translate-right 0.2s ease-in; | ||
} | ||
|
||
@keyframes translate-right { | ||
0% { | ||
transform: translateX(2rem); | ||
opacity: 0; | ||
} | ||
100% { | ||
transform: translateX(0); | ||
opacity: 1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,4 +135,4 @@ export default function Countdown({ time_start, time_close }: Props) { | |
)} | ||
</> | ||
) | ||
} | ||
} |
Oops, something went wrong.