-
Notifications
You must be signed in to change notification settings - Fork 11
/
sponsors.html
143 lines (134 loc) · 4.98 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
---
layout: default
permalink: /sponsors/index.html
title: Sponsoring
---
{% assign platinum_sponsors = site.sponsors | where: "group", "sponsor" | where: "level", "platinum" %}
{% assign gold_sponsors = site.sponsors | where: "group", "sponsor" | where: "level", "gold" %}
{% assign silver_sponsors = site.sponsors | where: "group", "sponsor" | where: "level", "silver" %}
{% assign bronze_sponsors = site.sponsors | where: "group", "sponsor" | where: "level", "bronze" %}
{% assign travel_sponsors = site.sponsors | where: "group", "sponsor" | where: "level", "travel" %}
{% assign mini = site.sponsors | where: "group", "mini" %}
{% assign partners = site.sponsors | where: "group", "partner" %}
{% assign venue = site.sponsors | where: "group", "venue" %}
{% assign media = site.sponsors | where: "group", "media" %}
<div class="popout sponsors">
<section>
<h1>Sponsors</h1>
<hr />
{% comment %}
<p>
RustFest wouldn't be possible without the generous support of these fine folks:
</p>
{% endcomment %}
{% if gold_sponsors[0] %}
<h2>Gold Sponsor{% if gold_sponsors[1] %}s{% endif %}</h2>
<ul class="gold">
{% for sponsor in gold_sponsors %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% if silver_sponsors[0] %}
<h2>Silver Sponsor{% if silver_sponsors[1] %}s{% endif %}</h2>
<ul class="silver">
{% for sponsor in silver_sponsors %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% if bronze_sponsors[0] %}
<h2>Bronze Sponsor{% if bronze_sponsors[1] %}s{% endif %}</h2>
<ul class="bronze">
{% for sponsor in bronze_sponsors %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% if travel_sponsors[0] %}
<h2>Travel Sponsor{% if travel_sponsors[1] %}s{% endif %}</h2>
<ul class="travel">
{% for sponsor in travel_sponsors %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</section>
{% if mini[0] %}
<section>
<h2>Supporters</h2>
<hr />
<ul class="mini">
{% for sponsor in mini %}
<li><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></li>
{% endfor %}
</ul>
</section>
{% endif %}
{% if partners[0] %}
<section>
<h2>Local organizers</h2>
<hr />
<ul>
{% for sponsor in partners %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
</section>
{% endif %}
{% if media[0] %}
<section>
<h2>Media Partner</h2>
<hr />
<ul class="media">
{% for sponsor in media %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
</section>
{% endif %}
{% if venue[0] %}
<section>
<h2>Venue</h2>
<hr />
<ul>
{% for sponsor in venue %}
<li><a href="{{sponsor.link}}" title="{{sponsor.name}}" rel="sponsored"><img src="/assets/sponsors/{{sponsor.slug}}.{% if sponsor.png %}png{% else %}svg{% endif %}" alt="{{sponsor.name}}" /></a></li>
{% if sponsor.desc %}
<li><p>{{sponsor.desc}}</p></li>
{% endif %}
{% endfor %}
</ul>
</section>
{% endif %}
</div>
<section class="whitewithwheel">
<h2>Interested in sponsoring us?</h2>
<br />
<p>
<a class="button" href="/sponsors/packages">
Sponsor packages
</a>
<a class="button" href="mailto:[email protected]">
Get in touch now
</a>
</p>
</section>