Add bloop case study (#115)

* Add Bloop case study
* Add draft variable
* docs auto-sync
* Fix YAML formatting
* Add footnotes
* Fix case studies layout
* Add links to https://bloop.ai/
* Add images and change case studies layout
* Reduce logo size
* Add schema.org desc into case-studies
* Add PNG as a social preview image
* Resize social preview to 1200x627

---------

Co-authored-by: qdrant <qdrant@users.noreply.github.com>
This commit is contained in:
Kacper Łukawski
2023-02-28 11:59:22 +01:00
committed by GitHub
co-authored by qdrant
parent fe571ff1ad
commit 3691f76889
16 changed files with 155 additions and 1 deletions
@@ -0,0 +1,10 @@
{{- partial "header.html" . -}}
{{- partial "second_header.html" . -}}
<div id="content">
{{ block "main" . }}{{ end }}
</div>
{{ partial "contact-section" . }}
{{- partial "footer.html" . -}}
@@ -0,0 +1,2 @@
{{ define "main" }}
{{ end }}
@@ -0,0 +1,34 @@
{{ partial "header" . }}
<div class="auto-container pt-3 pt-md-2 mb-5">
<div class="row clearfix">
<!-- Content Side -->
<section class="col-lg-12 col-md-12 col-sm-12">
{{ .Scratch.Set "scope" "single" }}
<article class="article article_narrow article_bb mb-4">
<div class="article__cover mt-lg-5 mb-4">
<picture>
<source srcset="{{ .Params.preview_dir }}/title.webp" type="image/webp">
<img src="{{ .Params.preview_dir }}/title.jpg">
</picture>
</div>
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
</section>
</div>
</div>
<div style="background: var(--brand-light);">
<div class="auto-container pt-5 pb-5">
<div class="row clearfix pt-4">
{{ range where site.Pages "Section" "articles" | first 3 }}
<!-- Project Block -->
<div class="d-flex col-md-4 col-sm-12">
{{ partial "article-card" (dict "context" .) }}
</div>
{{ end }}
</div>
</div>
</div>
{{ partial "contact-section" . }}
{{ partial "footer" . }}
@@ -91,6 +91,20 @@
}]
}
</script>
{{ else if and (eq .Section "case-studies") .IsPage }}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "{{ .Params.title }}",
"image": [
{{ .Params.social_preview_image | absURL }},
],
"abstract": {{ .Params.description }},
"datePublished": {{ .Params.date }},
"dateModified": {{ .Params.date }}
}
</script>
{{ end }}
{{ $url := urls.Parse .Site.BaseURL }}