diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 2ae8980..e53a155 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -19,9 +19,20 @@ class HomeController < ApplicationController Person.new(name, image, role, relationship, extra) end + Section = Struct.new(:id, :title) + + SECTIONS = [ + Section.new("ceremony", "Ceremony & Reception"), + Section.new("wedding-party", "Wedding Party"), + Section.new("accommodations", "Accommodations"), + Section.new("registry", "Registry"), + Section.new("our-story", "How We Met") + ].freeze + def index @rsvp_by_date = rsvp_by_date @wedding_party = PARTY_MEMBERS + @sections = SECTIONS end def rsvp_by_date diff --git a/app/views/home/_accommodations.html.erb b/app/views/home/_accommodations.html.erb new file mode 100644 index 0000000..be3588d --- /dev/null +++ b/app/views/home/_accommodations.html.erb @@ -0,0 +1,39 @@ +
We have a wedding block for our guests at the Holiday Inn Express, which is a few minutes away from the venue. The block is booked now, but there are other hotels close by.
+
+
+ We're getting married! Come join us for our Ceremony at Penn Oaks Golf Club at 5:00pm June 7, 2025.
+After, we will enjoy drinks and hors d'oeuvres on the patio for cocktail hour before moving into the ballroom to eat and dance for the reception until 11:00 pm.
+We are looking forward to seeing you there!
+ ++ Your presence is the best gift, but if you’d like to help us start our next chapter, + we’ve put together a registry with some things we love. Feel free to browse or + choose something meaningful to you! +
+
+ <% else %>
+
+ <% end %>
+
+ <% else %>
+
+ <% end %>
+