-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
website: add sponsor section on homepage #1062
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ data/ | |
|
||
website/public/ | ||
website/docs-pre-processed/ | ||
!website/data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
|
||
sponsors: [] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,38 @@ <h4 class="font-weight-bold">Downsampling & Compaction</h4> | |
</div> | ||
</div> | ||
</div> | ||
<div class="container-fluid"> | ||
<div class="container py-5"> | ||
<div class="row"> | ||
<div class="col-12"><h3 class="text-center">Founded by</h3></div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-4 col-xl-2 offset-4 offset-xl-5 py-3"> | ||
<div class="img-sponsor"> | ||
<a href="https://improbable.io" rel="nofollow" target="_blank"><img src="{{ "/logos/improbable.png" | relURL }}" class="img-fluid" alt="Improbable"></a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-12"><h3 class="text-center">Used by</h3></div> | ||
</div> | ||
<div class="row"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wow you automated this <3 Can we add link to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes! We can drop this when we have lot's of those ? And let's do it just very grey almost transparent? |
||
{{ range $sponsor := $.Site.Data.sponsors.sponsors }} | ||
{{ if $sponsor.logo }} | ||
<div class="col-4 col-xl-2 py-3"> | ||
<div class="img-sponsor"> | ||
<a href="{{ $sponsor.url }}" rel="nofollow" target="_blank"><img src="{{ (printf "/logos/%s" $sponsor.logo) | relURL }}" alt="{{ $sponsor.name }}"></a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what will happen if the logo is not present? Maybe have a default Thanos image to put there? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a check for the logo property ! |
||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
<div class="col-4 col-xl-2 py-3"> | ||
<div class="img-sponsor"> | ||
<a class="text-muted" href="{{ "contributing/how-to-contribute-to-docs.md#logos" | relURL }}">Your Company</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container-fluid bg-light"> | ||
<div class="row py-5"> | ||
<div class="col text-center"> | ||
<h3 class="color-purple">Join the community !</h3> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't that too hidden? Just curious how we can make it more searchable. Maybe some hover over logos "Go there " etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, let's ignore my comment. It's fine to this being there we can just redirect people if they will aks to be on page (: