Skip to content

Commit 99eb0dd

Browse files
committed
squashing commits
Signed-off-by: Priyanshu Singh <reveur.guy99@gmail.com>
1 parent dbc6d95 commit 99eb0dd

5 files changed

Lines changed: 47 additions & 22 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# macOS leftovers
22
.DS_Store
3+
.hugo-build.lock
4+
package-lock.json
35

46
# Node.js-related assets (e.g. for CSS)
57
node_modules/

themes/containerd/assets/sass/style.sass

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,3 +243,16 @@ hr.short-hr
243243

244244
a
245245
margin-bottom: .5rem
246+
247+
.has-background-pattern
248+
background-color: #000022
249+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000' viewBox='0 0 800 800'%3E%3Cg fill='none' %3E%3Cg stroke='%23026' stroke-width='17'%3E%3Cline x1='-8' y1='-8' x2='808' y2='808'/%3E%3Cline x1='-8' y1='792' x2='808' y2='1608'/%3E%3Cline x1='-8' y1='-808' x2='808' y2='8'/%3E%3C/g%3E%3Cg stroke='%23002163' stroke-width='16'%3E%3Cline x1='-8' y1='767' x2='808' y2='1583'/%3E%3Cline x1='-8' y1='17' x2='808' y2='833'/%3E%3Cline x1='-8' y1='-33' x2='808' y2='783'/%3E%3Cline x1='-8' y1='-783' x2='808' y2='33'/%3E%3C/g%3E%3Cg stroke='%23002060' stroke-width='15'%3E%3Cline x1='-8' y1='742' x2='808' y2='1558'/%3E%3Cline x1='-8' y1='42' x2='808' y2='858'/%3E%3Cline x1='-8' y1='-58' x2='808' y2='758'/%3E%3Cline x1='-8' y1='-758' x2='808' y2='58'/%3E%3C/g%3E%3Cg stroke='%23001f5c' stroke-width='14'%3E%3Cline x1='-8' y1='67' x2='808' y2='883'/%3E%3Cline x1='-8' y1='717' x2='808' y2='1533'/%3E%3Cline x1='-8' y1='-733' x2='808' y2='83'/%3E%3Cline x1='-8' y1='-83' x2='808' y2='733'/%3E%3C/g%3E%3Cg stroke='%23001e59' stroke-width='13'%3E%3Cline x1='-8' y1='92' x2='808' y2='908'/%3E%3Cline x1='-8' y1='692' x2='808' y2='1508'/%3E%3Cline x1='-8' y1='-108' x2='808' y2='708'/%3E%3Cline x1='-8' y1='-708' x2='808' y2='108'/%3E%3C/g%3E%3Cg stroke='%23001d56' stroke-width='12'%3E%3Cline x1='-8' y1='667' x2='808' y2='1483'/%3E%3Cline x1='-8' y1='117' x2='808' y2='933'/%3E%3Cline x1='-8' y1='-133' x2='808' y2='683'/%3E%3Cline x1='-8' y1='-683' x2='808' y2='133'/%3E%3C/g%3E%3Cg stroke='%23001c53' stroke-width='11'%3E%3Cline x1='-8' y1='642' x2='808' y2='1458'/%3E%3Cline x1='-8' y1='142' x2='808' y2='958'/%3E%3Cline x1='-8' y1='-158' x2='808' y2='658'/%3E%3Cline x1='-8' y1='-658' x2='808' y2='158'/%3E%3C/g%3E%3Cg stroke='%23001b4f' stroke-width='10'%3E%3Cline x1='-8' y1='167' x2='808' y2='983'/%3E%3Cline x1='-8' y1='617' x2='808' y2='1433'/%3E%3Cline x1='-8' y1='-633' x2='808' y2='183'/%3E%3Cline x1='-8' y1='-183' x2='808' y2='633'/%3E%3C/g%3E%3Cg stroke='%23001a4c' stroke-width='9'%3E%3Cline x1='-8' y1='592' x2='808' y2='1408'/%3E%3Cline x1='-8' y1='192' x2='808' y2='1008'/%3E%3Cline x1='-8' y1='-608' x2='808' y2='208'/%3E%3Cline x1='-8' y1='-208' x2='808' y2='608'/%3E%3C/g%3E%3Cg stroke='%23001949' stroke-width='8'%3E%3Cline x1='-8' y1='567' x2='808' y2='1383'/%3E%3Cline x1='-8' y1='217' x2='808' y2='1033'/%3E%3Cline x1='-8' y1='-233' x2='808' y2='583'/%3E%3Cline x1='-8' y1='-583' x2='808' y2='233'/%3E%3C/g%3E%3Cg stroke='%23001846' stroke-width='7'%3E%3Cline x1='-8' y1='242' x2='808' y2='1058'/%3E%3Cline x1='-8' y1='542' x2='808' y2='1358'/%3E%3Cline x1='-8' y1='-558' x2='808' y2='258'/%3E%3Cline x1='-8' y1='-258' x2='808' y2='558'/%3E%3C/g%3E%3Cg stroke='%23001743' stroke-width='6'%3E%3Cline x1='-8' y1='267' x2='808' y2='1083'/%3E%3Cline x1='-8' y1='517' x2='808' y2='1333'/%3E%3Cline x1='-8' y1='-533' x2='808' y2='283'/%3E%3Cline x1='-8' y1='-283' x2='808' y2='533'/%3E%3C/g%3E%3Cg stroke='%2300163f' stroke-width='5'%3E%3Cline x1='-8' y1='292' x2='808' y2='1108'/%3E%3Cline x1='-8' y1='492' x2='808' y2='1308'/%3E%3Cline x1='-8' y1='-308' x2='808' y2='508'/%3E%3Cline x1='-8' y1='-508' x2='808' y2='308'/%3E%3C/g%3E%3Cg stroke='%2300153c' stroke-width='4'%3E%3Cline x1='-8' y1='467' x2='808' y2='1283'/%3E%3Cline x1='-8' y1='317' x2='808' y2='1133'/%3E%3Cline x1='-8' y1='-333' x2='808' y2='483'/%3E%3Cline x1='-8' y1='-483' x2='808' y2='333'/%3E%3C/g%3E%3Cg stroke='%23001439' stroke-width='3'%3E%3Cline x1='-8' y1='342' x2='808' y2='1158'/%3E%3Cline x1='-8' y1='442' x2='808' y2='1258'/%3E%3Cline x1='-8' y1='-458' x2='808' y2='358'/%3E%3Cline x1='-8' y1='-358' x2='808' y2='458'/%3E%3C/g%3E%3Cg stroke='%23001336' stroke-width='2'%3E%3Cline x1='-8' y1='367' x2='808' y2='1183'/%3E%3Cline x1='-8' y1='417' x2='808' y2='1233'/%3E%3Cline x1='-8' y1='-433' x2='808' y2='383'/%3E%3Cline x1='-8' y1='-383' x2='808' y2='433'/%3E%3C/g%3E%3Cg stroke='%23013' stroke-width='1'%3E%3Cline x1='-8' y1='392' x2='808' y2='1208'/%3E%3Cline x1='-8' y1='-408' x2='808' y2='408'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
250+
background-attachment: fixed
251+
252+
.scrolled
253+
background: #1d1c29 !important
254+
transition: background 1000ms
255+
256+
.subtitle strong
257+
color: white;
258+
font-weight: 600;

