-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b88058
commit b66cea5
Showing
4 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { Categories } from "./categories"; | ||
import { Countdown } from "./countdown"; | ||
import { FAQ } from "./faq"; | ||
import { Sponsor } from "./sponsors"; | ||
|
||
export default function Page() { | ||
const ctfDate = new Date("2024-10-11").getTime() | ||
|
@@ -31,6 +32,11 @@ export default function Page() { | |
<div className="divider"></div> | ||
<p>The call for sponsorship for TCP1P-CTF 2024 is open! For more details contact us at <a className="link" href="mailto:[email protected]">[email protected]</a>.</p> | ||
</div> | ||
<div> | ||
<h2 className="text-4xl">Sponsors</h2> | ||
<div className="divider"></div> | ||
<Sponsor></Sponsor> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
import Image from "next/image" | ||
import GoogleImage from "../../../public/Google-Cloud-Emblem.png" | ||
|
||
export function Sponsor() { | ||
const sponsors = [ | ||
{ | ||
name: "Google", | ||
text: "Infra sponsored by goo.gle/ctfsponsorship", | ||
image: GoogleImage | ||
}, | ||
] | ||
return <> | ||
<div className="grid justify-center lg:grid-cols-3 md:grid-cols-2 gap-4"> | ||
{sponsors.map((sponsor, _index) => ( | ||
<div className="card w-96"> | ||
<figure className="px-10 pt-10"> | ||
<Image src={sponsor.image} alt={sponsor.text}></Image> | ||
</figure> | ||
<div className="card-body items-center text-center"> | ||
<h2 className="card-title">{sponsor.name}</h2> | ||
<p>{sponsor.text}</p> | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
|
||
</> | ||
} |