Make open source
This commit is contained in:
3
app/views/welcome/_calendar_svg.html.erb
Normal file
3
app/views/welcome/_calendar_svg.html.erb
Normal file
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 8 8">
|
||||
<path d="M0 0v2h7v-2h-7zm0 3v4.91c0 .05.04.09.09.09h6.81c.05 0 .09-.04.09-.09v-4.91h-7zm1 1h1v1h-1v-1zm2 0h1v1h-1v-1zm2 0h1v1h-1v-1zm-4 2h1v1h-1v-1zm2 0h1v1h-1v-1z" />
|
||||
</svg>
|
After Width: | Height: | Size: 263 B |
14
app/views/welcome/_footer.html.erb
Normal file
14
app/views/welcome/_footer.html.erb
Normal file
@ -0,0 +1,14 @@
|
||||
<footer id="welcome-index-footer" class="page-footer">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div id="welcome-index-footer-cta" class="col-md-12 text-center">
|
||||
<%= link_to 'RSVP TODAY!', new_guest_path, class: 'btn btn-primary wedding-cta-btn' %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center" id="welcome-index-footer-credits">
|
||||
<small><% t :photo_credits %></small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
11
app/views/welcome/_jumbo.html.erb
Normal file
11
app/views/welcome/_jumbo.html.erb
Normal file
@ -0,0 +1,11 @@
|
||||
<section id="welcome-index-leader" class="jumbotron text-center">
|
||||
<div class="container">
|
||||
<h1 class="jumbotron-heading"><%= t :wedding_couple_names %></h1>
|
||||
<p class="leader-date">
|
||||
<%= t :wedding_date %>, <%= t :wedding_location %>
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to 'RSVP TODAY!', new_guest_path, class: 'btn btn-primary wedding-cta-btn' %>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
3
app/views/welcome/_map_marker_svg.html.erb
Normal file
3
app/views/welcome/_map_marker_svg.html.erb
Normal file
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 8 8">
|
||||
<path d="M3 0c-1.66 0-3 1.34-3 3 0 2 3 5 3 5s3-3 3-5c0-1.66-1.34-3-3-3zm0 1c1.11 0 2 .9 2 2 0 1.11-.89 2-2 2-1.1 0-2-.89-2-2 0-1.1.9-2 2-2z" transform="translate(1)" />
|
||||
</svg>
|
After Width: | Height: | Size: 264 B |
40
app/views/welcome/_plan.html.erb
Normal file
40
app/views/welcome/_plan.html.erb
Normal file
@ -0,0 +1,40 @@
|
||||
<section id="welcome-index-wedding-plan-leader" class="jumbotron text-center">
|
||||
<div class="container">
|
||||
<h1>The Plan</h1>
|
||||
</div>
|
||||
</section>
|
||||
<section id="welcome-index-wedding-plan">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="offset-md-3 col-md-6">
|
||||
<h2>Order of the Day</h2>
|
||||
<p><strong>12:30pm</strong> — Guests arrive</p>
|
||||
<p><strong>1pm</strong> — Wedding service</p>
|
||||
<p><strong>1:30pm</strong> — Cocktails, photos, confetti and canapes</p>
|
||||
<p><strong>3pm-6pm</strong> — Food and drink</p>
|
||||
<p><strong>7pm</strong> — Cutting of the cake! Drinking, dancing!</p>
|
||||
<p><strong>12am</strong> — Bar closes</p>
|
||||
<p>There will be a tab for the evening, followed by a cash bar.</p>
|
||||
<p><strong>Dress code</strong> is warm.</p>
|
||||
<h2>Gifts & Cards</h2>
|
||||
<p>We'd be pleased if you made a donation to charity rather than bringing a gift. Our goal is to raise £1,000 for <%= link_to 'Cool Earth', @cool_earth_url %>, the non-profit that works alongside rainforest communities to halt deforestation and climate change.</p>
|
||||
<p class="text-center"><%= link_to 'Donate to Cool Earth', @cool_earth_url, class: 'btn btn-primary wedding-cta-btn' %></p>
|
||||
<p>If you'd like to send us a card, we'll send you our mailing address by email once you RSVP.</p>
|
||||
<h2>Menu</h2>
|
||||
<p><strong>Starter</strong> — Home Cured Salmon Gravadlax with Horseradish Cream & Beetroot Tart <sup>*</sup> †</p>
|
||||
<p><strong>Main</strong> — Fricassee of Chicken with Lyonnaise Potato ‡</p>
|
||||
<p><strong>Dessert</strong> — Choux Swan with Chocolate & Brandy Sauce <sup>§</sup></p>
|
||||
<p><strong>Children's Menu</strong>: Garlic bread, chicken goujons and chips, ice cream.</p>
|
||||
<ul class="list-unstyled">
|
||||
<li><small><sup>*</sup> Gluten free & vegan starter: Tomato soup</small></li>
|
||||
<li><small>† Gluten free & dairy free starter: Gravadlax served without tart</small></li>
|
||||
<li><small>‡ Main is gluten free. Vegan main: Aubergine & Black Bean Chilli with Cumin Rice</small></li>
|
||||
<li><small><sup>§</sup> Vegan, gluten free & dairy free dessert: Fruit platter</small></li>
|
||||
</ul>
|
||||
<p>The venue is making every effort to cater for vegan, vegetarian, gluten free, allergies and other dietary preferences, as indicated in your RSVPs.</p>
|
||||
<h2>RSVPs</h2>
|
||||
<p>Please RSVP as soon as possible, so we know who is coming and can make sure we keep a seat and a piece of cake for you if you can come! If it turns out you can’t make it, please let us know as soon as you can.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
19
app/views/welcome/_venue.html.erb
Normal file
19
app/views/welcome/_venue.html.erb
Normal file
@ -0,0 +1,19 @@
|
||||
<section id="welcome-index-venue-leader" class="jumbotron text-center">
|
||||
<div class="container">
|
||||
<h1>The Venue</h1>
|
||||
</div>
|
||||
</section>
|
||||
<section id="welcome-index-venue">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="offset-md-3 col-md-6">
|
||||
<h2>How do I get there?</h2>
|
||||
<p>Ships sail regularly from Ushuaia, Argentina. Allow two days.</p>
|
||||
<p>There is ample snow mobile parking. Watch out for penguins.</p>
|
||||
<h2>Coming from out of town?</h2>
|
||||
<p>The station has a number of rooms that you can get at the <strong>discounted wedding rate</strong>.</p>
|
||||
<p>Check in is from 3pm, so you may not be able to get ready in your room if you book it just for the night of the wedding.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
33
app/views/welcome/_when_where.html.erb
Normal file
33
app/views/welcome/_when_where.html.erb
Normal file
@ -0,0 +1,33 @@
|
||||
<section id="welcome-index-when-where">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<h1>When & Where</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 text-center">
|
||||
<h2><%= link_to 'wedding.ics' do -%>
|
||||
<%= render partial: 'calendar_svg' %>
|
||||
<%- end %></h2>
|
||||
<p>
|
||||
<strong>12:30pm – late</strong><br>
|
||||
<%= t :wedding_date %><br>
|
||||
<br>
|
||||
</p>
|
||||
<p><%= link_to 'Add to Calendar', 'wedding.ics' %></p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center">
|
||||
<h2><%= link_to @google_maps_url do -%>
|
||||
<%= render partial: 'map_marker_svg' %>
|
||||
<%- end %></h2>
|
||||
<p>
|
||||
<%= render partial: 'wedding_address' %>
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to 'Google Maps', @google_maps_url %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
7
app/views/welcome/index.html.erb
Normal file
7
app/views/welcome/index.html.erb
Normal file
@ -0,0 +1,7 @@
|
||||
<main role="main">
|
||||
<%= render partial: 'jumbo' %>
|
||||
<%= render partial: 'when_where' %>
|
||||
<%= render partial: 'venue' %>
|
||||
<%= render partial: 'plan' %>
|
||||
</main>
|
||||
<%= render partial: 'footer' %>
|
Reference in New Issue
Block a user