themes/containerd/layouts/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,41 @@
66
{{- $about := .Site.Params.home.about | markdownify }}
77
{{- $diagram := "img/architecture.png" | relURL }}
88
{{- $adopterLogos := .Site.Data.adopters }}
9-
<section class="hero has-text-centered is-dark has-shadow">
9+
<section class="hero has-text-centered has-shadow has-background-pattern">
1010
<div class="hero-body">
1111
<div class="container">
1212
<img src="{{ $logo }}" class="title is-home-logo" alt="containerd hero logo">
1313

1414
<br />
1515

16-
<p class="subtitle is-size-3 is-size-4-mobile has-text-weight-light">
16+
<p class="subtitle is-size-3 is-size-4-mobile has-text-white has-text-weight-light">
1717
{{ $subtitle }}
1818
</p>
1919

2020
<br />
2121

2222
<div class="buttons is-centered">
23-
<a class="button is-medium is-radiusless is-borderless has-text-weight-bold" href="/docs/getting-started">
23+
<a class="button is-large is-link is-rounded is-borderless has-text-weight-bold" href="/docs/getting-started">
2424
<span class="icon">
25-
<i class="fas fa-sm fa-step-forward"></i>
25+
<i class="fas fa-sm fa-play"></i>
2626
</span>
2727
<span>
2828
Getting started
2929
</span>
3030
</a>
3131

