jekyll-theme-easy-wedding 0.1.3 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8759b3b2c59e2c6a3e98af5be6359c49a13244a4b58fd62183feb469c29d75b9
4
- data.tar.gz: c5527273e6dd249c1bb6a2dd396eb3747813dce7471c556175d63b32f4ed5a8c
3
+ metadata.gz: 2760604dd018bc253afbd80c4801d0356afd4b218d4e0d003da5bdd10c8e2dfc
4
+ data.tar.gz: 96f8efe7118d1ea551c0d5b20c2741d08b8010b65db619d8b8cd115218e0e9be
5
5
  SHA512:
6
- metadata.gz: a2f75e70fe0bd72ad2a6dba806646f40a7b84376585306afe5b54c6062361266cc9308de6621c5854318655c2084b9b9506892b75c9ce5d5e791572a4fce4020
7
- data.tar.gz: b61e79c9ecedfdcc97ece188737f416fa9e852ccfa143481e506ef7c5d6b72e462190fad83d35fdd35d7a0fb12e36368d42a37df2304f39d68f20ab105bfbe25
6
+ metadata.gz: 36f6427491301993507c0eabb33cc8165cc41f1508701e1e446a69707fa8cdf277b21a3ad90c454e18cca747adf8c328c543ccdc74caaec69181b307384b019f
7
+ data.tar.gz: 6b7dd21428952b27eb83126d2cb57310d0215721a06f1d36be6043e7dbebb678b9168c93cdb542cf1fd1d2a5f99ec5b052f5ecc309aeaaca1a4179040b6b7555
@@ -17,7 +17,7 @@
17
17
  <div class="row">
18
18
  <address class="col-xs-8 text-left">
19
19
  <strong>{{ event.location_name }}</strong><br>
20
- <a href="{{ event.google_maps_url }}">
20
+ <a href="{{ event.location.google_maps_url }}">
21
21
  {{ event.location.address }}<br>
22
22
  {{ event.location.city }}, {{ event.location.state }} {{ event.location.zip }}<br>
23
23
  </a>
@@ -157,7 +157,7 @@
157
157
  <div class="col-sm-6">
158
158
  <div class="row">
159
159
  <p class="col-xs-offset-1 col-xs-10">
160
- <img class="img-responsive" src="{{site.baseurl}}/assets/img/uber-black.png">
160
+ <img class="img-responsive" src="{{site.baseurl}}assets/img/uber-black.png">
161
161
  </p>
162
162
  <div class="clearfix"></div>
163
163
  <p class="col-xs-12 text-center">
@@ -177,7 +177,7 @@
177
177
  <div class="col-sm-6">
178
178
  <div class="row">
179
179
  <p class="col-xs-offset-3 col-xs-6">
180
- <img class="img-responsive" src="{{site.baseurl}}/assets/img/lyft.svg" width="100%">
180
+ <img class="img-responsive" src="{{site.baseurl}}assets/img/lyft.svg" width="100%">
181
181
  </p>
182
182
  <div class="clearfix"></div>
183
183
  <p class="col-xs-12 text-center">
@@ -11,8 +11,8 @@
11
11
  <div id="mc_embed_signup">
12
12
  <form action="//chrisbaclig.us2.list-manage.com/subscribe/post?u=87bc541350a8d9fdfbf974458&amp;id=dde4d12650" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
13
13
  <div class="modal-header">
14
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
15
14
  <h4 class="modal-title" id="myModalLabel">Receive Email Updates</h4>
15
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
16
16
  </div>
17
17
  <div class="modal-body form-horizontal text-center">
18
18
  <p>
@@ -38,7 +38,7 @@
38
38
  <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_87bc541350a8d9fdfbf974458_dde4d12650" tabindex="-1" value=""></div>
39
39
  </div>
40
40
  <div class="modal-footer">
41
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
41
+ <button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button>
42
42
  <input type="submit" class="btn btn-primary" value="Subscribe" name="subscribe" id="mc-embedded-subscribe">
43
43
  </div>
44
44
  </form>
data/_includes/head.html CHANGED
@@ -10,9 +10,6 @@
10
10
  {% feed_meta %}
11
11
  {% seo %}
12
12
 
13
- <!-- Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ -->
14
- <link rel="stylesheet" href="{{ "/assets/css/bootstrap.min.css" | prepend: site.baseurl }}">
15
-
16
13
  <!-- Custom CSS -->
