Skip to content

Commit

Permalink
fix: make register now button separate from event card in upcoming ev…
Browse files Browse the repository at this point in the history
…ents page (#110)
  • Loading branch information
prabhavpokharel authored Oct 16, 2024
1 parent 97a8744 commit 4c5d7fb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions upcoming-events.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ permalink: /events/upcoming

<!-- Register Button -->
<a href="{{ event.registration_link }}">
<button
class="inline-block bg-[{{site.bg-colors.orange-button}}] text-white font-semibold px-4 py-2 rounded-lg mt-2 hover:bg-[{{site.bg-colors.orange-button}}]/80 transition-colors duration-300"
>
Register Now
</button>
</a>
<div class="relative inset-0">
<button
class="inline-block bg-[{{site.bg-colors.orange-button}}] text-white font-semibold px-4 py-2 rounded-lg mt-2 hover:bg-[{{site.bg-colors.orange-button}}]/80 transition-colors duration-300"
>
Register Now
</button>
</div>
</a>
</div>
</div>
{% endfor %}
Expand Down

0 comments on commit 4c5d7fb

Please sign in to comment.