Skip to content

Commit

Permalink
Added pages for mechmania and puzzlebang (#22)
Browse files Browse the repository at this point in the history
* Added pages for mechmania and puzzlebang

* Centered description texts

* Changed layout for wider screens to have image on left and text on right
  • Loading branch information
rohannunu authored Aug 18, 2023
1 parent 95612b3 commit 528dcdb
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/routes/mechmania/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<script lang="ts">
import GlassContainer from '../../components/glass-container.svelte';
</script>


<div class="flex items-center h-full mx-auto w-[90%] md:w-2/5 lg:w-4/5 overflow-y-auto mt-8">
<GlassContainer>
<div class="flex flex-col lg:flex-row items-center">
<a href="https://mechmania.org/" class="w-full md:w-3/5 sm:w-1/5">
<img src="mm29.png" alt="Mech Mania 29 Logo" class="w-full h-full" />
</a>

<div class="flex flex-col gap-2 mb-3">
<div class="text-lg md:text-4xl text-white text-center">MechMania</div>
<div class="text-center text-base text-slate-300">
MechMania is a 24-hour AI hackathon where students team up to write a bot that plays a game. Every year, we build a game in secret, and challenge you to write the best bot!
It won't be so simple though; your bot will be competing against other teams' bots! You can fly solo or participate in a group of up to four.
MechMania is open to all skill levels of coding. (Oh, and not to mention we've got prizes for the top teams!)
If you want to find out more, visit <a href="https://mechmania.org/">mechmania.org</a>.
</div>
<a href="https://mechmania.org/" class="mx-auto duration-500 bg-white bg-opacity-30 text-white px-3 py-2 m-3 rounded-md flex gap-2 border border-white">Visit MechMania</a>
</div>

</div>
</GlassContainer>
</div>
23 changes: 23 additions & 0 deletions src/routes/puzzlebang/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script lang="ts">
import GlassContainer from '../../components/glass-container.svelte';
</script>


<div class="flex items-center h-full mx-auto w-[90%] md:w-2/5 lg:w-4/5 overflow-y-auto mt-8">
<GlassContainer>
<div class="flex flex-col lg:flex-row items-center">
<a href="https://puzzlebang.com/" class="w-4/5 md:w-3/5 sm:w-1/5">
<img src="puzzlebang2023_colored.svg" alt="Puzzle Bang 2023 Logo" class="w-full h-full"/> <!-- max-w-full transform scale-75 p-3-->
</a>
<div class="flex flex-col gap-2 mb-3">
<div class="text-lg md:text-4xl text-white text-center">PuzzleBang</div>
<div class="text-center text-base text-slate-300">
Grab your friends and compete in a week-long puzzle contest hosted by four UIUC Alums to win exciting prizes. Go to <a href="https://puzzlebang.com/">PuzzleBang.com</a> to get started!
PuzzleBang will also be running a pop-up escape room in Siebel on the Saturday after Reflections | Projections! Make sure you follow @puzzlebang to find out how to register!
</div>
<a href="https://puzzlebang.com/" class="mx-auto duration-500 bg-white bg-opacity-30 text-white px-3 py-2 m-3 rounded-md flex gap-2 border border-white">Visit PuzzleBang</a>
</div>

</div>
</GlassContainer>
</div>
Binary file added static/mm29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/puzzlebang2023_colored.svg
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 528dcdb

Please sign in to comment.