17
14
  <link rel="stylesheet" href="{{ "/assets/css/styles.css" | prepend: site.baseurl }}">
18
15
 
@@ -1,3 +1,3 @@
1
- {% for modal in site.modals %}
2
- {{ modal.content | markdownify }}
3
- {% endfor %}
1
+ {% include modals/rsvp.html %}
2
+ {% include modals/rsvp_no.html %}
3
+ {% include modals/rsvp_yes.html %}
@@ -1,14 +1,14 @@
1
- {% capture content %}
1
+ {% capture modal_content %}
2
2
  <form>
3
3
  <div class="modal-header">
4
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
5
- <h4 class="modal-title" id="myModalLabel">{{ page.name }}</h4>
4
+ <h4 class="modal-title" id="myModalLabel">{{ include.name }}</h4>
5
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
6
6
  </div>
7
7
  <div class="modal-body form-horizontal text-center">
8
8
  {{ content }}
9
9
  </div>
10
10
  <div class="modal-footer">
11
- <button type="button" class="btn btn-default" data-dismiss="modal">
11
+ <button type="button" class="btn btn-default" data-bs-dismiss="modal">
12
12
  {% if page.cancel_text %}
13
13
  {{ page.cancel_text }}
14
14
  {% else %}
@@ -26,4 +26,4 @@
26
26
  </form>
27
27
  {% endcapture %}
28
28
 
29
- {% include modals/modal.html content=content %}
29
+ {% include modals/modal.html content=modal_content modal_id=include.modal_id%}
@@ -1,4 +1,4 @@
1
- <div class="modal fade" id="{{ page.modal_id }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
1
+ <div class="modal fade" id="{{ include.modal_id }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
2
2
  <div class="modal-dialog" role="document">
3
3
  <div class="modal-content">
4
4
  {{ include.content }}
