Skip to content

Commit bd50c01

Browse files
committed
Reorg to have a banner below the navbar
[deploy site]
1 parent b8a3808 commit bd50c01

File tree

28 files changed

+263
-249
lines changed

28 files changed

+263
-249
lines changed
Lines changed: 1 addition & 16 deletions
Loading
Lines changed: 16 additions & 0 deletions
Loading

website_and_docs/assets/scss/_alerts.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,24 @@
6060
color: $selenium-yellow-color !important;
6161
}
6262
}
63+
64+
.alert-static {
65+
padding: 0 !important;
66+
.container {
67+
padding-top: 80px !important;
68+
padding-bottom: 8px !important;
69+
70+
@media (max-width: 991px) {
71+
padding-top: 136px !important;
72+
}
73+
74+
@include media-breakpoint-down(sm) {
75+
padding-top: 16px !important;
76+
}
77+
}
78+
79+
a {
80+
color: $white !important;
81+
text-decoration: underline;
82+
}
83+
}

website_and_docs/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ plausible_analytics = true
149149
# Enable syntax highlighting and copy buttons on code blocks with Prism
150150
prism_syntax_highlighting = true
151151

152+
# Enable announcement banner below navbar (Go to announcement-banner.html to change the message)
153+
announcement_banner = true
154+
152155
# User interface configuration
153156
[params.ui]
154157
# Enable to show the side bar menu in its compact state.

website_and_docs/content/_index.en.html

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,18 @@
33
linkTitle = "Selenium"
44
+++
55

6-
{{< blocks/cover title="Selenium automates browsers. That's it!" subtitle="What you do with that power is entirely up to you." image_anchor="top" height="auto" color="selenium-green" >}}
7-
<div class="mx-auto">
8-
<p class="lead pt-3 mb-0">
6+
{{< blocks/section color="selenium-green" height="min" >}}
7+
<div class="mx-auto text-center p-2">
8+
<h1 class="display-1">Selenium automates browsers. That's it!</h1>
9+
<p class="display-1 font-weight-normal mb-0">What you do with that power is entirely up to you.</p>
10+
<p class="lead mt-3 mb-0">
911
Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that.
1012
</p>
11-
<p class="lead pt-1">
13+
<p class="lead mb-0">
1214
Boring web-based administration tasks can (and should) also be automated as well.
1315
</p>
1416
</div>
15-
{{< /blocks/cover >}}
16-
17-
{{< dismissible-banner color="green" title="Selenium Conference Chicago 2023" >}}
18-
<p>
19-
The next SeleniumConf will be an in-person event in Chicago, March 28-30, 2023.
20-
<a href="https://seleniumconf.com/" target='_blank' class="btn btn-light btn-sm active" role="button" aria-pressed="true">Learn More</a>
21-
</p>
22-
{{< /dismissible-banner >}}
17+
{{< /blocks/section >}}
2318

2419
{{< getting-started color="100" height="auto" title="Getting Started" >}}
2520

website_and_docs/content/_index.ja.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,18 @@
33
linkTitle = "Selenium"
44
+++
55

6-
{{< blocks/cover title="Seleniumはブラウザを自動化します。そうです!" subtitle="その力で何をするかは完全にあなた次第です。" image_anchor="top" height="auto" color="selenium-green" >}}
7-
<div class="mx-auto">
6+
{{< blocks/section color="selenium-green" height="min" >}}
7+
<div class="mx-auto text-center">
8+
<h1 class="display-1 mt-0 mt-md-5 pb-1">Seleniumはブラウザを自動化します。そうです!</h1>
9+
<p class="display-1 font-weight-normal mb-0">その力で何をするかは完全にあなた次第です。</p>
810
<p class="lead pt-3 mb-0">
911
主にテスト目的でWebアプリケーションを自動化するためのものですが、それに限定されるものではありません。
1012
</p>
1113
<p class="lead pt-1">
1214
退屈なWebベースの管理タスクも自動化できます(自動化する必要があります)。
1315
</p>
1416
</div>
15-
{{< /blocks/cover >}}
16-
17-
{{< dismissible-banner color="green" title="Selenium Conference Chicago 2023" >}}
18-
<p>
19-
The next SeleniumConf will be an in-person event in Chicago, March 28-30, 2023. The CFP is now open!
20-
<a href="https://seleniumconf.com/" target='_blank' class="btn btn-light btn-sm active" role="button" aria-pressed="true">Learn More</a>
21-
</p>
22-
{{< /dismissible-banner >}}
17+
{{< /blocks/section >}}
2318

