Skip to content

Commit 561ef71

Browse files
committed
Add Supporters section to home page. Closes #75.
1 parent 56554f0 commit 561ef71

14 files changed

+42
-4
lines changed

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ twitterFeed: "http://lviv.gdg.org.ua/tweetledee/favoritesjson.php?c=10&cache_int
119119
partnersTitle: "Sponsors"
120120
partnersC4sponsorsButton: "Become a sponsor"
121121

122+
# Supporters Block
123+
supportersTitle: "Supporters"
124+
122125
# Subscribe Block
123126
subscribeImage: "subscribe.jpg"
124127
subscribeTitle: "Subscribe for updates"

_data/supporters.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
-
2+
group: "Podcasts"
3+
elements:
4+
- {name: "Fireside Swift", description: "Fireside Swift", link: "https://www.firesideswift.com", imageUrl: "FiresideSwift.jpg"}
5+
- {name: "The Learn Swift Podcast", description: "The Learn Swift Podcast", link: "https://learnswift.fireside.fm", imageUrl: "LearnSwiftPodcast.jpg"}
6+
- {name: "Swift Coders", description: "Swift Coders", link: "https://swiftcoders.podbean.com", imageUrl: "SwiftCoders.png"}
7+
- {name: "SwiftCraft", description: "SwiftCraft", link: "https://emanleet.com", imageUrl: "SwiftCraft.jpg"}
8+
-
9+
group: "Meetups"
10+
elements:
11+
- {name: "Cocoaheads", description: "Cocoaheads", link: "http://cocoaheads.org", imageUrl: "CocoaHeads.png"}
12+
- {name: "Learn Swift {City}", description: "Learn Swift {City}", link: "https://swiftcoders.org/2017/03/07/learn-swift-la/", imageUrl: "LearnSwiftCity.png"}
13+
- {name: "NSCoderNight", description: "NSCoderNight", link: "http://nscodernight.com", imageUrl: "NSCoderNight.png"}

_includes/partners.html

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ <h5>{{ partner.group }}</h5>
2020
</div>
2121
</section>
2222
<!-- End Partners Section -->
23-

_includes/supporters.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!-- Begin Supporters Section -->
2+
<section id="supporters" class="supporters">
3+
<div class="content-wrapper">
4+
<div class="col-lg-10 col-lg-offset-1">
5+
<h3>{{ site.supportersTitle }}</h3>
6+
{% for supporter in site.data.supporters %}
7+
<h5>{{ supporter.group }}</h5>
8+
<ul class="list-inline">
9+
{% for element in supporter.elements %}
10+
<li {% if element.width != null %}style="width: {{ element.width }};"{% endif %}>
11+
<a href="{{ element.link }}" target="_blank">
12+
<img src="{{ site.baseurl }}/img/supporters/{{ element.imageUrl }}" title="{{ element.description }}" alt="{{ element.name }}">
13+
</a>
14+
</li>
15+
{% endfor %}
16+
</ul>
17+
{% endfor %}
18+
</div>
19+
</div>
20+
</section>
21+
<!-- End Supporters Section -->

_sass/partials/_partners.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.partners {
1+
.partners, .supporters {
22
h5 {
33
margin-top: 30px;
44
}

css/main.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

img/supporters/CocoaHeads.png

33.5 KB
Loading

img/supporters/FiresideSwift.jpg

50.2 KB
Loading

img/supporters/LearnSwiftCity.png

30.7 KB
Loading

img/supporters/LearnSwiftPodcast.jpg

26.2 KB
Loading

img/supporters/NSCoderNight.png

21 KB
Loading

img/supporters/SwiftCoders.png

33.5 KB
Loading

img/supporters/SwiftCraft.jpg

39.2 KB
Loading

index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
{% include location-map.html %}
1515

1616
{% include venue.html %}
17-
17+
1818
{% comment %}{% include twitter-feed.html %}{% endcomment %}
1919

2020
{% include partners.html %}
2121

22+
{% include supporters.html %}
23+
2224
{% include subscribe.html %}
2325

2426
{% include tickets.html %}

0 commit comments

Comments
 (0)