Make open source

This commit is contained in:
John Lees-Miller
2018-10-27 16:46:26 +01:00
commit 6e82ba528b
163 changed files with 3912 additions and 0 deletions

View 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

View 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>

View 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>

View 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

View 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> &mdash; Guests arrive</p>
<p><strong>1pm</strong> &mdash; Wedding service</p>
<p><strong>1:30pm</strong> &mdash; Cocktails, photos, confetti and canapes</p>
<p><strong>3pm-6pm</strong> &mdash; Food and drink</p>
<p><strong>7pm</strong> &mdash; Cutting of the cake! Drinking, dancing!</p>
<p><strong>12am</strong> &mdash; 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 &amp; 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> &mdash; Home Cured Salmon Gravadlax with Horseradish Cream &amp; Beetroot Tart <sup>*</sup> &dagger;</p>
<p><strong>Main</strong> &mdash; Fricassee of Chicken with Lyonnaise Potato &ddagger;</p>
<p><strong>Dessert</strong> &mdash; Choux Swan with Chocolate & Brandy Sauce <sup>&sect;</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 &amp; vegan starter: Tomato soup</small></li>
<li><small>&dagger; Gluten free &amp; dairy free starter: Gravadlax served without tart</small></li>
<li><small>&ddagger; Main is gluten free. Vegan main: Aubergine &amp; Black Bean Chilli with Cumin Rice</small></li>
<li><small><sup>&sect;</sup> Vegan, gluten free &amp; 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 cant make it, please let us know as soon as you can.</p>
</div>
</div>
</div>
</section>

View 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>

View 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 &amp; 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 &ndash; late</strong><br>
<%= t :wedding_date %><br>
&nbsp;<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>

View 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' %>