@@ -0,0 +1,95 @@
1
+ {% capture name %}
2
+ RSVP
3
+ {% endcapture %}
4
+ {% capture modal_content %}
5
+ <form id="rsvp-form" class="rsvp-form" action="" method="POST">
6
+ <div class="modal-header">
7
+ <h4 class="modal-title" id="myModalLabel">{{ name }}</h4>
8
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
9
+ </div>
10
+
11
+ <div class="modal-body form-horizontal text-center">
12
+ <div class="input-group">
13
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
14
+ <input name="name1" class="guest-input form-control" placeholder="Your Name" required id="primary-name">
15
+ </div>
16
+
17
+ <div class="input-group">
18
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
19
+ <input name="name2" class="guest-input form-control" placeholder="Your Guest" id="primary-guest" autocomplete="new-password">
20
+ </div>
21
+
22
+ {% if site.data.settings.rsvp.no_extra_guests_message %}
23
+ <div class="collapse rsvp-help-collapse help-text" id="rsvp-warning-text">
24
+ <div>{{ site.data.settings.rsvp.no_extra_guests_message }}</div>
25
+ </div>
26
+ {% endif %}
27
+
28
+ <div class="collapse" id="guest-names-collapse">
29
+ <div class="input-group">
30
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
31
+ <input name="name3" class="guest-input form-control" placeholder="Your 2nd Guest" autocomplete="new-password">
32
+ </div>
33
+ <div class="input-group">
34
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
35
+ <input name="name4" class="guest-input form-control" placeholder="Your 3rd Guest" autocomplete="new-password">
36
+ </div>
37
+ </div>
38
+
39
+ <div class="input-group">
40
+ <span class="input-group-text"><i class="fa fa-phone"></i></span>
41
+ <input id="phone-input" type="tel" name="phone" class="form-control" placeholder="Your Phone Number" required>
42
+ </div>
43
+ <div class="collapse help-text" id="phone-help">
44
+ <div>We'll send you a text with the event details</div>
45
+ </div>
46
+
47
+ {% if site.data.settings.rsvp.use_code %}
48
+ <div class="input-group invite-code-group">
49
+ <span class="input-group-text"><i class="fa fa-key"></i></span>
50
+ <input type="text" name="invite_code" id="invite-code" class="form-control" placeholder="Invite Code" required autocomplete="new-password">
51
+ <span class="input-group-text"><i class="fa fa-info-circle rsvp-help-toggle" id="rsvp-help-toggle"></i></span>
52
+ </div>
53
+ <div class="collapse rsvp-help-collapse help-text" id="rsvp-code-help-text">
54
+ <div>{{ site.data.settings.rsvp.code_location }}</div>
55
+ </div>
56
+ {% endif %}
57
+
58
+ <div class="form-check form-check-inline">
59
+ <input class="form-check-input" type="radio" name="rsvpRadio" id="rsvp-yes" value="yes" required>
60
+ <label class="form-check-label" for="rsvp-yes">{{ site.data.settings.rsvp.yes_text }}</label>
61
+ </div>
62
+ <div class="form-check form-check-inline">
63
+ <input class="form-check-input" type="radio" name="rsvpRadio" id="rsvp-no" value="no" required>
64
+ <label class="form-check-label" for="rsvp-no">{{ site.data.settings.rsvp.no_text }}</label>
65
+ </div>
66
+
67
+ {% if site.data.settings.rsvp.song_text %}
68
+ <div class="input-group">
69
+ <span class="input-group-text"><i class="fa fa-music"></i></span>
70
+ <input type="text" name="song" class="form-control" placeholder="{{site.data.settings.rsvp.song_text}}" autocomplete="new-password">
71
+ </div>
72
+ {% endif %}
73
+
74
+ {% if site.data.settings.rsvp.leave_a_message_text %}
75
+ <div class="input-group">
76
+ <span class="input-group-text"><i class="fa fa-envelope"></i></span>
77
+ <textarea class="form-control" name="message" rows="3" placeholder="{{site.data.settings.rsvp.leave_a_message_text}}" autocomplete="new-password"></textarea>
78
+ </div>
79
+ {% endif %}
80
+
81
+ <div class="alert-wrapper" id="alert-wrapper"></div>
82
+ </div>
83
+
84
+ <div class="modal-footer">
85
+ <button type="button" class="btn btn-default" data-bs-dismiss="modal">
86
+ {{ site.data.settings.rsvp.cancel_text }}
87
+ </button>
88
+ <button type="submit" class="btn btn-primary" value="Submit" name="submit">
89
+ {{ site.data.settings.rsvp.submit_text }}
90
+ </button>
91
+ </div>
92
+ </form>
93
+ {% endcapture %}
94
+
95
+ {% include modals/modal.html content=modal_content name=name modal_id='rsvp-modal' %}
@@ -0,0 +1,13 @@
1
+ {% capture modal_content %}
2
+ <div class="modal-header">
3
+ <h4 class="modal-title" id="myModalLabel">{{ site.data.settings.rsvp.no_modal_title }}</h4>
4
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
5
+ </div>
6
+ <div class="modal-body">
7
+ <div class="section-padding">
8
+ <p>{{ site.data.settings.rsvp.no_modal_body }}</p>
9
+ <p>{{ site.data.settings.rsvp.sms_followup_text }}</p>
10
+ </div>
11
+ </div>
12
+ {% endcapture %}
13
+ {% include modals/modal.html content=modal_content name='RSVP No' modal_id='rsvp-no-modal' %}
@@ -0,0 +1,44 @@
1
+ {% capture modal_content %}
2
+ <div class="modal-header">
3
+ <h4 class="modal-title" id="myModalLabel">{{ site.data.settings.rsvp.yes_modal_title }}</h4>
4
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
5
+ </div>
6
+ <div class="modal-body">
7
+ <div class="section-padding">
8
+ <p>{{ site.data.settings.rsvp.yes_modal_body }}</p>
9
+ <p>{{ site.data.settings.rsvp.sms_followup_text }}</p>
10
+ <div id="add-to-cal"></div>
11
+ </div>
12
+ </div>
13
+ {% endcapture %}
14
+
15
+ {% assign main_event = site.data.events | where: "main_event", true | first %}
16
+ {%- capture eventTitle -%}
17
+ {{ site.data.couple.spouse1.short_name }}'s and {{ site.data.couple.spouse2.short_name }}'s Wedding
18
+ {%- endcapture -%}
19
+ <script>
20
+ const myCalendar = createAddToCalendarButton({
21
+ // Event title
22
+ title: "{{ eventTitle | escape }}",
23
+
24
+ // Event start date
25
+ start: new Date(Number("{{ main_event.date | date: '%s' }}") * 1000),
26
+
27
+ // Event duration (IN MINUTES)
28
+ // duration: 4 * 60,
29
+
30
+ // You can also choose to set an end time
31
+ // If an end time is set, this will take precedence over duration
32
+ end: new Date(Number("{{ main_event.endDate | date: '%s' }}") * 1000),
33
+
34
+ // Event Address
35
+ address: '{{ main_event.location.address }} {{ main_event.location.city }}, {{ main_event.location.state }} {{ main_event.location.zip }}',
36
+
37
+ // Event Description
38
+ description: "{{ main_event.calendar_description}} \n\nWebsite: {{site.url}}"
39
+ },
40
+ 'add-to-cal',
41
+ );
42
+ </script>
43
+
44
+ {% include modals/modal.html content=modal_content name='RSVP Yes' modal_id='rsvp-yes-modal' %}
data/_includes/nav.html CHANGED
@@ -1,20 +1,21 @@
1
1
  <!-- Navigation -->
