Skip to content

Commit 62e2f54

Browse files
committed
feature(community) - Added community page
1 parent 04e6a01 commit 62e2f54

File tree

3 files changed

+49
-3
lines changed

3 files changed

+49
-3
lines changed

Diff for: _includes/component/summary.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ <h3>{{include.summary.title}}</h3>
88
{% endif %}
99

1010
{% if include.summary.link %}
11-
<p><a class="btn btn-secondary" href="{{include.summary.link}}" role="button">View More &raquo;</a></p>
11+
<p><a class="btn btn-secondary" href="{{include.summary.link}}" role="button">{{ include.summary.buttonText | default: 'View More' }} &raquo;</a></p>
1212
{% endif %}
1313
</div>

Diff for: community.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Community
3+
layout: landingpage
4+
community:
5+
-
6+
title: Meetup
7+
description: Join the meetup group for event announcements and updates!
8+
img: https://upload.wikimedia.org/wikipedia/commons/6/6b/Meetup_Logo.png
9+
link: https://www.meetup.com/brumphp/
10+
buttonText: Join the group
11+
-
12+
title: Twitter
13+
description: We like to shout about tech and Birmingham. Tweet us with questions and follow for updates.
14+
img: http://www.stickpng.com/assets/images/580b57fcd9996e24bc43c53e.png
15+
link: https://twitter.com/brumphp
16+
buttonText: Follow us
17+
-
18+
title: Slack
19+
description: "You can talk to us on the Brum Tech slack. We're the #brumphp channel."
20+
img: https://upload.wikimedia.org/wikipedia/commons/7/76/Slack_Icon.png
21+
link: https://upload.wikimedia.org/wikipedia/commons/7/76/Slack_Icon.png
22+
buttonText: Join the BrumTech Slack
23+
---
24+
25+
<main role="main">
26+
<div class="container">
27+
<h1>{{page.title}}</h1>
28+
<div class="row">
29+
<div class="col-md-12">
30+
<p>
31+
Here's 3 quick ways to get involved with the community. Any questions can sent via any of the following.
32+
</p>
33+
</div>
34+
</div>
35+
<hr />
36+
<div class="row">
37+
{% for item in page.community %}
38+
{% include component/summary.html summary=item %}
39+
{% endfor %}
40+
</div>
41+
</div>
42+
</main>

Diff for: sponsors.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ benefits:
1010

1111
<main role="main">
1212
<div class="container">
13-
<h1>Sponsors</h1>
13+
<h1>{{page.title}}</h1>
1414
<div class="row">
15-
Our sponsors mean a lot to us, as they help shape what we're able to do at events. Feel free to check them out.
15+
<div class="col-md-12">
16+
<p>
17+
Our sponsors mean a lot to us, as they help shape what we're able to do at events. Feel free to check them out.
18+
</p>
19+
</div>
1620
</div>
1721
<hr />
1822
<div class="row">

0 commit comments

Comments
 (0)