Skip to content

Commit

Permalink
Turn on fancy ticket button
Browse files Browse the repository at this point in the history
  • Loading branch information
spikex committed Aug 23, 2024
1 parent 5d38808 commit 524fcbc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/_components/shared/navbar.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
</div>
<% if site.metadata.registration_open %>
<div class="hidden justify-end pr-16 sm:flex lg:pr-0">
<a href="https://ti.to/rocky-mountain-ruby/2023" class="signUpBtn rounded-lg bg-white bg-opacity-20 py-3 px-6 text-base font-medium text-white duration-300 ease-in-out hover:bg-opacity-100 hover:text-dark" target="_blank">
Register
<a href="/tickets" class="signUpBtn rounded-lg bg-primary bg-opacity-80 py-3 px-6 text-base font-medium text-white duration-300 ease-in-out hover:bg-opacity-100 hover:text-white">
Tickets
</a>
</div>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion src/_data/site_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: >-
programming language which features technical presentations, community events
and outdoor experiences, in beautiful Boulder, Colorado at one of the best
times of year.
registration_open: false
registration_open: true
main_page:
sections:
- name: hero
Expand Down
4 changes: 2 additions & 2 deletions src/_partials/_footer.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
>
<% if site.metadata.registration_open %>
<a
href="https://ti.to/rocky-mountain-ruby/2023"
href="/tickets"
class="px-3 text-base text-[#f3f4fe] hover:text-dark"
>
Register
Tickets
</a>
<% end %>
<% @site.collections.pages.resources.select { |r| r.data.top_level && r.data.enabled }.sort_by { |r| r.data.title }.each do |page| %>
Expand Down
2 changes: 1 addition & 1 deletion src/tickets.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: Tickets
top_level: true
top_level: false
enabled: true
---

Expand Down

0 comments on commit 524fcbc

Please sign in to comment.