jekyll-theme-easy-wedding 0.1.6 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d36ecb13505082c0fa78169149318dcc7fe56e688a4ae9a2e66e2b3990f2df8
4
- data.tar.gz: 34396c71c5e3dd5783da51d97f1840111847acb6cb0d736796a48a81949a179d
3
+ metadata.gz: 27cc38f66bb28dc441c3adc84d1c4cc9f26ed5ed768fd679b50d5d293df5e3c1
4
+ data.tar.gz: fc3238a029d53457ffc8f76d152ea787da2358d884443ac5fc31bd90a5a758a4
5
5
  SHA512:
6
- metadata.gz: 1f0fe46c58338c3620cb68337d618d00f9d15d91fbf5c6c0fbb1e51b251600dc9848436bf64c7bef02c6d2df91a4aeb91d23d1afc90d60a6377bbc92d1452de4
7
- data.tar.gz: a31664ddabcc0f20e60a8505e1d4929ceacf019f6f94cd554c073524521815bce84ddb6c484b22da89e50a1760b5d213848bbc06a538ad6ce7ee83ac347d4edb
6
+ metadata.gz: 7e40c47ae10ac5a9500c0d5bfb1c17cbd925a2bec096b90a218b7fc1d05e3f28b02a1ef6a4ac445315f92f22efaf7cfa82ee1606f1b8c6a5e0de9e300b609f78
7
+ data.tar.gz: c7a559d72299e88bc2f0041e00711559773a4d64aeccf0de3cbfc6ac6654fe44a2a4fb72bbfe07d101d3aa590b7a636acc3bed01b2fd2c8b9085f41dc5152b9c
@@ -1,11 +1,11 @@
1
1
  {% for event in site.data.events %}
2
- <section class="container content-section {% cycle 'text-left', 'text-right' %}">
3
- <div class="row">
4
- <div class="col-lg-7 col-lg-offset-{% cycle 2, 3 %} col-sm-offset-2 col-sm-8">
2
+ <section class="container content-section">
3
+ <div class="row {% cycle 'justify-content-start', 'justify-content-end' %}">
4
+ <div class="col-lg-7 col-sm-8">
5
5
  <h2>
6
6
  {{ event.name }}
7
7
  <br>
8
- <small>
8
+ <small class="text-muted wrap-whitespace date-subheader">
9
9
  {% if event.date %}
10
10
  {{ event.date | date: '%A, %B %e, %Y' }} | {{ event.date | date: '%l:%M %p' }}
11
11
  {% else %}
@@ -14,16 +14,20 @@
14
14
  </small>
15
15
  </h2>
16
16
 
17
- <div class="row">
18
- <address class="col-xs-8 text-left">
17
+ <div class="d-flex justify-content-between align-items-center">
18
+ <address class="col-xs-8 ">
19
+ {% if event.location_name %}
19
20
  <strong>{{ event.location_name }}</strong><br>
21
+ {% endif %}
22
+ {% if event.location.google_maps_url %}
20
23
  <a href="{{ event.location.google_maps_url }}">
21
24
  {{ event.location.address }}<br>
22
25
  {{ event.location.city }}, {{ event.location.state }} {{ event.location.zip }}<br>
23
26
  </a>
27
+ {% endif %}
24
28
  </address>
25
29
 
26
- <dl class="col-xs-4 text-right">
30
+ <dl class="col-xs-4">
27
31
  <dt>Attire</dt>
28
32
  <dd>{{ event.attire | capitalize }}</dd>
29
33
  </dl>
@@ -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/faq.html CHANGED
@@ -1,9 +1,9 @@
1
- <section class="container content-section text-center">
2
- <div class="row">
3
- <div class="col-lg-8 col-lg-offset-2 text-left">
1
+ <section class="container content-section">
2
+ <div class="row justify-content-center">
3
+ <div class="col-lg-8">
4
4
  <dl>
5
5
  {% for one in site.data.faq %}
6
- <dt><h3>{{ one.question }}</h3></dt>
6
+ <dt><h3 class="faq-question">{{ one.question }}</h3></dt>
7
7
  <dd><p class="faq-answer">{{ one.answer }}</p></dd>
8
8
  {% endfor %}
