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
#7000)

* Added website page for companies who offer consultancy and enterprise support for Thanos

Signed-off-by: Kartikay <[email protected]>

* adopters.yml revert

Signed-off-by: Kartikay <[email protected]>

* retrigger checks

Signed-off-by: Kartikay <[email protected]>

* added a new line in welcome.md

Signed-off-by: Kartikay <[email protected]>

* retrigger checks

Signed-off-by: Kartikay <[email protected]>

---------

Signed-off-by: Kartikay <[email protected]>
  • Loading branch information
kartikaysaxena authored Dec 24, 2023
1 parent ae324c2 commit 2d6acc5
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 1 deletion.
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.
2 changes: 1 addition & 1 deletion website/data/adopters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ adopters:
logo: grupo-olx.png
- name: TrueLayer
url: https://truelayer.com/
logo: truelayer.png
logo: truelayer.png
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 2d6acc5

Please sign in to comment.