Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Hacktoberfest 2023 Prep #56

Merged
merged 3 commits into from
Aug 10, 2023
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
6 changes: 3 additions & 3 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
friendly issues for you to check out.
</p>

<ButtonGithub showIcon />
<!-- <ButtonGithub showIcon /> -->
</div>
</div>
<div
Expand All @@ -78,14 +78,14 @@
<!-- HERO END -->

<About />
<Rewards />
<!-- <Rewards /> -->

<div class="container mx-auto mt-[100px] px-6">
<hr class="border-t-[1px] border-neutral-150" />
</div>

<Events />
<Issues />
<!-- <Issues /> -->
<Team />

<style>
Expand Down
14 changes: 7 additions & 7 deletions src/routes/index/_about.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<h3 class="text-center lg:text-left my-10 lg:my-8">Our journey with Hacktoberfest</h3>
<p class="hidden lg:block text-justify pb-[3rem]">
Hacktoberfest is an initiative that matters very deeply to us. We launched the first
iteration of Appwrite as a mere open-source project back in September 2019.
Hacktoberfest 2019 was truly a game-changer for us, as we saw over 200 contributions
from some lovely members of the open-source fraternity that October.
iteration of Appwrite as a mere open-source project in September 2019. Hacktoberfest
2019 was truly a game-changer for us, as we saw over 200 contributions from some lovely
members of the open-source community that October.
</p>

<div class="w-full flex justify-center lg:justify-start">
Expand Down Expand Up @@ -85,10 +85,10 @@
<h3 id="how-can-you-contribute">How can you contribute?</h3>
<p class="py-8 leading-relaxed">
There are many different ways you can contribute to Appwrite. All accepted
contributions qualify for Appwrite Swag!
contributions qualify for digital Appwrite Swag!
</p>

<ButtonGithub showBadge={false} />
<!-- <ButtonGithub showBadge={false} /> -->
</div>
</div>
<div
Expand Down Expand Up @@ -160,7 +160,7 @@
</div>
</div>

<div class="col-span-6">
<!-- <div class="col-span-6">
<img src="/icons/pencil.svg" alt="Pencil Icon" />

<div class="max-w-sm">
Expand Down Expand Up @@ -225,7 +225,7 @@
</svg>
</a>
</div>
</div>
</div> -->
</div>
</div>
</div>
Expand Down
62 changes: 36 additions & 26 deletions src/routes/index/_events.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,14 @@
<span class="title text-base font-semibold text-primary"
>{getLocalMonth(event.timeISO)}</span
>
<span class="text-[14px]"
>{getLocalTimeVerbose(event.timeISO, event.durationInMs)}
<span class=""> • {getClientState()} time</span></span
>
{#if !event.durationInMs}
<span class="text-[14px]">TBA</span>
{:else}
<span class="text-[14px]"
>{getLocalTimeVerbose(event.timeISO, event.durationInMs)}
<span class=""> • {getClientState()} time</span></span
>
{/if}
</div>
</div>
<div
Expand All @@ -119,29 +123,31 @@
/>
</div>
</div>
<button
aria-label="Toggle description"
on:click={onToggleEventDetail(eventIndex)}
class="hidden md:block rounded-full hover:text-white p-4"
>
<svg
class={(event.isOpened ? 'rotate-180' : 'rotate-0') +
' transition-transform duration-300 transform'}
width="18"
height="18"
viewBox="0 0 18 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{#if event.sessions.length > 0}
<button
aria-label="Toggle description"
on:click={onToggleEventDetail(eventIndex)}
class="hidden md:block rounded-full hover:text-white p-4"
>
<path
d="M1 1L9.24242 8.5L17 1"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</button>
<svg
class={(event.isOpened ? 'rotate-180' : 'rotate-0') +
' transition-transform duration-300 transform'}
width="18"
height="18"
viewBox="0 0 18 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1 1L9.24242 8.5L17 1"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</button>
{/if}
</div>
</div>

Expand Down Expand Up @@ -246,6 +252,10 @@
</section>

<style>
#section-events {
position: relative;
z-index: 1;
}
.custom-shadow {
box-shadow: 0px 10px 70px 0px rgba(0, 0, 0, 0.05);
}
Expand Down
18 changes: 9 additions & 9 deletions src/routes/index/_header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
name: 'about the event',
id: 'about'
},
{
name: 'swag',
id: 'swag'
},
// {
// name: 'swag',
// id: 'swag'
// },
{
name: 'events',
id: 'events'
},
{
name: 'Hacktoberfest issues',
id: 'issues'
}
// {
// name: 'Hacktoberfest issues',
// id: 'issues'
// }
];

let menuLineWidth = 0;
Expand Down Expand Up @@ -219,7 +219,7 @@
><Button text="Get help on Discord" type="secondary" /></a
>

<ButtonGithub showBadge={true} />
<!-- <ButtonGithub showBadge={true} /> -->
</section>
</div>
</header>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/index/_team.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { teamMembers } from '../../stores';
</script>

<section class="pb-[100px]">
<section class="pt-[8.75rem] pb-[100px]">
<div class="container mx-auto px-6">
<div class="text-center max-w-4xl mx-auto">
<!-- <p class="text-black uppercase text-[14px] title">events</p> -->
Expand Down
Loading