-
Notifications
You must be signed in to change notification settings - Fork 0
/
sblanding.html
109 lines (109 loc) · 3.72 KB
/
sblanding.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
---
layout: sbpage
header: false
full_width: true
article_header:
type: overlay
# align: center
height: 80vh
---
{%- for _section in page.data.sections -%}
<div class="modal fade" id="{{ _section.title }}" tabindex="-1" aria-labelledby="ModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl modal-fullscreen-sm-down">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="{{ _section.title }}">
{{ _section.title }} {{ _section.subtitle}}
</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container-fluid text-center">
{%- if _section.excerpt-%}
<p>{{ _section.excerpt }}</p>
{%- endif -%}
{%- if _section.program -%}
<div class="container">
<table class="table table-striped table-hover table-bordered table-sm">
<thead>
<tr>
<th scope="col">
<h4>
Time
</h4>
</th>
<th scope="col">
<h4>
Title
</h4>
</th>
<th scope="col">
<h4>
Location
</h4>
</th>
</tr>
</thead>
<tbody class="table-group-divider">
{%- for program in _section.program -%}
<tr>
<th scope="row">
<p class="fw-normal">
{{ program.time }}
</p>
</th>
<th scope="row">
<p class="fw-normal">
{{ program.title }}
</p>
</th>
<th scope="row">
<p class="fw-normal">
{{ program.location }}
</p>
</th>
</tr>
{%- endfor-%}
</tbody>
</table>
</div>
{%- endif -%}
{%- if _section.children -%}
<div class="row row-cols-2 row-cols-lg-4 g-4">
{%- for child in _section.children -%}
{%- if child.card -%}
<div class="col">
<div class="card text-center h-100 ">
<img src="{{ child.card.src }}" class="card-img-top bg-secondary-subtle object-fit-contain h-100 mh-100" />
<div class="card-body">
<h5 class="card-title">
{{ child.card.title }}
</h5>
<p class="card-text">{{ child.card.content }}</p>
<a href="{{ child.card.url }}"
class="btn btn-primary link-light link-underline link-underline-opacity-0 float-end" target="_blank"
rel="noreferrer noopener">Learn More</a>
</div>
</div>
</div>
{%- endif -%}
{%- endfor-%}
</div>
{%- endif -%}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
Close
</button>
</div>
</div>
</div>
</div>
</div>
{%- endfor-%}
<div class="hero hero--dark overlay py-5" style="background: #123">
<div class="article__content container px-5 border rounded-3 position-relative aos-init aos-animate articlepage" itemprop="articleBody"
id="learnMore" data-aos="fade-up" data-aos-duration="750">
{{ content }}
</div>
</div>