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

feat: add prizes #30

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions src/components/prizes.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<section
id="prizes"
class="flex scroll-mt-24 flex-col items-center gap-4 space-y-8"
>
<div class="w-full max-w-xl lg:max-w-6xl flex flex-col items-start gap-4">
<h2
class="text-primary text-left text-white font-extrabold text-6xl tracking-wide"
>
Prizes
</h2>
<p class="text-2xl mt-10 text-justify uppercase">
The top 3 teams will receive <span class="text-primary">cash prizes</span
>. The prize pool will be distributed as follows:
</p>
</div>
<dl
class="grid w-full max-w-xl lg:max-w-6xl grid-cols-1 gap-x-8 gap-y-16 text-center lg:grid-cols-3"
>
<div
class="w-full flex flex-row items-center justify-around lg:flex-col lg:justify-between gap-y-4"
>
<dt
class="text-6xl text-primary text-left leading-7 uppercase mr-16 sm:mr-0"
>
1st PLACE
</dt>
<dd class="text-8xl text-left font-bold tracking-tight text-white">
800€
</dd>
</div>
<div
class="w-full flex flex-row items-center justify-around lg:flex-col lg:justify-between gap-y-4"
>
<dt
class="text-6xl text-primary text-left leading-7 uppercase mr-16 sm:mr-0"
>
2nd PLACE
</dt>
<dd class="text-8xl text-left font-bold tracking-tight text-white">
600€
</dd>
</div>
<div
class="w-full flex flex-row items-center justify-around lg:flex-col lg:justify-between gap-y-4"
>
<dt
class="text-6xl text-primary text-left leading-7 uppercase mr-16 sm:mr-0"
>
3rd PLACE
</dt>
<dd class="text-8xl text-left font-bold tracking-tight text-white">
400€
</dd>
</div>
</dl>
<slot />
</section>
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
import Intro from "~/components/intro.astro";
import Gallery from "~/components/gallery.astro";
import IndexLayout from "~/layouts/indexLayout.astro";
import Prizes from "~/components/prizes.astro";
---

<IndexLayout>
<Intro />
<Prizes />
<Gallery />
</IndexLayout>
2 changes: 2 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ h1 {
h2 {
font-family: "Resegrg", serif;
}

dt,
dd,
p {
font-family: "VT323", monospace;
}
Loading