Skip to content

Commit 4410150

Browse files
committed
feat(sponsors): Addded in sponsors that get displayed using a standardized summary component
1 parent b371133 commit 4410150

File tree

12 files changed

+77
-11
lines changed

12 files changed

+77
-11
lines changed

_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ collections:
22
events:
33
output: true
44
permalink: /events/:path
5+
sponsors:
6+
output: false
57
sass:
68
style: compressed
79
sass_dir: assets/scss
10+
11+
future: true

_events/2018-03-27-railway-oriented-programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Railway-Oriented Programming with Stuart Herbert
3-
date: Thu Mar 27 2018
3+
date: Wed Mar 28 2018
44
description: >
55
Another warm welcome to brumPHP! We're building on our successful introductory event by welcoming veteran PHP speaker Stuart Herbert to 1000 Trades in the Jewellery Quarter, to talk about functional programming
66
link: https://www.meetup.com/brumphp/events/246966799/

_includes/component/event-summary.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

_includes/component/summary.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<div class="col-md-4 brum--summary">
2+
<h3>{{include.summary.title}}</h3>
3+
<p class="description">{{include.summary.description}}</p>
4+
{% if include.summary.img %}
5+
<div class="img-container">
6+
<img src="{{include.summary.img}}" />
7+
</div>
8+
{% endif %}
9+
10+
{% if include.summary.link %}
11+
<p><a class="btn btn-secondary" href="{{include.summary.link}}" role="button">View More &raquo;</a></p>
12+
{% endif %}
13+
</div>

_sponsors/jetbrains.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: JetBrains
3+
description: JetBrains have kindly given us licenses to their development tools to give away at meetups.
4+
img: /assets/images/jetbrains.png
5+
link: https://www.jetbrains.com/
6+
---

_sponsors/packt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Packt
3+
description: Packt are supporting the event by providing select copies of free PHP eBooks to attendees.
4+
img: /assets/images/packt.png
5+
link: https://www.packtpub.com/
6+
---

_sponsors/z-your-company.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Your Company
3+
description: Interested in sponsoring the group? <a href="/community">Contact the organisers</a>
4+
---

assets/images/jetbrains.png

122 KB
Loading

assets/images/packt.png

5.87 KB
Loading

assets/scss/_palette.scss

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,27 @@ $palette: (
6262
}
6363
}
6464

65-
.brum--event-summary h3 {
65+
h1 {
66+
margin-top: 10px;
67+
}
68+
69+
.brum--summary h3 {
6670
overflow: hidden;
6771
white-space: nowrap;
6872
text-overflow: ellipsis;
6973
}
7074

71-
.brum--event-summary .description {
75+
.brum--summary .img-container {
76+
height: 120px;
77+
}
78+
79+
.brum--summary img {
80+
width: 50%;
81+
margin: 10px auto;
82+
display: block;
83+
}
84+
85+
.brum--summary .description {
7286
$line-height: 1.5;
7387
$font-size: 1rem;
7488
$lines-to-show: 3;

0 commit comments

Comments
 (0)