Skip to content

Commit

Permalink
Create new development sponsors level (#1713)
Browse files Browse the repository at this point in the history
[deploy site]
  • Loading branch information
AutomatedTester committed May 9, 2024
1 parent 6ce9ec1 commit ce0ed15
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 10 deletions.
18 changes: 11 additions & 7 deletions website_and_docs/data/sponsors.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
selenium:
# Set to false if no items are present
development:
enable: true
item:
# Sponsorship start date: April 16, 2024
- logo: "/images/sponsors/bright-data.png"
url: "https://brightdata.com/?utm_source=brand&utm_campaign=brnd-mkt_partners_selenium"
name: "Bright Data"
# Sponsorship start date: July 30, 2014 - Renewed April 2024 under the "Development" level
# Sponsorship start date: July 30, 2014 - Renewed April 2024 under the "Development" level
- logo: "/images/sponsors/browserstack.png"
url: "http://www.browserstack.com/automate/?utm_campaign=open-source-sponsor&utm_source=seleniumorg&utm_medium=referral"
name: "BrowserStack"
# Sponsorship start date: August 23, 2014 - Renewed April 2024 under the "Development" level
- logo: "/images/sponsors/saucelabs.png"
url: "https://saucelabs.com/resources/topic-hub/selenium?utm_source=selenium&utm_medium=website&utm_campaign=selenium-sponsorship-fy25"
name: "Sauce Labs"

selenium:
# Set to false if no items are present
enable: true
item:
# Sponsorship start date: April 16, 2024
- logo: "/images/sponsors/bright-data.png"
url: "https://brightdata.com/?utm_source=brand&utm_campaign=brnd-mkt_partners_selenium"
name: "Bright Data"
# Sponsorship start date: June 24, 2015, updated July 2023 (only logo, not the agreement)
- logo: "/images/sponsors/Digital.ai.jpg"
url: "http://bit.ly/36uZ7ad"
Expand Down
1 change: 1 addition & 0 deletions website_and_docs/layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{{ with .Content }}
{{ . }}

{{ partial "development-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "selenium-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "platinum-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "news-feed.html" (dict "regular_pages" $.Site.RegularPages) }}
Expand Down
14 changes: 14 additions & 0 deletions website_and_docs/layouts/partials/development-level-sponsors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ if .Data.sponsors.selenium.enable }}
<div class="row justify-content-center p-5">
<h2 class="selenium text-center">Development Level Sponsors</h2>
</div>
<div class="row justify-content-around pt-4 pb-5 px-5">
{{ range .Data.sponsors.development.item }}
<div class="col-lg-3 col-md-6 mb-4 mb-lg-0 align-self-center px-5 py-3">
<a href="{{ .url }}" class="border-0">
<img class="w-100 shadow-1-strong rounded selenium-backer-logo" src="{{ .logo }}" alt="{{ .name }}" />
</a>
</div>
{{ end }}
</div>
{{ end }}
1 change: 1 addition & 0 deletions website_and_docs/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{/* Avoiding showing extra sections for home page and sponsors */}}
{{ if and (ne .Kind "home") (ne .Section "sponsors" ) }}
{{ partial "development-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "selenium-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "selenium-container.html" (dict "title" "Support the Selenium Project" "text" "Learn more or view the full list of sponsors." "color_bg" "selenium-cyan" "color_btn" "selenium-white-cyan" "btn_text" "Learn more") }}
{{ end }}
Expand Down
8 changes: 5 additions & 3 deletions website_and_docs/layouts/sponsors/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

<a class="td-offset-anchor"></a>
<div class="td-content">
{{ .Content }}
{{ .Content }}
</div>

{{ partial "development-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "selenium-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "platinum-level-sponsors.html" (dict "Data" $.Site.Data) }}
{{ partial "gold-level-sponsors.html" (dict "Data" $.Site.Data) }}
Expand All @@ -16,8 +17,9 @@
<div class="card-body">
<h2 class="card-title">Sponsoring</h2>
<p class="card-text pb-4 w-lg-75">
Would you like your company to be listed on this page? <a href="/sponsor">Learn more about sponsoring Selenium.</a>
</p>
Would you like your company to be listed on this page? <a href="/sponsor">Learn more about sponsoring
Selenium.</a>
</p>
</div>
</div>
</div>
Expand Down

0 comments on commit ce0ed15

Please sign in to comment.