Skip to content

Commit

Permalink
feature: Add cliweek event
Browse files Browse the repository at this point in the history
  • Loading branch information
aloussase committed Oct 8, 2024
1 parent 7c2f29f commit ff22a5b
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 15 deletions.
11 changes: 7 additions & 4 deletions src/lib/components/Event.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
date: string;
place: string;
category: string;
route: string;
};
let { name, description, date, place, category }: Props = $props();
let { name, description, date, place, category, route }: Props = $props();
</script>

<div class="m-4 max-w-80 rounded-2xl bg-neutral-800 px-6 py-4">
Expand All @@ -27,8 +28,10 @@
{place}
</span>
</div>
<button class="rounded-full bg-lime-500 px-2 font-fira text-sm font-semibold text-black">
Ver más
</button>
<a href="{route}">
<button class="rounded-full bg-lime-500 px-2 font-fira text-sm font-semibold text-black">
Ver más
</button>
</a>
</div>
</div>
2 changes: 1 addition & 1 deletion src/lib/components/Tag.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</script>

<span
class="rounded-full border border-lime-500 bg-neutral-800 px-6 font-fira text-xs font-bold text-white"
class="rounded-full border border-lime-500 bg-neutral-800 px-6 font-fira text-xs font-bold text-white w-fit"
>
{category}
</span>
30 changes: 20 additions & 10 deletions src/lib/data/events.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
{
"events": [
{
"name": "HacktoberfestGYE 2024",
"description": "Colabora en una variedad de proyectos de código abierto, mejorando tus habilidades y contribuyendo a la comunidad global de desarrolladores.",
"date": "10/10/2024",
"time": "9 AM - 5 PM",
"place": "Universidad Católica Santiago de Guayaquil",
"category": "Hackathon"
}
]
"events": [
{
"name": "HacktoberfestGYE 2024",
"description": "Colabora en una variedad de proyectos de código abierto, mejorando tus habilidades y contribuyendo a la comunidad global de desarrolladores.",
"date": "10/10/2024",
"time": "9 AM - 5 PM",
"place": "Universidad Católica Santiago de Guayaquil",
"category": "Hackathon",
"route": "/events/hacktoberfest"
},
{
"name": "CLI Week 2024",
"description": "A week to celebrate the versatility and develop CLI tools with friends. We'll also have workshops and talks!",
"date": "11/11/2024 - 15/11/2024",
"time": "All day",
"place": "Online",
"category": "Hackathon/Workshops",
"route": "/events/cliweek"
}
]
}
1 change: 1 addition & 0 deletions src/routes/events/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
date={event.date}
place={event.place}
category={event.category}
route={event.route}
/>
{/each}
</div>
78 changes: 78 additions & 0 deletions src/routes/events/cliweek/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<script>
import Heading from "$lib/components/layout/Heading.svelte";
import Tag from "$lib/components/Tag.svelte";
</script>

<svelte:head>
<title>CLI Week | KOKOA</title>
</svelte:head>

<Heading>CLI Week</Heading>

<div style:width="80%" class="mx-auto flex flex-col justify-center gap-4 font-fira">
<Tag category="11-11-2024 | 15-11-2024" />

<p id="description">
Welcome to the CLI Week! This is a week dedicated to the celebration of command line tools
in which we'll have talks and workshops and participants will compete to develop their own
CLI tool.
</p>

<h4 class="text-xl text-lime-600">How to participate?</h4>

<p id="how-to-participate">
You can participate either as a speaker or by building a CLI tool. Check out the links below for the corresponding
registration link.
</p>

<p id="speakers">
For speakers, you'll find a link to a registration form below where you can specify the topic you'd like to
talk about and you tentative dates. We'll then get in touch with you to coordinate your awesome
talk :).
</p>

<p id="coders">
For people who want to code, the hackathon will last 5 day during the week from November 11th to
November 15th. You can use whatever programming language and tools you'd like. AI integration is
allowed. For inspiration on what kind of tools you can create, look at
<a target="_blank" href="https://github.com/agarrharr/awesome-cli-apps" class="underline">
Awesome CLI Tools on GitHub
</a>.
</p>

<div id="registration" class="flex flex-col border rounded-md p-2 shadow-lg">
<h3 class="text-center text-2xl mb-4">Register</h3>
<div class="flex w-full gap-4 justify-center">
<div id="registration-speakers" class="flex-1">
<a target="_blank" href="https://forms.gle/L3Ri4wdg3ACDEY1XA">
<button class="rounded-md p-2 w-full bg-lime-600 hover:bg-lime-500">Speakers</button>
</a>
</div>
<div id="registration-participants" class="flex-1">
<a target="_blank" href="https://forms.gle/FqwFyMFcmc6NCNWv9">
<button class="rounded-md p-2 w-full bg-lime-600 hover:bg-lime-500">Coders</button>
</a>
</div>
</div>
</div>

<div id="sponsorship">
<h4 class="text-xl text-lime-600">Sponsorship</h4>
<p>
We are a non-profit organization and have limited resources, so if you'd like to help make this
event even cooler for our participants and act as a sponsor, please contact us at our email
<a href="mailto:kokoa.espol.ec@gmail.com">kokoa.espol.ec@gmail.com</a>.
</p>
</div>

<div id="speakers">
<h4 class="text-xl text-lime-600">Speakers</h4>
<p>
There are no speakers yet! Why don't you become the first one?
</p>
</div>

<div>
See you there!
</div>
</div>

0 comments on commit ff22a5b

Please sign in to comment.