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 +4 -4
- data/_includes/celebrations.html +11 -7
- data/_includes/chi_details.html +2 -2
- data/_includes/email_form.html +2 -2
- data/_includes/faq.html +4 -4
- data/_includes/head.html +0 -3
- data/_includes/modals/form_modal.html +2 -2
- data/_includes/modals/rsvp.html +19 -21
- data/_includes/modals/rsvp_no.html +1 -2
- data/_includes/modals/rsvp_yes.html +6 -19
- data/_includes/nav.html +18 -17
- data/_includes/our_story.html +5 -5
- data/_includes/photo-gallery.html +21 -16
- data/_layouts/default.html +2 -4
- data/assets/css/globals.scss +3 -0
- data/assets/css/styles.scss +4 -7
- data/assets/img/bell.jpg +0 -0
- data/assets/img/cake.jpg +0 -0
- data/assets/img/chairs.jpg +0 -0
- data/assets/img/chairs2.jpg +0 -0
- data/assets/img/dress.jpg +0 -0
- data/assets/img/flower-ring.jpg +0 -0
- data/assets/img/flowers.jpg +0 -0
- data/assets/img/gazeebo.jpg +0 -0
- data/assets/img/lights.jpg +0 -0
- data/assets/img/rings.jpg +0 -0
- data/assets/img/sparklers.jpg +0 -0
- data/assets/js/globals.js +6 -4
- data/assets/main-bundle.js +7 -0
- metadata +14 -11
- data/_sass/main.scss +0 -604
- data/_sass/under_construction.scss +0 -21
- data/assets/css/bootstrap.min.css +0 -5
- data/assets/js/bootstrap.js +0 -2306
- data/assets/js/bootstrap.min.js +0 -7
- data/assets/js/jquery.easing.min.js +0 -44
- data/assets/js/jquery.js +0 -4
- data/assets/js/main.js +0 -70
- data/assets/js/rsvp.js +0 -320
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27cc38f66bb28dc441c3adc84d1c4cc9f26ed5ed768fd679b50d5d293df5e3c1
|
|
4
|
+
data.tar.gz: fc3238a029d53457ffc8f76d152ea787da2358d884443ac5fc31bd90a5a758a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e40c47ae10ac5a9500c0d5bfb1c17cbd925a2bec096b90a218b7fc1d05e3f28b02a1ef6a4ac445315f92f22efaf7cfa82ee1606f1b8c6a5e0de9e300b609f78
|
|
7
|
+
data.tar.gz: c7a559d72299e88bc2f0041e00711559773a4d64aeccf0de3cbfc6ac6654fe44a2a4fb72bbfe07d101d3aa590b7a636acc3bed01b2fd2c8b9085f41dc5152b9c
|
data/_includes/celebrations.html
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{% for event in site.data.events %}
|
|
2
|
-
<section class="container content-section
|
|
3
|
-
<div class="row">
|
|
4
|
-
<div class="col-lg-7 col-
|
|
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="
|
|
18
|
-
<address class="col-xs-8
|
|
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
|
|
30
|
+
<dl class="col-xs-4">
|
|
27
31
|
<dt>Attire</dt>
|
|
28
32
|
<dd>{{ event.attire | capitalize }}</dd>
|
|
29
33
|
</dl>
|
data/_includes/chi_details.html
CHANGED
|
@@ -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}}
|
|
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}}
|
|
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">
|
data/_includes/email_form.html
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<div id="mc_embed_signup">
|
|
12
12
|
<form action="//chrisbaclig.us2.list-manage.com/subscribe/post?u=87bc541350a8d9fdfbf974458&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">×</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
|
|
2
|
-
<div class="row">
|
|
3
|
-
<div class="col-lg-8
|
|
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">×</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 %}
|
data/_includes/modals/rsvp.html
CHANGED
|
@@ -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">×</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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
51
|
-
<input type="text" name="invite_code" id="
|
|
52
|
-
<span class="input-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>
|
|
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="
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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-
|
|
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-
|
|
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">×</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">×</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
|
-
|
|
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
|
-
|
|
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 %}"
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 %}
|
data/_includes/our_story.html
CHANGED
|
@@ -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
|
|
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
|
|
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 =
|
|
48
|
+
const src = this.getAttribute('src');
|
|
47
49
|
let modal;
|
|
48
|
-
function removeModal(){
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
62
|
-
if(e.key==='Escape'){ removeModal(); }
|
|
63
|
-
});
|
|
68
|
+
document.body.addEventListener('keyup.modal-close', modalCloseListener);
|
|
64
69
|
});
|
|
65
70
|
}
|
|
66
71
|
}
|
data/_layouts/default.html
CHANGED
|
@@ -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=
|
|
7
|
-
{% include js.html src="assets/
|
|
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
|
|