9
9
  </dl>
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,14 +1,14 @@
1
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
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 %}
@@ -4,19 +4,18 @@ RSVP
4
4
  {% capture modal_content %}
5
5
  <form id="rsvp-form" class="rsvp-form" action="" method="POST">
6
6
  <div class="modal-header">
7
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
8
- aria-hidden="true">&times;</span></button>
9
7
  <h4 class="modal-title" id="myModalLabel">{{ name }}</h4>
8
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
10
9
  </div>
11
10
 
12
11
  <div class="modal-body form-horizontal text-center">
13
12
  <div class="input-group">
14
- <span class="input-group-addon"><i class="fa fa-user"></i></span>
13
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
15
14
  <input name="name1" class="guest-input form-control" placeholder="Your Name" required id="primary-name">
16
15
  </div>
17
16
 
18
17
  <div class="input-group">
19
- <span class="input-group-addon"><i class="fa fa-user"></i></span>
18
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
20
19
  <input name="name2" class="guest-input form-control" placeholder="Your Guest" id="primary-guest" autocomplete="new-password">
21
20
  </div>
22
21
 
@@ -28,17 +27,17 @@ RSVP
28
27
 
29
28
  <div class="collapse" id="guest-names-collapse">
30
29
  <div class="input-group">
31
- <span class="input-group-addon"><i class="fa fa-user"></i></span>
30
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
32
31
  <input name="name3" class="guest-input form-control" placeholder="Your 2nd Guest" autocomplete="new-password">
33
32
  </div>
34
33
  <div class="input-group">
35
- <span class="input-group-addon"><i class="fa fa-user"></i></span>
34
+ <span class="input-group-text"><i class="fa fa-user"></i></span>
36
35
  <input name="name4" class="guest-input form-control" placeholder="Your 3rd Guest" autocomplete="new-password">
37
36
  </div>
38
37
  </div>
39
38
 
40
39
  <div class="input-group">
41
- <span class="input-group-addon"><i class="fa fa-phone"></i></span>
40
+ <span class="input-group-text"><i class="fa fa-phone"></i></span>
42
41
  <input id="phone-input" type="tel" name="phone" class="form-control" placeholder="Your Phone Number" required>
43
42
  </div>
44
43
  <div class="collapse help-text" id="phone-help">
@@ -47,34 +46,34 @@ RSVP
47
46
 
48
47
  {% if site.data.settings.rsvp.use_code %}
49
48
  <div class="input-group invite-code-group">
50
- <span class="input-group-addon"><i class="fa fa-key"></i></span>
51
- <input type="text" name="invite_code" id="invite_code" class="form-control" placeholder="Invite Code" required autocomplete="new-password">
52
- <span class="input-group-addon"><i class="fa fa-info-circle rsvp-help-toggle" id="rsvp-help-toggle"></i></span>
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>
53
52
  </div>
54
53
  <div class="collapse rsvp-help-collapse help-text" id="rsvp-code-help-text">
55
54
  <div>{{ site.data.settings.rsvp.code_location }}</div>
56
55
  </div>
57
56
  {% endif %}
58
57
 
59
- <div class="input-group">
60
- <label class="radio-inline">
61
- <input type="radio" name="rsvpRadio" id="rsvp-yes" value="yes" required> {{ site.data.settings.rsvp.yes_text }}
62
- </label>
63
- <label class="radio-inline">
64
- <input type="radio" name="rsvpRadio" id="rsvp-no" value="no" required> {{ site.data.settings.rsvp.no_text }}
65
- </label>
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>
66
65
  </div>
67
66
 
68
67
  {% if site.data.settings.rsvp.song_text %}
69
68
  <div class="input-group">
70
- <span class="input-group-addon"><i class="fa fa-music"></i></span>
69
+ <span class="input-group-text"><i class="fa fa-music"></i></span>
71
70
  <input type="text" name="song" class="form-control" placeholder="{{site.data.settings.rsvp.song_text}}" autocomplete="new-password">
72
71
  </div>
73
72
  {% endif %}
74
73
 
75
74
  {% if site.data.settings.rsvp.leave_a_message_text %}
76
75
  <div class="input-group">
