Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed live site. #89

Merged
merged 13 commits into from
Apr 9, 2021
Merged
Prev Previous commit
Next Next commit
Dummy judges added
  • Loading branch information
r-jo1 committed Mar 22, 2021
commit f2b89d28e48d1f717454e06033e5608a1a02012f
69 changes: 64 additions & 5 deletions pages/live.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ import styles from "../styles/Common.module.css";

const Judge = ({ picture, username, title }) => {
return (
<div className="Livestyles.judge">
<Image src={picture} alt="Judge profile picture" width={100} height={100}/>
<h3>{username}</h3>
<p>{title}</p>
<div className={Livestyles.judge}>
<Image
src={picture}
alt="Judge profile picture"
width={100}
height={100}
/>
<caption>
<h3>{username}</h3>
<p>{title}</p>
</caption>
</div>
);
};
Expand All @@ -22,7 +29,59 @@ export default function Live() {
<div className={styles.container}>
<CountdownTimer />
<h2>Judges</h2>
<Judge picture="/logoRevised.png" username="Scotty" title="Mascot" />
<div className={Livestyles.judgeWrapper}>
<div>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
</div>
<div>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
</div>
<div>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
<Judge
picture="/logoRevised.png"
username="Scotty"
title="Mascot"
/>
</div>
</div>
<h2>Schedule</h2>
<h2>Resources</h2>
<h2>Sponsors</h2>
Expand Down
11 changes: 10 additions & 1 deletion styles/Live.module.css
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@

.judgeWrapper{
display: flex;
}
.judge{
display:flex;
margin: 0 10px;
}
.judge caption{
margin-left: 10px;
}