Skip to content

Commit

Permalink
#88 - wip
Browse files Browse the repository at this point in the history
  • Loading branch information
EwelinaSkrzypacz committed Sep 24, 2024
1 parent df8f42b commit a19c913
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,7 @@ <h2 class="pl-4 text-2xl font-bold">O czym?</h2>
</div>
</section>
<section
x-data="{ selectedImage: null, navigateToPastMeetup(meetupId) {
window.open(`meetup.html?meetupId=${meetupId}`, '_blank');
}}"
x-data="{ selectedImage: null }"
id="poprzednieMeetupy"
>
<template x-if="pastMeetups.length > 0">
Expand All @@ -824,35 +822,36 @@ <h2 class="pl-4 text-2xl font-bold">O czym?</h2>
class="w-max-2xl flex shrink flex-col divide-y divide-y-reverse divide-slate-100/25 rounded-2xl px-4 pt-2"
>
<template x-for="meetup in pastMeetups">
<div
class="flex cursor-pointer flex-row items-center py-4 lg:py-10"
@click="navigateToPastMeetup(meetup.id)"
>
<div
class="text-2xl font-bold text-green-500 lg:text-4xl"
x-text="meetup.formattedDate"
></div>
<a :href=`meetup.html?meetupId=${meetup.id}` target="_blank">
<div
class="pl-4 text-base font-bold lg:px-8"
x-text="meetup.title"
></div>
<div class="flex flex-grow justify-end pr-4">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="h-6 w-6 -rotate-90"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m19.5 8.25-7.5 7.5-7.5-7.5"
/>
</svg>
class="flex cursor-pointer flex-row items-center py-4 lg:py-10"
>
<div
class="text-2xl font-bold text-green-500 lg:text-4xl"
x-text="meetup.formattedDate"
></div>
<div
class="pl-4 text-base font-bold lg:px-8"
x-text="meetup.title"
></div>
<div class="flex flex-grow justify-end pr-4">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="h-6 w-6 -rotate-90"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m19.5 8.25-7.5 7.5-7.5-7.5"
/>
</svg>
</div>
</div>
</div>
</a>
</template>
</div>
</div>
Expand Down

0 comments on commit a19c913

Please sign in to comment.