2
- <nav class="navbar navbar-custom navbar-fixed-top {% if page.invisible_nav %} navbar-hidden-top {% else %} top-nav-collapse {% endif %}" role="navigation">
2
+ <nav class="navbar navbar-custom navbar-expand-lg fixed-top {% if page.invisible_nav %} navbar-hidden-top {% else %} top-nav-collapse {% endif %}"
3
+ role="navigation"
4
+ id="navbar"
5
+ >
3
6
  <div class="container">
4
- <div class="navbar-header">
5
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
6
- <i class="fa fa-bars"></i>
7
- </button>
8
- <a class="navbar-brand" href="{{site.baseurl}}/">
9
- {{ site.data.couple.spouse1.short_name | slice: 0 }}
10
- &
11
- {{ site.data.couple.spouse2.short_name | slice: 0 }}
12
- </a>
13
- </div>
7
+ <a class="navbar-brand" href="{{site.baseurl}}/">
8
+ {{ site.data.couple.spouse1.short_name | slice: 0 }}
9
+ &
10
+ {{ site.data.couple.spouse2.short_name | slice: 0 }}
11
+ </a>
12
+ <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbar-main-collapse">
13
+ <i class="fa fa-bars"></i>
14
+ </button>
14
15
 
15
16
  <!-- Collect the nav links, forms, and other content for toggling -->
16
- <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
17
- <ul class="nav navbar-nav">
17
+ <div class="collapse navbar-collapse navbar-right" id="navbar-main-collapse">
18
+ <ul class="nav navbar-nav ms-auto">
18
19
  <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
19
20
  <li class="hidden">
20
21
  <a href="#page-top"></a>
@@ -22,15 +23,15 @@
22
23
 
23
24
  {% for item in site.data.navigation %}
24
25
  {% if item.modal_id %}
25
- <li class="modal-link">
26
- <a href="#" data-toggle="modal" data-target="#{{item.modal_id}}">
26
+ <li class="modal-link nav-item">
27
+ <a class="nav-link" href="#" data-bs-toggle="modal" data-bs-target="#{{item.modal_id}}">
27
28
  {{ item.name }}
28
29
  <!-- <i class="fa fa-exclamation-circle modal-link--icon"></i> -->
29
30
  </a>
30
31
  </li>
31
32
  {% else %}
32
- <li class="{% if page.url == {{site.baseurl}}/item.link %}active{% endif %}">
33
- <a href="{{site.baseurl}}{{item.link}}">{{ item.name }}</a>
33
+ <li class="{% if page.url == {{site.baseurl}}/item.link %}active{% endif %} nav-item">
34
+ <a href="{{site.baseurl}}{{item.link}}" class="nav-link">{{ item.name }}</a>
34
35
  </li>
35
36
  {% endif %}
36
37
  {% endfor %}
