Skip to content

Commit 13a5ea9

Browse files
Josh SagerGitHub Enterprise
authored andcommitted
Merge pull request linode#35 from abailly/DLC-69
DLC-69 add tool section to tool and lib page
2 parents 2ead554 + 2c88b47 commit 13a5ea9

File tree

3 files changed

+47
-24
lines changed

3 files changed

+47
-24
lines changed
Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,11 @@
11
{{ define "main" }}
22

3-
<div class="my-4 md:my-12 max-w-3xl mx-auto">
4-
<div class="flex flex-wrap -mx-4 items-center flex-col-reverse md:flex-row">
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>
9-
</div>
10-
<div class="w-full md:w-1/2 px-4">
11-
<h2>Linode CLI</h2>
12-
<div class="text-2xl my-3">An easy way to get up and running with the Linode API</div>
13-
<p><a href="https://www.linode.com/cli" target="_blank" class="btn mt-3">Linode CLI on GitHub</a></p>
14-
</div>
15-
</div>
16-
</div>
17-
18-
<div class="flex flex-wrap md:mb-8 -mx-4">
3+
<div class="flex flex-wrap mb-8 -mx-4">
194

205
<div class="w-full sm:w-1/4 md:w-1/5 px-4">
21-
<div class="button-group filters-group py-2 md:py-6 md:mt-12">
6+
<div class="button-group filters-group sm:py-4 sm:mt-4">
227
<div id="createdFilters" class="flex flex-wrap md:block">
23-
<div class="md:my-4 mx-auto">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
8+
<div class="md:my-4 invisible sm:visible">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
249
<h4 class="uppercase mb-4 w-full">Created By</h4>
2510
{{ partial "1_atoms/radio.html" (dict "ID" "linode" "Name" "created" "Value" ".linode" "Label" "Linode") . }}
2611
{{ partial "1_atoms/radio.html" (dict "ID" "community" "Name" "created" "Value" ".community" "Label" "Community") . }}
@@ -37,10 +22,49 @@ <h4 class="uppercase mb-4 w-full">Language</h4>
3722
</div>
3823

3924
<div class="w-full sm:w-3/4 md:w-4/5 px-4">
25+
<div class="my-4 md:mt-12 md:mt-8 max-w-3xl">
26+
<div class="mb-4 mt-8 sm:hidden text-center">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
27+
<h2>Tools</h2>
28+
<div class="flex -mx-4 md:items-center flex-col-reverse md:flex-row mb-2">
29+
<div class="px-4 flex flex-wrap">
30+
<div style="width: 300px;">
31+
{{ partial "2_molecules/code-box.html" }}
32+
</div>
33+
<div class="mt-4 md:hidden flex w-full"><a href="https://www.linode.com/cli" target="_blank" class="btn btn-small">Linode CLI on GitHub</a></div>
34+
</div>
35+
<div class="px-4">
36+
<h3 class="md:text-2xl mt-0">Linode CLI</h3>
37+
<div class="md:text-lg my-3">An easy way to get up and running with the Linode API</div>
38+
<div class="pt-3 hidden hidden md:block"><a href="https://www.linode.com/cli" target="_blank" class="btn btn-small">Linode CLI on GitHub</a></div>
39+
</div>
40+
</div>
41+
<div class="flex flex-wrap mt-8 md:mb-4 -mx-4">
42+
<article class="item lib-item w-full md:w-1/2 px-4 mb-4 md:mb-8">
43+
<div class="p-8 h-full bg-d-cell tile">
44+
<header>
45+
<h3 class="mt-0"><a class="text-black tile-link" href="https://github.com/pharmer/pharmer" target="_blank">Pharmer</a></h3>
46+
</header>
47+
<section class="mt-2">
48+
Kubernetes Cluster Manager for Kubeadm (Technical Preview)
49+
</section>
50+
</div>
51+
</article>
52+
<article class="item lib-item w-full md:w-1/2 px-4 mb-4 md:mb-8">
53+
<div class="p-8 h-full bg-d-cell tile">
54+
<header>
55+
<h3 class="mt-0"><a class="text-black tile-link" href="https://github.com/displague/vagrant-linode" target="_blank">vagrant-linode</a></h3>
56+
</header>
57+
<section class="mt-2">
58+
vagrant-linode is a provider plugin for Vagrant that supports the management of Linodes (instances).
59+
</section>
60+
</div>
61+
</article>
62+
</div>
63+
</div>
4064
<h2>Libraries</h2>
41-
<div class="flex flex-wrap my-4 md:my-8 -mx-4 grid">
65+
<div class="flex flex-wrap md:mt-8 md:mb-4 -mx-4 grid">
4266
<div id="noResultsContainer" class="visually-hidden">
43-
<div>No results</div>
67+
<div class="px-4">No results</div>
4468
</div>
4569
{{ range .Paginator.Pages }}
4670
<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 }}">
@@ -59,5 +83,4 @@ <h3 class="mt-0"><a class="text-black tile-link" href="{{ .Params.external_url }
5983

6084
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
6185
<script src={{ "/assets/js/tools.js" | relURL }} type="text/javascript"></script>
62-
{{ end }}
63-
86+
{{ end }}

themes/dlc/layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h2>How easily can you create a Linode?</h2>
55
<div class="text-2xl my-3">Are two steps easy enough?</div>
66
{{ partial "2_molecules/code-box.html" }}
7-
<a href="https://www.linode.com/cli" target="_blank" class="btn mt-3">Get started with our Linode CLI</a>
7+
<div class="mt-6"><a href="https://www.linode.com/cli" target="_blank" class="btn mt-3">Get started with our Linode CLI</a></div>
88
</section>
99
<img src='{{ "img/grid.png" | relURL }}' class="home-lins absolute pin-t pin-r" />
1010
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
@screen md {
1111
.cloud {
12-
height: 300px
12+
height: 250px
1313
}
1414
}

0 commit comments

Comments
 (0)