Skip to content

Commit 84fbecc

Browse files
committed
Finalize home page aesthetic
Signed-off-by: lucperkins <[email protected]>
1 parent c266937 commit 84fbecc

File tree

6 files changed

+25
-23
lines changed

6 files changed

+25
-23
lines changed

assets/sass/helpers.sass

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
width: 80%
2020

2121
.cncf-logo
22-
+logo(40%, 70%)
22+
+logo(80%, 60%)
23+
24+
.has-extra-padding
25+
padding: 2rem 0
2326

2427
.is-narrow-desktop
2528
+desktop

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
---
33

4-
The **Update Framework** (TUF) helps developers maintain the security of a software update system, even against attackers that compromise the repository or signing keys. TUF provides a flexible framework and specification that developers can adopt into any software update system.
4+
The Update Framework (**TUF**) helps developers maintain the security of software update systems, providing protection even against attackers that compromise the repository or signing keys. TUF provides a flexible framework and [specification](https://github.com/theupdateframework/specification/blob/master/tuf-spec.md#the-update-framework-specification) that developers can adopt into any software update system.
55

66
TUF is hosted by the [Linux Foundation](https://www.linuxfoundation.org/) as part of the [Cloud Native Computing Foundation](https://www.cncf.io) (CNCF) and is used in production by companies such as Cloudflare, Docker, DigitalOcean, Flynn, IBM, Microsoft, LEAP, Kolide, and VMware. A variant of TUF called [Uptane](https://uptane.github.io/) is widely used to secure over-the-air updates in automobiles.

layouts/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
{{ partial "home/hero.html" . }}
33
<hr />
44
{{ partial "home/content.html" . }}
5-
<hr />
6-
{{ partial "home/cncf.html" . }}
75
{{ end }}

layouts/partials/home/cncf.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{{ $logo := printf "img/logos/%s" site.Params.logos.cncf | relURL }}
2-
<section class="section">
3-
<div class="container has-text-centered">
4-
<p class="title is-size-3 is-size-4-mobile has-text-weight-light">
5-
The Update Framework is a <a href="https://cncf.io" target="_blank">CNCF</a> incubating project
6-
</p>
72

8-
<img class="cncf-logo" src="{{ $logo }}" alt="CNCF project logo">
9-
</div>
10-
</section>
3+
<p class="title">
4+
The Update Framework is a <a href="https://cncf.io" target="_blank">CNCF</a> incubating project
5+
</p>
6+
7+
<br />
8+
9+
<img class="cncf-logo" src="{{ $logo }}" alt="CNCF project logo">

layouts/partials/home/content.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{{ with .Content }}
22
<section class="section">
3-
<div class="container">
4-
<div class="columns">
5-
<div class="column is-one-third">
6-
<p>
7-
TODO
8-
</p>
9-
</div>
10-
<div class="column">
11-
<div class="content is-medium">
3+
<div class="container has-extra-padding">
4+
<div class="columns is-variable is-8">
5+
<div class="column is-two-thirds">
6+
<div class="content is-large is-narrow-desktop">
127
{{ . }}
138
</div>
149
</div>
10+
11+
<br class="is-hidden-desktop" />
12+
<br class="is-hidden-desktop" />
13+
14+
<div class="column">
15+
{{ partial "home/cncf.html" . }}
16+
</div>
1517
</div>
1618
</div>
1719
</section>

layouts/partials/navbar-menu.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{{ if .HasChildren }}
77
<div class="navbar-item has-dropdown is-hoverable">
8-
<a class="navbar-link is-arrowless"{{ with .URL }} href="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}>
8+
<a class="navbar-link has-text-weight-bold is-arrowless"{{ with .URL }} href="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}>
99
{{ .Name }}
1010
</a>
1111

@@ -26,7 +26,7 @@
2626
</div>
2727
</div>
2828
{{ else }}
29-
<a class="navbar-item" href="{{ .URL }}"{{ if $isExternal }} target="_blank"{{ end }}>
29+
<a class="navbar-item has-text-weight-bold" href="{{ .URL }}"{{ if $isExternal }} target="_blank"{{ end }}>
3030
{{ .Name }}
3131
</a>
3232
{{ end }}

0 commit comments

Comments
 (0)