Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 5, 2024
1 parent bdbb9dc commit 6acdebe
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/website/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h1>{{ .Title }}</h1>
{{ end }}
</article>
</main>

</div>
{{ partial "shared/pipes.html" }}

{{ end }}
1 change: 1 addition & 0 deletions src/website/layouts/ecosystem/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ <h1>{{ .Title }}</h1>
</div>
</main>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}
3 changes: 2 additions & 1 deletion src/website/layouts/howto/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ <h5 class="card-title">{{ .Title }}</h5>
</div>
</main>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}
{{ end }}
1 change: 1 addition & 0 deletions src/website/layouts/in_action/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ <h3>Standalone projects</h3>
</article>
</main>
</div>
{{ partial "shared/pipes.html" }}
{{ end }}
5 changes: 2 additions & 3 deletions src/website/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ <h2>Corporate partners</h2>
{{ partial "shared/cta.html" ( dict "hideImages" false "page" .) }}
</div>
</div>
<div class="pumb">
<img class="img-fluid" src="/images/pumb.svg" alt="pumb"/>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}

4 changes: 3 additions & 1 deletion src/website/layouts/news/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>{{ .Title }}</h1>
{{ .Content }}
<div class="">
{{ range where .Site.RegularPages "Type" "eq" "news" }}
<div class="row mb-4 shadow pt-2 pb-3">
<div class="row mb-4 shadow pt-2 pb-3" style="background-color: white">
<a href="{{ .RelPermalink }}/" class="text-reset text-decoration-none text-">
<div class="d-flex justify-content-between">
<h5>{{ .Title }}</h5>
Expand All @@ -19,4 +19,6 @@ <h5>{{ .Title }}</h5>
</div>
</main>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}
3 changes: 3 additions & 0 deletions src/website/layouts/partials/shared/pipes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="pumb" style="position: relative; margin-top: -120px; margin-bottom: -250px; z-index: -1;">
<img class="img-fluid" src="/images/pumb.svg" alt="pumb"/>
</div>
3 changes: 2 additions & 1 deletion src/website/layouts/quickstart/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ <h5 class="card-title">{{ .Title }}</h5>
</div>
</main>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}
{{ end }}
2 changes: 2 additions & 0 deletions src/website/layouts/security/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ <h5>{{ .File.BaseFileName }}: {{ .Title }}</h5>
<hr>
{{ end }}
</div>
</div>
</main>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}
8 changes: 5 additions & 3 deletions src/website/layouts/solutions/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h3>{{ .title }}</h3>
</div>
{{ end }}
</div>
<div class="row row-cols-2 row-cols-xl-5 justify-content-center mt-4">
<div class="col-2">
<a class="btn btn-primary" href="mailto:[email protected]?subject=http4k Solutions">Talk to an expert</a>
<div class="row row-cols-3 px-4 justify-content-center">
<div class="col-6 d-flex justify-content-center">
<a class="btn btn-primary w-100" href="mailto:[email protected]?subject=http4k Solutions">Talk to an expert</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -53,4 +53,6 @@ <h3>{{ .title }}</h3>
</div>
{{ partial "shared/cta.html" ( dict "hideImages" true "page" .) }}

{{ partial "shared/pipes.html" }}

{{ end }}
2 changes: 2 additions & 0 deletions src/website/layouts/solutions/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ <h1>{{ .Title }}</h1>
</div>
{{ partial "shared/cta.html" ( dict "hideImages" true "page" .) }}

{{ partial "shared/pipes.html" }}

{{ end }}
3 changes: 2 additions & 1 deletion src/website/layouts/tutorial/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ <h5 class="card-title">{{ .Title }}</h5>
</div>
</main>
</div>
{{ partial "shared/pipes.html" }}

{{ end }}
{{ end }}
1 change: 1 addition & 0 deletions src/website/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ footer {
border-radius: 20px;
padding: 30px 40px 30px 20px;
margin-bottom: 44px;
background-color: white;
}

.card-shadow img {
Expand Down

0 comments on commit 6acdebe

Please sign in to comment.