Skip to content

Commit

Permalink
style solutions page
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 7, 2024
1 parent 970612b commit 576eebd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 33 deletions.
1 change: 1 addition & 0 deletions src/website/layouts/ecosystem/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ <h1>{{ .Title }}</h1>
{{ range where .Site.RegularPages "Type" "eq" "ecosystem" }}
{{ $ecosystem := .Params.ecosystem }}
<div class="col">
<a href="{{ .RelPermalink }}/"></a>
<div class="card h-100">
<div class="card-body d-flex flex-column">
{{ $data := index .Site.Data.ecosystem $ecosystem }}
Expand Down
31 changes: 17 additions & 14 deletions src/website/layouts/solutions/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,30 @@ <h1>{{ .Title }}</h1>
<a class="btn btn-secondary" href="mailto://{{.Params.email}}"><b>Contact us</b></a>
</div>

<div class="my-5">
<div class="mt-5">
{{ partial "shared/highlight.html" .Params.highlights }}
</div>
</article>

{{ with .Params.faq }}
<ul>
{{ range . }}
<li>
<h2>{{ .question }}</h2>
<p>{{ .answer }}</p>
</li>
{{ end }}
</ul>
{{ end }}

</div>

</main>
</div>

{{ with .Params.faq }}
<div class="my-5 py-5" style="background-color: #f8f8f8">
<div class="m-5 p-5 card-shadow justify-content-center">

<h1>Frequently Asked Questions</h1>
<ul style="list-style: circle" class="mt-5">
{{ range . }}
<li>
<h2>{{ .question }}</h2>
<p>{{ .answer }}</p>
</li>
{{ end }}
</ul>
</div>
</div>
{{ end }}

{{ partial "shared/cta.html" ( dict "hideImages" true "page" .) }}

Expand Down
22 changes: 3 additions & 19 deletions src/website/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,25 +96,9 @@
pointer-events: none;
}

@media (min-width: 968px) {
.layout {
display: flex;
justify-content: center;
}
}

@media (max-width: 768px) {
.layout {
display: flex;
justify-content: center;
}
}

@media (max-width: 575px) {
.layout {
display: flex;
justify-content: center;
}
.layout {
display: flex;
justify-content: center;
}

.main-content {
Expand Down

0 comments on commit 576eebd

Please sign in to comment.