Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added website page for companies who offer consultancy and enterprise… #7000

Merged
merged 5 commits into from
Dec 24, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this accidentally checked in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, fixed it.

Empty file.
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.
Loading