Skip to content

Commit

Permalink
add asmm banner and og image
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed May 19, 2023
1 parent fec983c commit fcc5166
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 10 deletions.
5 changes: 3 additions & 2 deletions apps/nextjs/pages/asmm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
InputLabel,
OutlinedInput,
} from "@mui/material";
import { useForm, SubmitHandler, Controller } from "react-hook-form";
import { Cancel, CheckCircle } from "@mui/icons-material";
import OGImage from "../styles/img/ogImages/ASMM.png";

// import Footer from '../components/Footer/Footer';
import styles from "../styles/SignIn.module.scss";
Expand Down Expand Up @@ -118,8 +118,9 @@ export default function ASMM() {
<title>ASMM - AusSpeedruns</title>
<DiscordEmbed
title="AusSpeedruns Marathon Marathon - AusSpeedruns"
description="Sign Up to participate in the AusSpeedruns Marathon Marathon!"
description="Sign up to participate in the AusSpeedruns Marathon Marathon!"
pageUrl="/asmm"
imageSrc={OGImage.src}
/>
</Head>
<div className={styles.background} />
Expand Down
44 changes: 36 additions & 8 deletions apps/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import LastEventBlock from "../components/LastEventBlock/LastEventBlock";

import OGImage from "../styles/img/IndexOG.png";
import { AusSpeedrunsEvent } from "../types/types";
import { EventLive } from '../components/EventLive/EventLive';
import { EventLive } from "../components/EventLive/EventLive";

// TODO: Move this stuff to keystone
const ASM2023: AusSpeedrunsEvent = {
Expand Down Expand Up @@ -45,18 +45,46 @@ export default function Home() {
</Head>
<main>
{/* <EventLive event={next.preferredName} /> */}
<HeroBlock event={ASM2023} ticketLink="/ASM2023/tickets" schedule tagLine="The Australian Speedrun Marathon returns! The Schedule has been released! Buy tickets!" />
<LastEventBlock tagLine='We had an incredible time showcasing speedruns at the very first TGX!' event={next} backgroundPos="center" />
<LastEventBlock tagLine='We smashed our donation record and put on 3 jam packed days of speedrunning.' event={current} backgroundPos="center" />
<LastEventBlock tagLine='An absolute incredible event of week long non-stop speedrunning culminating in us breaking our all time donation record!' event={previous} />
<div
style={{
background: "#CC7722",
color: "white",
height: 100,
display: "flex",
justifyContent: "center",
alignItems: "center",
gap: 16,
}}>
We've just announced the Australian Speedruns Marathon Marathon! A walkathon we will be conducting
during ASM2023
<Button colorScheme="secondary inverted" link="/asmm" actionText="Learn more" />
</div>
<HeroBlock
event={ASM2023}
ticketLink="/ASM2023/tickets"
schedule
tagLine="The Australian Speedrun Marathon returns! The Schedule has been released! Buy tickets!"
/>
<LastEventBlock
tagLine="We had an incredible time showcasing speedruns at the very first TGX!"
event={next}
backgroundPos="center"
/>
<LastEventBlock
tagLine="We smashed our donation record and put on 3 jam packed days of speedrunning."
event={current}
backgroundPos="center"
/>
<LastEventBlock
tagLine="An absolute incredible event of week long non-stop speedrunning culminating in us breaking our all time donation record!"
event={previous}
/>
<section className={styles.archive}>
<div className={styles.content}>
<div className={styles.filler}></div>
<div className={styles.text}>
<h2>Missed a run?</h2>
<p>
Check our YouTube for runs from previous events.
</p>
<p>Check our YouTube for runs from previous events.</p>
<Button
actionText="Watch again"
link={globals.socialLinks.youtube}
Expand Down
Binary file added apps/nextjs/styles/img/ogImages/ASMM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fcc5166

Please sign in to comment.