Skip to content

Commit 0481ddf

Browse files
Josh SagerGitHub Enterprise
authored andcommitted
Merge pull request linode#20 from abailly/homepage-events
Add events and careers on homepage
2 parents 0112bcf + 024679b commit 0481ddf

File tree

7 files changed

+71
-9
lines changed

7 files changed

+71
-9
lines changed

content/events/2018/08-25.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
title: "FOSSCON"
3-
date: "2018-08-25T11:02:00-04:00"
3+
date: "2018-08-16T11:02:00-04:00"
4+
start_date: "2018-08-25T11:02:00-04:00"
45
description: "FOSSCON"
56
location: "Philadelphia, PA"
67
event_url: "https://fosscon.us/"
78
image_url: "https://www.linode.com/media/images/events/fosscon.png"
89
sites:
910
- developers
10-
---
11+
---
12+
FOSSCON brings together users of Free and Open Source Software from a wide variety of fields.

content/events/2018/09-10.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
---
1+
---
22
title: "SaltConf 18"
3-
date: "2018-09-10T11:02:00-04:00"
3+
date: "2018-08-16T11:02:00-04:00"
4+
start_date: "2018-09-10T11:02:00-04:00"
45
end_date: "2018-09-13T11:02:00-04:00"
56
description: "SaltConf 18"
67
location: "Salt Lake City, UT"
78
event_url: "https://saltconf.com/"
89
image_url: "https://www.linode.com/media/images/events/SaltConf18.png"
910
sites:
1011
- developers
11-
---
12+
---
13+
SaltConf18 is a gathering designed to help systems administrators, cloud architects, enterprise IT operators, site reliability engineers, IT directors, and IT managers more effectively manage and secure data center infrastructure using SaltStack event-driven automation.

content/events/2018/09-24.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
---
1+
---
22
title: "ApacheCon"
3-
date: "2018-09-24T11:02:00-04:00"
3+
date: "2018-08-16T11:02:00-04:00"
4+
start_date: "2018-09-24T11:02:00-04:00"
45
end_date: "2018-09-27T11:02:00-04:00"
56
description: "ApacheCon"
67
location: "Montreal, CDN"
78
event_url: "https://www.apachecon.com/acna18/index.html"
89
image_url: "https://www.linode.com/media/images/events/apachecon_na.png"
910
sites:
1011
- developers
11-
---
12+
---
13+
Discuss the latest innovations in containers, cloud, DevOps, IoT, servers, web frameworks, plus many other Apache projects and communities in a collaborative, vendor-neutral environment.

themes/dlc/layouts/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,35 @@ <h2 class="mt-0 font-normal"><a href="https://www.linode.com/community/" target=
5151
</div>
5252
</article>
5353
</div>
54+
55+
<div class="mx-auto text-center max-w-lg my-8">
56+
<h2>Events</h2>
57+
<div class="text-2xl my-3">Catch us on the road at conferences, meetups, and job fairs</div>
58+
</div>
59+
<div class="flex flex-wrap my-8 -mx-4 pb-8">
60+
{{ range first 3 ((where .Pages "Section" "events").ByParam "start_date") }}
61+
<article class="w-full md:w-1/3 px-4 mb-4 md:mb-8">
62+
<div class="p-8 h-full bg-d-cell cell-border">
63+
<header>
64+
<h3 class="mt-0 mb-4"><a href="{{ .Params.event_url }}" class="text-black" target="_blank">{{ .Title | markdownify }}</a></h3>
65+
</header>
66+
<section>
67+
<div><strong>{{ .Params.location }}</strong></div>
68+
<div><strong>{{ dateFormat "Jan 2, 2006" .Params.start_date }}</strong></div>
69+
<p>{{ .Content }}</p>
70+
</section>
71+
</div>
72+
</article>
73+
{{ end }}
74+
</div>
75+
76+
<div class="relative row-full pb-8">
77+
<div class="mx-auto text-center max-w-lg my-8">
78+
<h2>Careers at Linode</h2>
79+
<div class="text-2xl mt-4">Help us create the platform of tomorrow</div>
80+
<a class="btn block mx-auto mt-6" href="https://www.linode.com/careers" target="_blank">View opportunities</a>
81+
</div>
82+
<img src='{{ "img/triangles.png" | relURL }}' class="home-triangles absolute pin-b pin-l" />
83+
</div>
84+
5485
{{ end }}

themes/dlc/srcCSS/components/4_pages/home.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22
max-width: 200px;
33
}
44

5+
.home-triangles {
6+
bottom: -.5rem;
7+
max-width: 150px;
8+
}
9+
510
@screen md {
611
.home-lins {
712
max-width: 437px;
813
}
14+
.home-triangles {
15+
max-width: 277px;
16+
}
917
}
1018

1119
.code-box {

themes/dlc/static/assets/css/main.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,14 @@ button,
863863
right: 0;
864864
}
865865

866+
.pin-b {
867+
bottom: 0;
868+
}
869+
870+
.pin-l {
871+
left: 0;
872+
}
873+
866874
.text-center {
867875
text-align: center;
868876
}
@@ -1161,7 +1169,7 @@ input[type=radio]:checked ~ label {
11611169
.menu-icon {
11621170
position: relative;
11631171
display: block;
1164-
right: 1rem;
1172+
right: 0;
11651173
-webkit-transition: background-color .7s ease, -webkit-transform .7s ease;
11661174
transition: background-color .7s ease, -webkit-transform .7s ease;
11671175
transition: background-color .7s ease, transform .7s ease;
@@ -1384,10 +1392,19 @@ input[type=radio]:checked ~ label {
13841392
max-width: 200px;
13851393
}
13861394

1395+
.home-triangles {
1396+
bottom: -.5rem;
1397+
max-width: 150px;
1398+
}
1399+
13871400
@media (min-width: 768px) {
13881401
.home-lins {
13891402
max-width: 437px;
13901403
}
1404+
1405+
.home-triangles {
1406+
max-width: 277px;
1407+
}
13911408
}
13921409

13931410
.code-box {

themes/dlc/static/img/triangles.png

23.5 KB
Loading

0 commit comments

Comments
 (0)