-
Notifications
You must be signed in to change notification settings - Fork 1
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 #89 from citrushack/rj-develop
Completed live site.
- Loading branch information
Showing
34 changed files
with
325 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import Countdown from "react-countdown"; | ||
import Livestyles from "../styles/Live.module.css"; | ||
|
||
// Random component | ||
const Completionist = () => ( | ||
<h1 className={Livestyles.timer}>Hacking has ended!</h1> | ||
); | ||
|
||
// Renderer callback with condition | ||
const renderer = ({ days, hours, minutes, seconds, completed }) => { | ||
if (completed) { | ||
// Render a completed state | ||
return <Completionist />; | ||
} else { | ||
// Render a countdown | ||
return ( | ||
<> | ||
<h1 className={Livestyles.timer}> | ||
Citrus Hack 2021 <br /> | ||
{days}d : {hours}hr : {minutes}min : {seconds}s left! | ||
</h1> | ||
</> | ||
); | ||
} | ||
}; | ||
|
||
export default function CountdownTimer() { | ||
return ( | ||
<> | ||
<Countdown date={"2021-04-11T09:00:00"} renderer={renderer} /> | ||
<div className={Livestyles.border1}></div> | ||
</> | ||
); | ||
} |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
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,90 @@ | ||
.timer { | ||
font-size: 63px; | ||
text-align: center; | ||
line-height: 2; | ||
} | ||
.title { | ||
font-size: 40px; | ||
font-weight: 700; | ||
} | ||
.judgeWrapper { | ||
display: flex; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
margin: 0; | ||
} | ||
|
||
.judge { | ||
display: flex; | ||
margin: 0 10px; | ||
align-items: center; | ||
} | ||
.judgePicture img { | ||
border-radius: 50%; | ||
width: 75px; | ||
height: auto; | ||
} | ||
|
||
.judge caption { | ||
margin-left: 10px; | ||
text-align: left; | ||
} | ||
.schedule { | ||
min-height: 100vh; | ||
} | ||
.resource { | ||
font-size: 25px; | ||
margin-bottom: 40px; | ||
font-weight: 700; | ||
color: #000; | ||
border-bottom: 2px solid transparent; | ||
transition: all 200ms ease-in-out; | ||
} | ||
.resource svg{ | ||
font-size: 10px; | ||
} | ||
.resource:hover { | ||
color: #ff6060; | ||
border-bottom: 2px solid #ff6060; | ||
} | ||
.border1{ | ||
width: 1200px; | ||
height: 200px; | ||
background-image: url("../public/backgrounds/Branch1.png"); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: contain; | ||
} | ||
.border2{ | ||
width: 1200px; | ||
height: 200px; | ||
background-image: url("../public/backgrounds/Branch2.png"); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: contain; | ||
} | ||
.border3{ | ||
width: 1200px; | ||
height: 200px; | ||
background-image: url("../public/backgrounds/Branch3.png"); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: contain; | ||
} | ||
.border4{ | ||
width: 1200px; | ||
height: 200px; | ||
background-image: url("../public/backgrounds/Branch4.png"); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: contain; | ||
} | ||
@media (max-width: 768px) { | ||
.timer { | ||
font-size: 32px; | ||
} | ||
.schedule { | ||
max-width: 50%; | ||
padding: 0 20px; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
.links { | ||
display: flex; | ||
align-items: center; | ||
padding-right: 10px; | ||
} | ||
.logos { | ||
width: auto; | ||
|
Oops, something went wrong.
d6821b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: