forked from raviriley/agency-jekyll-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modals.html
93 lines (93 loc) · 2.68 KB
/
modals.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!-- Portfolio Modals -->
{% for project in site.portfolio %}
{% if site.locale and site.locale != "" and site.locale != nil %}
<div
class="portfolio-modal modal fade"
id="p{{ forloop.index }}"
tabindex="-1"
role="dialog"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="close-modal" data-dismiss="modal">
<div class="lr">
<div class="rl"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<div class="modal-body">
<!-- Project Details Go Here -->
<h2 class="text-uppercase">{{ project.title }}</h2>
<p class="item-intro text-muted">{{ project.subtitle }}</p>
<img
class="img-fluid d-block mx-auto"
src="{{ project.image }}"
alt="{{ project.alt }}"
/>
<p>{{ project.content }}</p>
<button
class="btn btn-primary"
data-dismiss="modal"
type="button"
>
<i class="fas fa-times"></i>
{{ site.data.sitetext[site.locale].portfolio.closebutton |
default: "Close Project" }}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% else %}
<div
class="portfolio-modal modal fade"
id="p{{ forloop.index }}"
tabindex="-1"
role="dialog"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="close-modal" data-dismiss="modal">
<div class="lr">
<div class="rl"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<div class="modal-body">
<!-- Project Details Go Here -->
<h2 class="text-uppercase">{{ project.title }}</h2>
<p class="item-intro text-muted">{{ project.subtitle }}</p>
<img
class="img-fluid d-block mx-auto"
src="{{ project.image }}"
alt="{{ project.alt }}"
/>
<p>{{ project.content }}</p>
<button
class="btn btn-primary"
data-dismiss="modal"
type="button"
>
<i class="fas fa-times"></i>
{{ site.data.sitetext.portfolio.closebutton |
default: "Close Project" }}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
<!-- End Portfolio Modals -->