Skip to content

Commit

Permalink
Added website page for companies who offer consultancy and enterprise…
Browse files Browse the repository at this point in the history
… support for Thanos

Signed-off-by: Kartikay <[email protected]>
  • Loading branch information
kartikaysaxena committed Dec 20, 2023
1 parent 480c8d9 commit 9719a8d
Show file tree
Hide file tree
Showing 10 changed files with 99 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .mdox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ transformations:
backMatter: *docBackMatter

# Non-versioned element: Blog.

- glob: "support/*"
path: /../support/*

- glob: "blog/*"
path: /../blog/*

Expand Down
6 changes: 6 additions & 0 deletions docs/support/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Welcome to Support and Training!
author: Thanos Team
---

Anyone who has developed a Thanos training program or offers related services can add themselves to this page by opening a pull request against it.
Empty file added website/.hugo_build.lock
Empty file.
6 changes: 6 additions & 0 deletions website/data/adopters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,9 @@ adopters:
- name: TrueLayer
url: https://truelayer.com/
logo: truelayer.png
- name: Cloudraft
url: https://cloudraft.io/observability
logo: cloudraft-logo.png
- name: O11y
url: https://o11y.eu
logo: o11y_logo.jpeg
3 changes: 3 additions & 0 deletions website/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
<button type="submit" class="searchbtn"><i class="fas fa-search"></i></button>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="/support">Support and Training</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/{{ .Site.Params.GithubUser }}/{{ .Site.Params.GithubProject }}/releases">Releases</a>
</li>
Expand Down
1 change: 1 addition & 0 deletions website/layouts/partials/versioning/version-picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{{- range .Site.Sections.Reverse }}
{{- $version := .Section }}
{{- if eq $version "blog" }}{{continue}}{{end}}
{{- if eq $version "support" }}{{continue}}{{end}}
<a class="dropdown-item" href="{{ printf "../../../../%s" $version }}/thanos/getting-started.md">
{{ $version }}
</a>
Expand Down
28 changes: 28 additions & 0 deletions website/layouts/support/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{{ define "main" }}
<div class="container">
<div class="row py-5">
<div class="col col-12">
{{ range .Paginator.Pages }}
<div class="mb-5 container">
<h2><a href="{{ .Permalink }}">Support and Training</a></h2>
<p class ="text-muted" style="margin-bottom: 5rem;">Firms that offer consultancy and enterprise support.</p>
<div class="d-flex justify-content-around">
<a href="https://www.cloudraft.io">
<img src="{{ "/cloudraft.png" | relURL }}" alt="" style="width: auto; height: auto; border-color: #ccc; margin-top: 2rem">
</a>
<a href="https://o11y.eu">
<img src="{{ "/o11y.svg" | relURL }}" alt="" style="width: auto; height: auto; border-color: #ccc;">
</a>
</div>
<hr>
{{ .Summary }}
</div>
<div class="d-flex align-items-center justify-content-center mb-5">
<a href="https://github.com/thanos-io/thanos" target="_blank" class="btn btn-primary btn-lg">Add your company</a>
</div>
{{ end}}
{{ template "_internal/pagination.html" . }}
</div>
</div>
</div>
{{ end }}
14 changes: 14 additions & 0 deletions website/layouts/support/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ define "main" }}
<div class="container">
<div class="row py-5">
<div class="col col-12">
<div class="mb-5">
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="text-muted"></p>
<hr>
{{ .Content }}
</div>
</div>
</div>
</div>
{{ end }}
Binary file added website/static/cloudraft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions website/static/o11y.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9719a8d

Please sign in to comment.