Skip to content

Commit 6519873

Browse files
committed
About page - WIP [skip ci]
1 parent dd3a549 commit 6519873

File tree

6 files changed

+79
-23
lines changed

6 files changed

+79
-23
lines changed

website_hugo_files/assets/scss/_variables_project.scss

+19
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,25 @@ $white: #fff;
4242
color: $white;
4343
}
4444

45+
.-bg-selenium-orange {
46+
// https://www.svgbackgrounds.com/#liquid-cheese
47+
// https://cssgenerator.org/rgba-and-hex-color-generator.html used to get the values
48+
// Color 1: #FE844C (70%) Color 2: #FE6A26 (85%) Color 3: #FE5000 (100%)
49+
background-color: #fe844c;
50+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23fe7f45' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23fe7a3e' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23fe7536' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23fe6f2e' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23fe6a26' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23fe6520' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23fe601a' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23fe5b13' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23fe560a' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23fe5000' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
51+
background-attachment: fixed;
52+
background-size: cover;
53+
color: $white;
54+
}
55+
56+
.-bg-selenium-cyan-20 {
57+
background-color: #DEF5FB;
58+
}
59+
60+
.-bg-selenium-green-45 {
61+
background-color: #D9EFD4;
62+
}
63+
4564
// This overrides the font color for the site
4665
$gray-900: #6F757A;
4766

website_hugo_files/content/en/about/_index.html

+7-22
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,17 @@
77

88
---
99

10+
{{< blocks/cover title="About Selenium" image_anchor="top" height="min" color="selenium-orange" align="left">}}
1011

11-
{{< blocks/cover title="About Goldydocs" image_anchor="bottom" height="min" >}}
12-
13-
<p class="lead mt-5">A sample site using the Docsy Hugo theme.
14-
</p>
12+
<p class="lead mt-2">Selenium is a suite of tools for automating web browsers.</p>
1513

1614
{{< /blocks/cover >}}
1715

18-
{{% blocks/lead %}}
19-
Goldydocs is a sample site using the <a href="https://github.com/google/docsy">Docsy</a> Hugo theme that shows what it can do and provides you with a template site structure. It’s designed for you to clone and edit as much as you like. See the different sections of the documentation and site for more ideas.
20-
{{% /blocks/lead %}}
21-
22-
23-
{{< blocks/section >}}
24-
<div class="col-12">
25-
<h1 class="text-center">This is another section</h1>
26-
</div>
27-
28-
{{< /blocks/section >}}
29-
30-
16+
{{< history-of-selenium >}}
3117

32-
{{< blocks/section >}}
18+
{{< selenium-ecosystem >}}
3319

34-
<div class="col-12">
35-
<h1 class="text-center">This is another section</h1>
36-
</div>
20+
{{< selenium-level-sponsors >}}
3721

38-
{{< /blocks/section >}}
22+
{{< selenium-container title="Support the Selenium Project" text="Want to support the Selenium project? Learn more or view the full list of sponsors."
23+
color_bg="selenium-cyan" color_btn="selenium-white-cyan" >}}
Binary file not shown.

website_hugo_files/layouts/shortcodes/blocks/cover.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{{/* Height can be one of: auto, min, med, max, full. */}}
99
{{ $height := .Get "height" | default "max" }}
1010
{{ $byline := .Get "byline" | default "" }}
11+
{{ $align := .Get "align" | default "center" }}
1112
{{ with $promo_image }}
1213
{{ $promo_image_big := (.Fill (printf "1920x1080 %s" $image_anchor)) }}
1314
{{ $promo_image_small := (.Fill (printf "960x540 %s" $image_anchor)) }}
@@ -28,7 +29,7 @@
2829
<div class="container td-overlay__inner">
2930
<div class="row">
3031
<div class="col-12">
31-
<div class="text-center">
32+
<div class="text-{{ $align }}">
3233
{{ with .Get "title" }}<h1 class="display-1 mt-0 mt-md-5 pb-1">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
3334
{{ with .Get "subtitle" }}<p class="display-1 font-weight-normal mb-0">{{ . | html }}</p>{{ end }}
3435
<div class="pt-3 lead">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<div class="row -bg-selenium-cyan-20">
2+
<div class="col-9 pl-5 bg-transparent pt-5">
3+
<div class="card bg-transparent border-left-0 border-right-0 border-top-0 border-dark rounded-0">
4+
<div class="card-body px-0">
5+
<h2 class="card-title">History of Selenium</h2>
6+
<p class="card-text pb-4">
7+
The story starts in 2004 at ThoughtWorks in Chicago, with Jason Huggins building
8+
the Core mode as "JavaScriptTestRunner" for the testing of an internal Time and
9+
Expenses application (Python, Plone). Automatic testing of any applications is
10+
core to ThoughtWork's style, given the Agile leanings of this consultancy. He
11+
has help from Paul Gross and Jie Tina Wang. For them, this was a day job.
12+
</p>
13+
</div>
14+
</div>
15+
</div>
16+
</div>
17+
<div class="row -bg-selenium-cyan-20 pb-5">
18+
<div class="selenium-button-container justify-content-end pr-5">
19+
<a href="{{ "history" | relURL }}" class="selenium-button selenium text-uppercase font-weight-bold">
20+
Read full story
21+
<i class="pl-3 fas fa-caret-right"></i>
22+
</a>
23+
</div>
24+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div>
2+
<div class="row -bg-selenium-green-45">
3+
<div class="col-9 pl-5 bg-transparent pt-5">
4+
<div class="card bg-transparent border-left-0 border-right-0 border-top-0 border-dark rounded-0">
5+
<div class="card-body px-0">
6+
<h2 class="card-title">Selenium Ecosystem</h2>
7+
<p class="card-text">
8+
Over the last decade, a large ecosystem of Open Source projects have sprouted up around
9+
Selenium. This page attempts to capture some of those projects that make use of Selenium
10+
WebDriver as a central part of what they do.
11+
</p>
12+
<p class="card-text pb-4">
13+
Selenium can be extended in different ways. Here are a number of drivers, bindings, plugins,
14+
and frameworks created and maintained by third parties. </p>
15+
</div>
16+
</div>
17+
</div>
18+
</div>
19+
<div class="row -bg-selenium-green-45 pb-5">
20+
<div class="selenium-button-container justify-content-end pr-5">
21+
<a href="{{ "ecosystem" | relURL }}" class="selenium-button selenium text-uppercase font-weight-bold">
22+
View ecosystem
23+
<i class="pl-3 fas fa-caret-right"></i>
24+
</a>
25+
</div>
26+
</div>
27+
</div>

0 commit comments

Comments
 (0)