Skip to content

Commit

Permalink
feat: improve nixcons timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperwyczawski committed Nov 26, 2023
1 parent ce574b6 commit a8eb44f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/community.astro
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,23 @@ const teams = await getCollection("teams")
<p class="mt-2 text-white">
NixCon is a community-oriented conference for contributors and users of Nix and NixOS. It's about sharing experiences, inspiring people and discussing future development.
</p>
<ul class="timeline timeline-vertical mt-4 text-white">
<ul class="timeline timeline-vertical lg:timeline-horizontal mt-4 text-white text-lg overflow-scroll lg:pb-3 [scrollbar-color:_white_theme(colors.nixsemidarkblue)]">
{nixcons.reverse().map((nixcon) => (
<li class="[&:first-child_>_hr:first-child]:hidden [&:last-child_>_hr:last-child]:hidden first:font-bold">
<hr/>
<div class="timeline-start">
<li class="[&:first-child_>_hr:first-child]:hidden [&:last-child_>_hr:last-child]:hidden lg:first:font-bold grid-cols-[4fr_auto_5fr]">
<hr class="bg-white"/>
<div class="timeline-start text-right">
{nixcon.data.date}
</div>
<div class="timeline-middle">
<div class="h-6 w-6 rounded-full border-4 border-white mx-2">
<div class="h-6 w-6 rounded-full border-4 border-white mx-2 lg:mx-0">
</div>
</div>
<div class="timeline-end timeline-box text-lg">
<div class="timeline-end timeline-box">
<a href={nixcon.data.href}>
{nixcon.data.title}
</a>
</div>
<hr/>
<hr class="bg-white"/>
</li>
))}
</ul>
Expand Down

0 comments on commit a8eb44f

Please sign in to comment.