Skip to content

Commit 151226a

Browse files
author
Kayla Wilkins
committed
updating guides headers to font-normal, making reset filter look like a link and removing extra link, prelim updates to events section
1 parent 9839ff9 commit 151226a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

themes/dlc/layouts/_default/guides.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2 class="font-light text-d-dark-green">API Guides</h2>
1010
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
1111
<div class="p-8 h-full bg-d-cell tile">
1212
<header>
13-
<h3 class="mt-0 text-2xl"><a href="{{ .Params.external_url }}" class="text-black tile-link" target="_blank">{{ .Title | markdownify }}</a></h3>
13+
<h3 class="mt-0 text-2xl font-normal"><a href="{{ .Params.external_url }}" class="text-black tile-link" target="_blank">{{ .Title | markdownify }}</a></h3>
1414
{{ partial "2_molecules/post-categories" . }}
1515
</header>
1616
<section>{{ .Content }}</section>

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ <h4 class="uppercase mb-4 w-full">Created By</h4>
1010
{{ partial "1_atoms/radio.html" (dict "ID" "linode" "Name" "created" "Value" ".linode" "Label" "Linode") . }}
1111
{{ partial "1_atoms/radio.html" (dict "ID" "community" "Name" "created" "Value" ".community" "Label" "Community") . }}
1212
</div>
13-
<button class="btn btn-small mt-4 mb-4" onclick="uncheckAll('createdFilters')">View All</button>
1413
<div id="languageFilters" class="flex flex-wrap md:block">
1514
<h4 class="uppercase mb-4 w-full">Language</h4>
1615
{{range ($.Site.GetPage "taxonomyTerm" "languages").Pages }}
1716
{{ partial "1_atoms/radio.html" (dict "ID" (lower (replace .Title "." "-")) "Name" "language" "Value" (print "." (lower (replace .Title "." "-"))) "Label" .Title) . }}
1817
{{end}}
1918
</div>
20-
<button class="btn btn-small mt-4" onclick="uncheckAll('languageFilters')">View All</button>
19+
<button class="text-d-turq underline mt-4" onclick="uncheckAll('languageFilters')">Reset Filters</button>
2120
</div>
2221
</div>
2322

themes/dlc/layouts/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2 class="mt-0 font-normal text-center"><a href="https://www.linode.com/communi
3939
<h2 class="font-light text-d-dark-green">Events</h2>
4040
<div class="text-2xl my-3 font-light">Catch us on the road at conferences, meetups, and job fairs.</div>
4141
</div>
42-
<div class="flex flex-wrap my-8 -mx-4 pb-8 justify-center">
42+
<div class="flex flex-wrap my-8 -mx-4 pb-8 items-center justify-center">
4343
{{ range last 3 ((where .Pages "Section" "events").ByParam "start_date") }}
4444
{{ $t := (time .Params.end_date) }}
4545
{{ if ge ($t.Unix) (now.Unix) }}
@@ -57,7 +57,9 @@ <h3 class="mt-0 mb-4"><a href="{{ .Params.event_url }}" class="text-black tile-l
5757
</article>
5858
{{ end }}
5959
{{ end }}
60-
<a class="btn block mx-auto" href="https://www.linode.com/events" target="_blank">View All Events</a>
60+
<div class="">
61+
<a class="btn block mx-auto text-center" href="https://www.linode.com/events" target="_blank">View All Events</a>
62+
</div>
6163
</div>
6264

6365
<div class="relative row-full pb-8 home-cubes">

0 commit comments

Comments
 (0)