Skip to content
Merged
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
1 change: 0 additions & 1 deletion rubycon.it/_includes/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ <h1 class="text-4xl md:text-6xl font-bold mb-6">Ruby<span class="text-yellow-400
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<a href="{{ site.event.tickets_url }}" class="relative inline-block bg-white text-red-950 px-8 py-3 rounded-md font-bold text-lg hover:bg-gray-100 transition duration-300 text-center">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since the absolutely positioned <span> element has been removed, the relative class on this anchor tag is no longer necessary and can be removed for code cleanup.

                    <a href="{{ site.event.tickets_url }}" class="inline-block bg-white text-red-950 px-8 py-3 rounded-md font-bold text-lg hover:bg-gray-100 transition duration-300 text-center">

Tickets for sale
<span class="absolute -top-2 -right-2 bg-yellow-400 text-gray-900 text-xs font-bold px-2 py-1 rounded-full">new</span>
</a>
<a href="#about" class="border-2 border-white text-white px-8 py-3 rounded-md font-bold text-lg hover:bg-white hover:text-red-950 transition duration-300 text-center" aria-label="Learn more about Rubycon Italy">learn more</a>
</div>
Expand Down