32-
<a class="button is-dark is-outlined is-inverted is-radiusless" href="/docs">
32+
<a class="button is-large is-info is-rounded has-text-weight-bold" href="/docs">
3333
<span class="icon">
34-
<i class="fas fa-sm fa-info"></i>
34+
<i class="fas fa-sm fa-book"></i>
3535
</span>
3636
<span>
3737
Docs
3838
</span>
3939
</a>
4040

41-
<a class="button is-orange is-radiusless" href="/downloads">
41+
<a class="button is-large is-danger is-rounded has-text-weight-bold" href="/downloads">
4242
<span class="icon">
43-
<i class="fas fa-file-download"></i>
43+
<i class="fas fa-download"></i>
4444
</span>
4545
<span>
4646
Downloads

themes/containerd/layouts/partials/navbar.html

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
{{- $githubUrl := printf "https://github.com/%s" $githubRepo }}
88
{{- $slackChannel := .Site.Params.slackChannel }}
99
{{- $projectPages := where .Site.RegularPages "Section" "" }}
10-
<div class="navbar is-fixed-top{{ if $isHome }} is-dark{{ else }} has-shadow{{ end }}">
10+
<div id="mainnav" style="padding:10px" class="navbar is-transparent has-background-pattern is-fixed-top{{ if $isHome }} {{ else }} has-shadow{{ end }}">
1111
<div class="container">
1212
<div class="navbar-brand">
1313
<a class="navbar-item" href="{{ .Site.BaseURL }}">
14-
<img src="{{ $logo }}" alt="containerd navbar logo">
14+
<img src="{{ $logo }}" alt="containerd navbar logo" style="transform: scale(1.7);">
1515
</a>
1616

1717
{{- if not $isHome }}
18-
<div class="navbar-item is-docs-title has-text-weight-bold is-hidden-mobile">
18+
<div class="navbar-item is-docs-title has-text-weight-bold has-text-white is-hidden-mobile">
1919
{{ .Title }}
2020
</div>
2121
{{- end }}
@@ -29,12 +29,12 @@
2929

3030
<div class="navbar-menu" id="navbarMenu">
3131
<div class="navbar-end">
32-
<a class="navbar-item has-text-weight-bold" href="/downloads">
32+
<a class="navbar-item has-text-weight-bold has-text-white" href="/downloads">
3333
Downloads
3434
</a>
3535

3636
<div class="navbar-item is-hoverable has-dropdown has-text-weight-bold" href="/docs">
37-
<a class="navbar-link">
37+
<a class="navbar-link has-text-white">
3838
Docs
3939
</a>
4040

@@ -48,7 +48,7 @@
4848
</div> <!-- .navbar-item -->
4949

5050
<div class="navbar-item is-hoverable has-dropdown has-text-weight-bold">
51-
<div class="navbar-link">
51+
<div class="navbar-link has-text-white">
5252
Project
5353
</div>
5454

@@ -64,7 +64,7 @@
6464
{{- end }}
6565

6666
<a class="navbar-item" href="https://github.com/cncf/artwork/blob/master/examples/graduated.md#containerd-logos">
67-
containerd branding
67+
Containerd Branding
6868
</a>
6969
</div>
7070
</div> <!-- .navbar-item -->
@@ -96,3 +96,16 @@
9696
</div> <!-- .navbar-menu -->
9797
</div> <!-- .container -->
9898
</div> <!-- .navbar -->
99+
100+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
101+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
102+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
103+
104+
<script>
105+
$(function () {
106+
$(document).scroll(function () {
107+
var $nav = $("#mainnav");
108+
$nav.toggleClass("scrolled", $(this).scrollTop() > $nav.height());
109+
});
110+
});
111+
</script>

yarn.lock

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
# yarn lockfile v1
33

44

5-
bulma-badge@^2.0.0:
6-
version "2.0.0"
7-
resolved "https://registry.yarnpkg.com/bulma-badge/-/bulma-badge-2.0.0.tgz#7c7f8fee805400fa35117a43c80f5f9784f3d513"
8-
9-
bulma@^0.7.1:
10-
version "0.7.2"
11-
resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.7.2.tgz#8e944377b74c7926558830d38d8e19eaf49f5fb6"
5+
"bulma@^0.7.1":
6+
"integrity" "sha512-6JHEu8U/1xsyOst/El5ImLcZIiE2JFXgvrz8GGWbnDLwTNRPJzdAM0aoUM1Ns0avALcVb6KZz9NhzmU53dGDcQ=="
7+
"resolved" "https://registry.npmjs.org/bulma/-/bulma-0.7.2.tgz"
8+
"version" "0.7.2"

0 commit comments

Comments
 (0)