Skip to content

Commit 5befffd

Browse files
Josh SagerGitHub Enterprise
authored andcommitted
Merge pull request linode#28 from abailly/MVP-fixes
MVP front-end fixes
2 parents e4e8e26 + 8308bd2 commit 5befffd

File tree

14 files changed

+125
-39
lines changed

14 files changed

+125
-39
lines changed

content/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "Developer Tools"
33
subtitle: "By developers for developers"
4+
Description: Developer Tools, By developers for developers
45
---

content/changelog/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "Changelog"
33
subtitle: Latest updates from the Linode team
4+
Description: Latest updates from the Linode team
45
date: 2018-06-13T08:55:08-04:00
56
draft: false
67
---

content/guides/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "Guides"
33
subtitle: Get started building tools and apps using the Linode API
4+
Description: Get started building tools and apps using the Linode API
45
author:
56
name: Josh Sager
67

content/libraries-tools/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Libraries & Tools
33
subtitle: What you need to integrate the Linode API with your application
4+
Description: What you need to integrate the Linode API with your application
45
author:
56
name: Josh Sager
67

themes/dlc/gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ const plugins = [
3535
}),
3636
cssnano({
3737
preset: ['default', {
38+
mergeLonghand: false,
3839
discardComments: {
39-
removeAll: true,
40+
removeAll: true,
4041
},
4142
}]
4243
})

themes/dlc/layouts/_default/guides.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ <h2>API Guides</h2>
88
<div class="flex flex-wrap mt-8 -mx-4">
99
{{ range .Paginator.Pages }}
1010
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
11-
<div class="p-8 h-full bg-d-cell">
11+
<div class="p-8 h-full bg-d-cell tile">
1212
<header>
13-
<h3 class="mt-0 font-normal text-2xl"><a href="{{ .Params.external_url }}" class="text-black" target="_blank">{{ .Title | markdownify }}</a></h3>
13+
<h3 class="mt-0 text-2xl"><a href="{{ .Params.external_url }}" class="text-black tile-link" target="_blank">{{ .Title | markdownify }}</a></h3>
1414
{{ partial "2_molecules/post-categories" . }}
1515
</header>
16-
{{ .Content }}
16+
<section>{{ .Content }}</section>
1717
</div>
1818
</article>
1919
{{ end }}
@@ -25,7 +25,10 @@ <h3 class="mt-0 font-normal text-2xl"><a href="{{ .Params.external_url }}" class
2525

2626
<div class="flex flex-wrap my-8 -mx-4">
2727
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8" style="height: 300px">
28-
<div class="p-8 h-full bg-d-cell">
28+
<div class="p-8 h-full">
29+
<div class="cloud flex justify-center md:justify-end items-center">
30+
{{ partial "0_svgs/cloud.svg" }}
31+
</div>
2932
</div>
3033
</article>
3134
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">

themes/dlc/layouts/_default/libraries-tools.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
<div class="my-4 md:my-12 max-w-3xl mx-auto">
44
<div class="flex flex-wrap -mx-4 items-center">
5-
<div class="w-full md:w-1/2 px-4 md:text-right">
6-
<img src="http://via.placeholder.com/350x150" />
5+
<div class="w-full md:w-1/2 px-4 flex md:justify-end">
6+
<div style="width: 300px;">
7+
{{ partial "2_molecules/code-box.html" }}
8+
</div>
79
</div>
810
<div class="w-full md:w-1/2 px-4">
911
<h2>Linode CLI</h2>
@@ -41,9 +43,9 @@ <h2>Libraries</h2>
4143
</div>
4244
{{ range .Paginator.Pages }}
4345
<article class="item lib-item w-full md:w-1/2 px-4 mb-4 md:mb-8 {{ range .Params.languages }}{{ lower (replace . "." "-") }} {{ end }}{{ .Params.origin }}">
44-
<div class="p-8 h-full bg-d-cell">
46+
<div class="p-8 h-full bg-d-cell tile">
4547
<header>
46-
<h3 class="mt-0"><a class="text-black" href="{{ .Params.external_url }}" target="_blank">{{ .Title | markdownify }}</a></h3>
48+
<h3 class="mt-0"><a class="text-black tile-link" href="{{ .Params.external_url }}" target="_blank">{{ .Title | markdownify }}</a></h3>
4749
</header>
4850
<section class="mt-2">{{ .Content | markdownify }}</section>
4951
</div>