@@ -42,25 +42,30 @@ const loadMore = function() {
42
42
  listElm.appendChild(item);
43
43
  item.classList.add('img-enlargeable');
44
44
 
45
+ const modalCloseListener = (e) => (e.key==='Escape') ? removeModal() : null;
46
+
45
47
  item.addEventListener('click', function(){
46
- const src = $(this).attr('src');
48
+ const src = this.getAttribute('src');
47
49
  let modal;
48
- function removeModal(){ modal.remove(); $('body').off('keyup.modal-close'); }
49
- modal = $('<div>').css({
50
- background: 'RGBA(0,0,0,.5) url('+src+') no-repeat center',
51
- backgroundSize: 'contain',
52
- width:'100%', height:'100%',
53
- position:'fixed',
54
- zIndex:'10000',
55
- top:'0', left:'0',
56
- cursor: 'zoom-out'
57
- }).click(function(){
58
- removeModal();
59
- }).appendTo('body');
50
+ function removeModal(){
51
+ modal.remove();
52
+ document.body.removeEventListener('keyup', modalCloseListener);
53
+ }
54
+ modal = document.createElement('div');
55
+ modal.style.background = 'RGBA(0,0,0,.5) url('+src+') no-repeat center';
56
+ modal.style.backgroundSize = 'contain';
57
+ modal.style.width = '100%';
58
+ modal.style.height = '100%';
59
+ modal.style.position = 'fixed';
60
+ modal.style.zIndex = '10000';
61
+ modal.style.top = '0';
62
+ modal.style.left = '0';
63
+ modal.style.cursor = 'zoom-out';
64
+ modal.onclick = removeModal;
65
+ document.body.appendChild(modal);
66
+
60
67
  //handling ESC
61
- $('body').on('keyup.modal-close', function(e){
62
- if(e.key==='Escape'){ removeModal(); }
63
- });
68
+ document.body.addEventListener('keyup.modal-close', modalCloseListener);
64
69
  });
65
70
  }
66
71
  }
@@ -3,20 +3,24 @@
3
3
  {% include head.html %}
4
4
  <body data-target=".navbar-fixed-top">
5
5
  <!-- Javascript Imports -->
6
- {% include js.html src="assets/js/jquery.js" %}
7
- {% include js.html src="assets/js/bootstrap.min.js" %}
8
- {% include js.html src="assets/js/jquery.easing.min.js" %}
6
+ {% include js.html src='assets/js/ouical.min.js' %}
7
+ {% include js.html src="assets/main-bundle.js" %}
9
8
  {% include js.html src="assets/js/globals.js" %}
10
- {% include js.html src="assets/js/main.js" %}
11
9
 
12
10
  {% include modals.html %}
13
- {% include nav.html %}
11
+
12
+ {% if page.show_nav != false %}
13
+ {% include nav.html %}
14
+ {% endif %}
14
15
 
15
16
  <div class="content-wrapper">
16
17
  {{ content }}
17
18
  </div>
18
- <div class="footer-wrapper">
19
- {% include footer.html %}
20
- </div>
19
+
20
+ {% if page.show_footer != false %}
21
+ <div class="footer-wrapper">
22
+ {% include footer.html %}
23
+ </div>
24
+ {% endif %}
21
25
  </body>
22
26
  </html>
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="under-construction-container" style="background-image: url('{{ site.baseurl }}/{{ page.background }}');">
5
+ <div class="under-construction-content">
6
+ <h1>{{ site.data.couple.spouse1.short_name }} & {{ site.data.couple.spouse2.short_name }}</h1>
7
+ <span>more coming soon</span>
8
+ </div>
9
+ </div>
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+
@@ -1,10 +1,8 @@
1
1
  ---
2
+ intro_image: 'assets/img/header.jpg'
2
3
  ---
3
4
 
4
- $intro_image: '../img/header.jpg';
5
- $story2: '../img/ourstory/story-two.jpg';
6
- $story3: '../img/ourstory/story-three.jpg';
7
- $story4: '../img/ourstory/story-four.jpg';
8
-
9
-
10
- @import "main";
5
+ :root {
6
+ --intro-background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 0%,
7
+ rgba(0,0,0,0.65) 100%),url({{page.intro_image}}) no-repeat center center scroll;
8
+ }
Binary file
data/assets/js/globals.js CHANGED
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  ---
3
3
 
4
- var use_rsvp_code = {{ site.data.settings.rsvp.use_code }};
5
- var rsvp_code_md5 = '{{ site.data.settings.rsvp.code_md5 }}';
6
- var rsvp_post_address = '{{ site.data.settings.rsvp.post_address }}';
7
- var api_key = '{{ site.data.settings.rsvp.api_key }}';
4
+ var jekyll_globals = {
5
+ use_rsvp_code: {{ site.data.settings.rsvp.use_code }},
6
+ rsvp_code_md5: '{{ site.data.settings.rsvp.code_md5 }}',
7
+ rsvp_post_address: '{{ site.data.settings.rsvp.post_address }}',
8
+ api_key: '{{ site.data.settings.rsvp.api_key }}',
9
+ }