-
Notifications
You must be signed in to change notification settings - Fork 2
/
sponsors.html
179 lines (174 loc) · 7.1 KB
/
sponsors.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
---
layout: default
title: Our Sponsors
permalink: /sponsors
---
<br>
<div class="container-fluid">
<div class="container">
<h1 class="text-center">{{site.data.sponsors.text.header | markdownify}}</h1>
<h3 class="text-center">{{site.data.sponsors.text.p1 | markdownify }}</h3><br> <!-- "p1" in the data file -->
<div class="text-left h5" id="benefits">{{site.data.sponsors.text.p2 | markdownify}}</div>
<a href="{{ site.data.sponsors.sponsorPacket }}" class="btn btn-outline-primary">View Sponsor Packet</a>
<style>
#benefits ul li {
padding-bottom: 2vh;
}
</style>
</div>
<br>
<div class="container">
<h1><strong>Our Sponsors</strong></h1>
<br>
<h2><strong>Title Sponsors</strong></h2>
{% for sponsor in site.data.sponsors.sponsors %}
{% if sponsor.sponsortier == "Title" %}
{% if sponsor.hidden == false %}
<div class="row text-dark mt-3 pt-3 bg-light rounded">
<div class="col-sm-4">
{% if sponsor.image %}
<img src="{{sponsor.image}}" class="logo p-2 mx-auto d-block">
{% else %}
<img src="/assets/sponsors/noLogo.png" class="logo p-2 mx-auto d-block">
{% endif %}
<h1 class="text-center">{{sponsor.name}}</h1>
{% comment %}<h3 class="text-center">{{sponsor.sponsortier}} Sponsor</h3> {% endcomment %}
</div>
<div class="col-sm-8 text-left">
<h5 class="mb-4">{{sponsor.summary}}</h5>
{% if sponsor.website %}
<a class="btn btn-outline-primary" href="{{sponsor.website}}">Learn More</a>
{% else %}
<a class="btn btn-outline-primary disabled" href="">Learn More</a>
{% endif %}
</div>
</div>
<br>
{% endif %}
{% endif %}
{% endfor %}
<br>
<br>
<h2><strong>Platinum Sponsors</strong></h2>
<br>
<div class="row text-dark bg-light rounded mt-3 pt-3">
{% for sponsor in site.data.sponsors.sponsors %}
{% if sponsor.sponsortier == "Platinum" %}
{% if sponsor.hidden == false %}
<div class="col-sm-6 p-4">
<!-- <div class="row text-dark mt-3 bg-light rounded pt-3"> -->
<!-- <div class="col-sm-4"> -->
{% if sponsor.image %}
<img src="{{sponsor.image}}" class="logo p-2 mx-auto d-block">
{% else %}
<img src="/assets/sponsors/noLogo.png" class="logo p-2 mx-auto d-block">
{% endif %}
<!-- </div> -->
<!-- <div class="col-sm-8"> -->
<h2 class="text-center">{{sponsor.name}}</h2>
{% comment %} <h4 class="text-center">{{sponsor.sponsortier}} Sponsor</h4> {% endcomment %}
<div class="d-flex justify-content-center align-items-center">
{% if sponsor.website %}
<a class="btn btn-outline-primary" href="{{sponsor.website}}">Learn More</a>
{% else %}
<a class="btn btn-outline-primary disabled" href="">Learn More</a>
{% endif %}
</div>
<!-- </div> -->
<!-- </div> -->
</div>
<br>
{% endif %}
{% endif %}
{% endfor %}
</div>
<br>
<br>
<h2><strong>Gold Sponsors</strong></h2>
<br>
<div class="row text-dark mt-3 bg-light rounded pt-3">
{% for sponsor in site.data.sponsors.sponsors %}
{% if sponsor.sponsortier == "Gold" %}
{% if sponsor.hidden == false %}
<div class="col-sm-3 p-4">
<!-- <div class="row text-dark mt-3 bg-light rounded pt-3"> -->
<!-- <div class="col-sm-4"> -->
{% if sponsor.image %}
<img src="{{sponsor.image}}" class="logo p-2 mx-auto d-block">
{% else %}
<img src="/assets/sponsors/noLogo.png" class="logo p-2 mx-auto d-block">
{% endif %}
<!-- </div> -->
<!-- <div class="col-sm-8"> -->
<h2 class="text-center">{{sponsor.name}}</h2>
{% comment %} <h4 class="text-center">{{sponsor.sponsortier}} Sponsor</h4> {% endcomment %}
<div class="d-flex justify-content-center align-items-center">
{% if sponsor.website %}
<a class="btn btn-outline-primary" href="{{sponsor.website}}">Learn More</a>
{% else %}
<a class="btn btn-outline-primary disabled" href="">Learn More</a>
{% endif %}
</div>
<!-- </div> -->
<!-- </div> -->
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
<br>
<br>
<h2><strong>Silver Sponsors</strong></h2>
<div class="row text-dark mt-3 bg-light rounded pt-3">
{% for sponsor in site.data.sponsors.sponsors %}
{% if sponsor.sponsortier == "Silver" %}
{% if sponsor.hidden == false %}
<div class="col-sm-3 p-4">
<!-- <div class="row text-dark mt-3 bg-light rounded pt-3"> -->
<!-- <div class="col-sm-4"> -->
{% if sponsor.image %}
<img src="{{sponsor.image}}" class="logo p-2 mx-auto d-block">
{% else %}
<img src="/assets/sponsors/noLogo.png" class="logo p-2 mx-auto d-block">
{% endif %}
<!-- </div> -->
<!-- <div class="col-sm-8"> -->
<h2 class="text-center">{{sponsor.name}}</h2>
{% comment %}<h4 class="text-center">{{sponsor.sponsortier}} Sponsor</h4>{% endcomment %}
<div class="d-flex justify-content-center align-items-center">
{% if sponsor.website %}
<a class="btn btn-outline-primary" href="{{sponsor.website}}">Learn More</a>
{% else %}
<a class="btn btn-outline-primary disabled" href="">Learn More</a>
{% endif %}
</div>
<!-- </div> -->
<!-- </div> -->
</div>
<br>
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
<br>
<style>
.logo {
height: 15vh;
max-width: 75%;
object-fit: contain;
width: 100%;
max-width: 75%;
}
.sponsor {
background-color: rgb(255, 255, 255);
color: black;
height: 580px;
align-items: top;
align-content: top;
align-self: center;
text-align: center;
/* max-height: 280px; */
}
</style>