themes/dlc/layouts/index.html

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,37 @@
33
<section class="header max-w-3xl mx-auto px-4 md:px-8 py-12 relative z-10">
44
<h2>How easily can you create a Linode?</h2>
55
<div class="text-2xl my-3">Are two steps easy enough?</div>
6-
<div class="code-box bg-d-beige rounded my-8">
7-
<div class="code-box-header border-white flex justify-start py-4 px-6">
8-
<span class="code-box-circle circle-red"></span>
9-
<span class="code-box-circle circle-yellow"></span>
10-
<span class="code-box-circle circle-green"></span>
11-
</div>
12-
<div class="code-box-content py-4 px-6">
13-
<pre>pip install linode-cli</pre>
14-
<pre>linode-cli linodes create</pre>
15-
</div>
16-
</div>
6+
{{ partial "2_molecules/code-box.html" }}
177
<a href="https://www.linode.com/docs/platform/api/using-the-linode-cli/" target="_blank" class="btn mt-3">Get started with our Linode CLI</a>
188
</section>
199
<img src='{{ "img/grid.png" | relURL }}' class="home-lins absolute pin-t pin-r" />
2010
</div>
2111

2212
<div class="flex flex-wrap my-8 -mx-4 pb-8">
2313
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
24-
<div class="px-8 py-20 h-full bg-d-cell flex flex-col justify-center items-center">
25-
<h2 class="mt-0 font-normal"><a href="https://developers.linode.com/" class="text-black">APIv4 Documentation</a></h3>
14+
<div class="px-8 py-20 h-full bg-d-cell tile flex flex-col justify-center items-center">
15+
<h2 class="mt-0 font-normal"><a href="https://developers.linode.com/" class="text-black tile-link">APIv4 Documentation</a></h3>
2616
<p class="text-xl mt-2 text-center">Reference Documentation for the linode API</p>
2717
<a href="https://developers.dev.linode.com/api/v4" target="_blank" class="btn mt-6">View API docs</a>
2818
</div>
2919
</article>
3020
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
31-
<div class="p-8 py-20 h-full bg-d-cell flex flex-col justify-center items-center">
32-
<h2 class="mt-0 font-normal"><a href="/guides/" class="text-black">Guides</a></h3>
21+
<div class="p-8 py-20 h-full bg-d-cell tile flex flex-col justify-center items-center">
22+
<h2 class="mt-0 font-normal"><a href="/guides/" class="text-black tile-link">Guides</a></h3>
3323
<p class="text-xl mt-2 text-center">How-to’s and examples using the Linode API</p>
3424
<a href="/guides/" class="btn mt-6">View Guides</a>
3525
</div>
3626
</article>
3727
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
38-
<div class="p-8 py-20 h-full bg-d-cell flex flex-col justify-center items-center">
39-
<h2 class="mt-0 font-normal"><a href="/libraries-tools/" class="text-black">Libraries &amp; Tools</a></h3>
28+
<div class="p-8 py-20 h-full bg-d-cell tile flex flex-col justify-center items-center">
29+
<h2 class="mt-0 font-normal"><a href="/libraries-tools/" class="text-black tile-link">Libraries &amp; Tools</a></h3>
4030
<p class="text-xl mt-2 text-center">Jumpstart your API integration</p>
4131
<a href="/libraries-tools/" class="btn mt-6">View Libraries &amp; Tools</a>
4232
</div>
4333
</article>
4434
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
45-
<div class="p-8 py-20 h-full bg-d-cell flex flex-col justify-center items-center">
46-
<h2 class="mt-0 font-normal"><a href="https://www.linode.com/community/" target="_blank" class="text-black">Community Questions</a></h3>
35+
<div class="p-8 py-20 h-full bg-d-cell tile flex flex-col justify-center items-center">
36+
<h2 class="mt-0 font-normal"><a href="https://www.linode.com/community/" target="_blank" class="text-black tile-link">Community Questions</a></h3>
4737
<p class="text-xl mt-2 text-center">Questions and answers from the Linode community</p>
4838
<a href="https://linode.com/community/questions" target="_blank" class="btn mt-6">View Q&amp;A</a>
4939
</div>
@@ -57,9 +47,9 @@ <h2>Events</h2>
5747
<div class="flex flex-wrap my-8 -mx-4 pb-8">
5848
{{ range first 3 ((where .Pages "Section" "events").ByParam "start_date") }}
5949
<article class="w-full md:w-1/3 px-4 mb-4 md:mb-8">
60-
<div class="p-8 h-full bg-d-cell cell-border">
50+
<div class="p-8 h-full bg-d-cell tile-border">
6151
<header>
62-
<h3 class="mt-0 mb-4"><a href="{{ .Params.event_url }}" class="text-black" target="_blank">{{ .Title | markdownify }}</a></h3>
52+
<h3 class="mt-0 mb-4"><a href="{{ .Params.event_url }}" class="text-black tile-link" target="_blank">{{ .Title | markdownify }}</a></h3>
6353
</header>
6454
<section>
6555
<div><strong>{{ .Params.location }}</strong></div>
Lines changed: 44 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)