-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
202 lines (188 loc) · 5.44 KB
/
index.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
---
layout: default
className: home
---
<section class="hero" id="hero">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<h1>{{ site.data.homepage.hero.title }}</h1>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-9">
<p>{{ site.data.homepage.hero.content }}</p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="buttons">
{% for link in site.data.homepage.hero.links %}
<a
class="btn btn-outline-primary"
href="{{ link.url }}"
target="_blank"
rel="noopener noreferrer"
>
<span>{{ link.title }}</span>
</a>
{% endfor %}
</div>
</div>
</div>
</div>
</section>
<section class="info" id="why">
<div class="container">
<div class="row">
<div class="col-lg-4">
<h2>{{ site.data.homepage.why.title }}</h2>
</div>
<div class="col-lg-8">
<p>{{ site.data.homepage.why.content | newline_to_br }}</p>
</div>
</div>
</div>
</section>
<section class="options" id="options">
<div class="container">
<div class="row options__heading">
<div class="col-lg-6">
<h2>{{ site.data.homepage.options.title }}</h2>
</div>
<div class="col-lg-9">
<p>{{ site.data.homepage.options.content | newline_to_pr }}</p>
</div>
</div>
{% include homepage/options-tabs.html %}
{% include homepage/options-accordion.html %}
</div>
</section>
<section class="features" id="benefits">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 features--heading">
<h2>{{ site.data.homepage.benefits.title }}</h2>
</div>
</div>
<div class="row">
{% for benefit in site.data.homepage.benefits.list %}
<div class="col-lg-4 d-flex mb-2 mb-lg-4">
<div class="card card-simple">
<div class="card-body">
<h4>{{ benefit.title }}</h4>
<div class="content">
<p>{{ benefit.content | newline_to_br }}</p>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% if site.data.homepage.benefits.cta %}
<div class="row justify-content-center">
<div class="col-lg-4 text-center">
<a
class="btn btn-outline-primary"
href="{{ site.data.homepage.benefits.cta.url }}"
target="_blank"
rel="noopener noreferrer"
>
<span>{{ site.data.homepage.benefits.cta.title }}</span>
</a>
</div>
</div>
{% endif %}
</div>
</section>
<section class="info" id="usage">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-4">
<h2>{{ site.data.homepage.usage.title }}</h2>
</div>
<div class="col-lg-6 offset-lg-1 d-flex flex-column">
{% for item in site.data.homepage.usage.list %}
<h4>{{ item.title }}</h4>
<p>{{ item.content | newline_to_br }}</p>
{% endfor %}
</div>
</div>
</div>
</section>
<section class="posts" id="blog">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 text-center">
<h2>Latest From Kaskada</h2>
</div>
</div>
<div class="row">
{% for post in site.posts limit: 3 %}
<div class="col-lg-4 d-flex mb-4">
<a href="{{ post.url | relative_url }}" class="card card-link card--post">
<div class="card-body">
<h4>{{ post.title | escape }}</h4>
<h5>
{% if post.author %}
<span>by {{ post.author }} · </span>
{% endif %}
<span>{{ post.date | date: "%b %-d, %Y" }}</span>
</h5>
<span class="btn btn-link">Read More</span>
</div>
</a>
</div>
{% endfor %}
</div>
<div class="row justify-content-center mt-5">
<div class="col-lg-6 text-center">
<a
class="btn btn-outline-primary"
href="{{ "/blog" | relative_url }}"
>
View All
</a>
</div>
</div>
</div>
</section>
{% if site.events != empty %}
<section class="posts" id="events">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 text-center">
<h2>Events</h2>
</div>
</div>
<div class="row">
{% for event in site.events limit: 3 %}
<div class="col-lg-4 d-flex mb-4">
<a href="{{ event.url | relative_url }}" class="card card-link card--event">
<div class="card-body">
<div class="card--event-details">
<span>{{ event.date | date: "%b %-d, %Y" }}</span>
{% if event.location %}<span>{{ event.location }}</span>{% endif %}
</div>
<h4>
{{ event.title }}
</h4>
<span class="btn btn-link">Register Now</span>
</div>
</a>
</div>
{% endfor %}
</div>
<div class="row justify-content-center mt-5">
<div class="col-lg-6 text-center">
<a
class="btn btn-outline-primary"
href="{{ "/events" | relative_url }}"
>
View All
</a>
</div>
</div>
</div>
</section>
{% endif %}