jekyll-theme-easy-wedding 0.1.6 → 0.1.10

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: 2760604dd018bc253afbd80c4801d0356afd4b218d4e0d003da5bdd10c8e2dfc
4
+ data.tar.gz: 96f8efe7118d1ea551c0d5b20c2741d08b8010b65db619d8b8cd115218e0e9be
5
5
  SHA512:
6
- metadata.gz: 1f0fe46c58338c3620cb68337d618d00f9d15d91fbf5c6c0fbb1e51b251600dc9848436bf64c7bef02c6d2df91a4aeb91d23d1afc90d60a6377bbc92d1452de4
7
- data.tar.gz: a31664ddabcc0f20e60a8505e1d4929ceacf019f6f94cd554c073524521815bce84ddb6c484b22da89e50a1760b5d213848bbc06a538ad6ce7ee83ac347d4edb
6
+ metadata.gz: 36f6427491301993507c0eabb33cc8165cc41f1508701e1e446a69707fa8cdf277b21a3ad90c454e18cca747adf8c328c543ccdc74caaec69181b307384b019f
7
+ data.tar.gz: 6b7dd21428952b27eb83126d2cb57310d0215721a06f1d36be6043e7dbebb678b9168c93cdb542cf1fd1d2a5f99ec5b052f5ecc309aeaaca1a4179040b6b7555
@@ -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,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 %}
@@ -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
+
@@ -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
+ }
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
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-easy-wedding
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Orick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-01 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -118,9 +118,6 @@ files:
118
118
  - _layouts/page.html
119
119
  - _layouts/post.html
120
120
  - _layouts/under_construction.html
121
- - _sass/main.scss
122
- - _sass/under_construction.scss
123
- - assets/css/bootstrap.min.css
124
121
  - assets/css/font-awesome/css/font-awesome.css
125
122
  - assets/css/font-awesome/css/font-awesome.min.css
126
123
  - assets/css/font-awesome/fonts/FontAwesome.otf
@@ -154,20 +151,15 @@ files:
154
151
  - assets/css/font-awesome/scss/_stacked.scss
155
152
  - assets/css/font-awesome/scss/_variables.scss
156
153
  - assets/css/font-awesome/scss/font-awesome.scss
154
+ - assets/css/globals.scss
157
155
  - assets/css/styles.scss
158
156
  - assets/img/favicon.png
159
157
  - assets/img/flowers.jpg
160
158
  - assets/img/lyft.svg
161
159
  - assets/img/uber-black.png
162
160
  - assets/img/uber-white.png
163
- - assets/js/bootstrap.js
164
- - assets/js/bootstrap.min.js
165
161
  - assets/js/globals.js
166
- - assets/js/jquery.easing.min.js
167
- - assets/js/jquery.js
168
- - assets/js/main.js
169
162
  - assets/js/ouical.min.js
170
- - assets/js/rsvp.js
171
163
  homepage: https://nathanorick.com
172
164
  licenses:
173
165
  - MIT