2419
{{< translation-alert >}}
2520

website_and_docs/content/_index.other.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,18 @@
33
linkTitle = "Selenium"
44
+++
55

6-
{{< blocks/cover title="Selenium automates browsers. That's it!" subtitle="What you do with that power is entirely up to you." image_anchor="top" height="auto" color="selenium-green" >}}
7-
<div class="mx-auto">
6+
{{< blocks/section color="selenium-green" height="min" >}}
7+
<div class="mx-auto text-center">
8+
<h1 class="display-1 mt-0 mt-md-5 pb-1">Selenium automates browsers. That's it!</h1>
9+
<p class="display-1 font-weight-normal mb-0">What you do with that power is entirely up to you.</p>
810
<p class="lead pt-3 mb-0">
911
Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that.
1012
</p>
1113
<p class="lead pt-1">
1214
Boring web-based administration tasks can (and should) also be automated as well.
1315
</p>
1416
</div>
15-
{{< /blocks/cover >}}
16-
17-
{{< dismissible-banner color="green" title="Selenium Conference Chicago 2023" >}}
18-
<p>
19-
The next SeleniumConf will be an in-person event in Chicago, March 28-30, 2023. The CFP is now open!
20-
<a href="https://seleniumconf.com/" target='_blank' class="btn btn-light btn-sm active" role="button" aria-pressed="true">Learn More</a>
21-
</p>
22-
{{< /dismissible-banner >}}
17+
{{< /blocks/section >}}
2318

2419
{{< dismissible-banner title="Welcome!" alert="note" color="blue" background="selenium-cyan-20" >}}
2520
Only [documentation](/documentation) gets translated into other languages. The rest of the website will remain in English.<br><br>

website_and_docs/content/_index.pt-br.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,18 @@
33
linkTitle = "Selenium"
44
+++
55

6-
{{< blocks/cover title="Selenium automatiza navegadores. É isso!" subtitle="O que você fará com esse poder é inteiramente consigo." image_anchor="top" height="auto" color="selenium-green" >}}
7-
<div class="mx-auto">
6+
{{< blocks/section color="selenium-green" height="min" >}}
7+
<div class="mx-auto text-center">
8+
<h1 class="display-1 mt-0 mt-md-5 pb-1">Selenium automatiza navegadores. É isso!</h1>
9+
<p class="display-1 font-weight-normal mb-0">O que você fará com esse poder é inteiramente consigo.</p>
810
<p class="lead pt-3 mb-0">
911
O uso mais normal é automatizar testes para aplicativos web, mas não está limitado a apenas isso.
1012
</p>
1113
<p class="lead pt-1">
1214
Tarefas aborrecidas de administração baseadas em web também podem (e devem) ser automatizadas.
1315
</p>
1416
</div>
15-
{{< /blocks/cover >}}
16-
17-
{{< dismissible-banner color="green" title="Selenium Conference Chicago 2023" >}}
18-
<p>
19-
The next SeleniumConf will be an in-person event in Chicago, March 28-30, 2023. The CFP is now open!
20-
<a href="https://seleniumconf.com/" target='_blank' class="btn btn-light btn-sm active" role="button" aria-pressed="true">Learn More</a>
21-
</p>
22-
{{< /dismissible-banner >}}
17+
{{< /blocks/section >}}
2318

2419
{{< translation-alert >}}
2520

0 commit comments

Comments
 (0)