77
- <span class="input-group-addon"><i class="fa fa-envelope"></i></span>
76
+ <span class="input-group-text"><i class="fa fa-envelope"></i></span>
78
77
  <textarea class="form-control" name="message" rows="3" placeholder="{{site.data.settings.rsvp.leave_a_message_text}}" autocomplete="new-password"></textarea>
79
78
  </div>
80
79
  {% endif %}
@@ -83,7 +82,7 @@ RSVP
83
82
  </div>
84
83
 
85
84
  <div class="modal-footer">
86
- <button type="button" class="btn btn-default" data-dismiss="modal">
85
+ <button type="button" class="btn btn-default" data-bs-dismiss="modal">
87
86
  {{ site.data.settings.rsvp.cancel_text }}
88
87
  </button>
89
88
  <button type="submit" class="btn btn-primary" value="Submit" name="submit">
@@ -93,5 +92,4 @@ RSVP
93
92
  </form>
94
93
  {% endcapture %}
95
94
 
96
- {% include js.html src="assets/js/rsvp.js" %}
97
95
  {% include modals/modal.html content=modal_content name=name modal_id='rsvp-modal' %}
@@ -1,8 +1,7 @@
1
1
  {% capture modal_content %}
2
2
  <div class="modal-header">
3
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
4
- aria-hidden="true">&times;</span></button>
5
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>
6
5
  </div>
7
6
  <div class="modal-body">
8
7
  <div class="section-padding">
@@ -1,8 +1,7 @@
1
1
  {% capture modal_content %}
2
2
  <div class="modal-header">
3
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
4
- aria-hidden="true">&times;</span></button>
5
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>
6
5
  </div>
7
6
  <div class="modal-body">
8
7
  <div class="section-padding">
@@ -13,22 +12,12 @@
13
12
  </div>
14
13
  {% endcapture %}
15
14
 
16
- {% include js.html src='assets/js/ouical.min.js' %}
17
-
18
15
  {% assign main_event = site.data.events | where: "main_event", true | first %}
19
16
  {%- capture eventTitle -%}
20
17
  {{ site.data.couple.spouse1.short_name }}'s and {{ site.data.couple.spouse2.short_name }}'s Wedding
21
18
  {%- endcapture -%}
22
19
  <script>
23
- // const ouical = require('/assets/js/ouical.js');
24
- $(document).ready(function () {
25
- const myCalendar = createCalendar({
26
- options: {
27
- class: '',
28
- // You can pass an ID. If you don't, one will be generated for you
29
- id: ''
30
- },
31
- data: {
20
+ const myCalendar = createAddToCalendarButton({
32
21
  // Event title
33
22
  title: "{{ eventTitle | escape }}",
34
23
 
@@ -47,11 +36,9 @@ $(document).ready(function () {
47
36
 
48
37
  // Event Description
49
38
  description: "{{ main_event.calendar_description}} \n\nWebsite: {{site.url}}"
50
- }
51
- });
52
-
53
- $('#add-to-cal').html(myCalendar);
54
- });
55
- </script>
39
+ },
40
+ 'add-to-cal',
41
+ );
42
+ </script>
56
43
 
57
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 %}
@@ -1,9 +1,9 @@
1
1
  <!-- Intro Header -->
2
2
  <header class="intro">
3
3
  <div class="intro-body">
4
- <div class="container">
5
- <div class="row">
6
- <div class="col-md-10 col-md-offset-2">
4
+ <div class="container-fluid">
5
+ <div class="row justify-content-center">
6
+ <div class="col-md-10">
7
7
  <h1 class="brand-heading">{{ site.data.couple.spouse1.short_name }} & {{ site.data.couple.spouse2.short_name }}</h1>
8
8
  <p class="intro-text">
9
9
  {% assign main_event = site.data.events | where: "main_event", true | first %}
@@ -31,8 +31,8 @@
31
31
  {% endif %}
32
32
 
33
33
  <section id="ourstory" class="container content-section text-center">
34
- <div class="row">
35
- <div class="col-lg-10 col-lg-offset-1">
34
+ <div class="row justify-content-center">
35
+ <div class="col-lg-10">
36
36
  {{ story.content | markdownify }}
37
37
  </div>
38
38
  </div>
@@ -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,11 +3,9 @@
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
11
 
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+