Skip to content

Commit 97fdbf6

Browse files
committed
Change the website theme and add Ubisoft logo
1 parent c220987 commit 97fdbf6

15 files changed

Lines changed: 4105 additions & 15 deletions

File tree

site/assets/scss/_variables_project.scss

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,61 @@
33
Add styles or override variables from the theme here.
44
55
*/
6+
$enable-rounded: false;
7+
// $enable-shadows: false;
68

9+
$display1-weight: 500 !default;
10+
$display2-weight: 100 !default;
11+
12+
13+
$primary: rgb(255, 255,255) !default;
14+
$primary-light: lighten($primary, 75%) !default;
15+
$secondary: #2D70DE !default;
16+
$light: rgb(255, 255,255) !default;
17+
$grey: #888 !default;
18+
$orange: $secondary;
19+
20+
.nav-shadow {
21+
box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
22+
}
23+
24+
.navbar-brand {
25+
color: black !important
26+
}
27+
28+
.navbar-bg-onscroll {
29+
box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
30+
#agones-top {
31+
display: block !important;
32+
}
33+
}
34+
35+
.control-bar {
36+
display: none;
37+
}
38+
39+
.asciinema-theme-asciinema .asciinema-terminal {
40+
color: #cccccc;
41+
background-color: #121314;
42+
border-color: #121314;
43+
border-radius: 8px;
44+
}
45+
46+
.asciinema-theme-asciinema .bg-fg {
47+
background-color:black !important;
48+
}
49+
50+
#agones-search {
51+
background: rgba(190, 185, 185, 0.3);
52+
}
53+
input[type="search"]::placeholder {
54+
color: #9B9595 !important;
55+
}
56+
57+
.td-box--secondary p > a:hover {
58+
color: #121314 !important;
59+
}
60+
61+
#community a {
62+
color: #121314 !important;
63+
}

site/content/en/_index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44

55
+++
66

7-
{{< blocks/cover title="Host, run and scale dedicated game servers on Kubernetes" image_anchor="top" height="full" color="orange" >}}
7+
{{< blocks/cover title="" image_anchor="top" height="min" color="white" >}}
88
<div class="mx-auto">
9-
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
9+
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="{{< relref "/docs" >}}">
1010
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
1111
</a>
1212
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/GoogleCloudPlatform/agones/releases">
1313
Releases <i class="fab fa-github ml-2 "></i>
1414
</a>
15-
<p class="lead mt-5">Multiplayer dedicated game servers anywhere</p>
15+
<p class="lead mt-4">Multiplayer dedicated game servers anywhere</p>
1616
<div class="mx-auto mt-5">
17-
{{< blocks/link-down color="info" >}}
17+
{{< blocks/link-down color="light-secondary" >}}
1818
</div>
1919
</div>
2020
{{< /blocks/cover >}}
2121

22-
{{% blocks/lead color="primary" %}}
22+
{{% blocks/lead color="secondary" %}}
2323
<strong>What is Agones?</strong>
2424

2525
An open source, batteries-included, mulitplayer dedicated game server scaling and
@@ -46,16 +46,16 @@
4646

4747
{{< /blocks/section >}}
4848

49-
{{< blocks/section >}}
49+
{{< blocks/section color="primary" >}}
5050
<div class="col">
51-
<h2 class="text-center">Companies using Agones</h2>
51+
<h2 class="text-center pb-3">Companies using Agones</h2>
5252
<p class="text-center">
53-
coming soon!
53+
<img alt="ubisoft" width="100" src="images/ubisoft.png">
5454
</p>
5555
</div
5656
{{< /blocks/section >}}
5757

58-
{{< blocks/section >}}
58+
{{< blocks/section color="secondary" >}}
5959
{{% blocks/feature icon="fab fa-slack" title="Join us on Slack" url="https://join.slack.com/t/agones/shared_invite/enQtMzE5NTE0NzkyOTk1LWQ2ZmY1Mjc4ZDQ4NDJhOGYxYTY2NTY0NjUwNjliYzVhMWFjYjMxM2RlMjg3NGU0M2E0YTYzNDIxNDMyZGNjMjU" %}}
6060
Join the community on Slack
6161
{{% /blocks/feature %}}
-888 KB
Binary file not shown.

site/layouts/partials/community_links.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{{ $links := .Site.Params.links }}
22

3-
<section class="row td-box td-box--3 td-box--gradient td-box--height-auto">
4-
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
3+
<section id="community" class="row td-box td-box--2 td-box--gradient td-box--height-auto">
4+
<div class="col-sm-12 col-md-6 p-5">
55
<h2>Learn and Connect</h2>
66
<p>Using or want to use {{ .Site.Title }}? Find out more here:
77
{{ with index $links "user"}}
88
{{ template "community-links-list" . }}
99
{{ end }}
1010
</div>
11-
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
11+
<div class=" col-sm-12 col-md-6 p-5">
1212
<h2>Develop and Contribute</h2>
1313
<p>If you want to get more involved by contributing to {{ .Site.Title }}, join us here:
1414
{{ with index $links "developer"}}

site/layouts/partials/head.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<meta charset="utf-8">
2+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
3+
{{ .Hugo.Generator }}
4+
{{ if eq (getenv "HUGO_ENV") "production" }}
5+
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
6+
{{ else }}
7+
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
8+
{{ end }}
9+
{{ range .AlternativeOutputFormats -}}
10+
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
11+
{{ end -}}
12+
{{ partialCached "favicons.html" . }}
13+
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
14+
{{- template "_internal/opengraph.html" . -}}
15+
{{- template "_internal/google_news.html" . -}}
16+
{{- template "_internal/schema.html" . -}}
17+
{{- template "_internal/twitter_cards.html" . -}}
18+
{{ if eq (getenv "HUGO_ENV") "production" }}
19+
{{ template "_internal/google_analytics_async.html" . }}
20+
{{ end }}
21+
{{ partialCached "head-css.html" . "asdf" }}
22+
<link rel="stylesheet" type="text/css" href={{ "css/asciinema-player.css" | absURL }} />
23+
<script
24+
src="https://code.jquery.com/jquery-3.3.1.min.js"
25+
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
26+
crossorigin="anonymous"></script>
27+
{{ partial "hooks/head-end.html" . }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script src={{ "js/asciinema-player.js" | absURL }}></script>

site/layouts/partials/navbar.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{{ $cover := .HasShortcode "blocks/cover" }}
2-
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover}} td-navbar-cover {{ end }}flex-column flex-md-row td-navbar">
3-
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
2+
<nav class="js-navbar-scroll navbar navbar-expand navbar-light {{ if not $cover }} nav-shadow {{ end }}flex-column flex-md-row td-navbar">
3+
4+
<a id="agones-top" {{ if $cover }} style="display: none;" {{end}} class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
45
{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML }} {{ end }}<span class="text-uppercase font-weight-bold">{{ .Site.Title }}</span>
56
</a>
7+
68
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
79
<ul class="navbar-nav mt-2 mt-lg-0">
810
{{ $p := . }}
@@ -35,5 +37,5 @@
3537
{{ end }}
3638
</ul>
3739
</div>
38-
<div class="navbar-nav d-none d-lg-block">{{ partial "search-input.html" . }}</div>
40+
<div class="navbar-nav mx-lg-2 d-none d-lg-block">{{ partial "search-input.html" . }}</div>
3941
</nav>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{ with .Site.Params.gcs_engine_id }}
2+
<input id="agones-search" type="search" class="form-control td-search-input" placeholder="&#xf002 {{ T "ui_search" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
3+
{{ end }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{ $col_id := .Get "color" | default "dark" }}
2+
{{/* Height can be one of: auto, min, med, max, full. */}}
3+
{{ $height := .Get "height" | default "max" }}
4+
<section class="row td-cover-block td-cover-block--height-{{ $height }} js-td-cover td-overlay td-overlay--light -bg-{{ $col_id }}">
5+
<div class="container td-overlay__inner">
6+
<div class="row align-items-end">
7+
<div class="col-lg-6">
8+
<h1 class="display-1 mt-0 pb-3">
9+
<img alt="agones" width="98" src="images/logo.svg" />
10+
Agones
11+
</h1>
12+
<p class="display-2 mb-0">Host, Run and Scale dedicated game servers on Kubernetes</p>
13+
</div>
14+
<div class="col-lg-6 mt-5 mt-lg-3 d-sm-block" style="display: none">
15+
<asciinema-player
16+
loop autoplay font-size="12px" rows=12 cols=60
17+
src="agones.cast"></asciinema-player>
18+
</div>
19+
<div class="col-12 pt-3">
20+
<div class="pt-3 lead text-center">
21+
{{ .Inner }}
22+
</div>
23+
</div>
24+
</div>
25+
</div>
26+
</section>

site/static/agones.cast

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
{"version": 2, "width": 88, "height": 18, "timestamp": 1555123917, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}}
2+
[0.405323, "o", "\u001b]1337;RemoteHost=cyriltovena@Cyrils-MBP\u0007\u001b]1337;CurrentDir=/Users/ctovena\u0007\u001b]1337;ShellIntegrationVersion=8;shell=zsh\u0007"]
3+
[0.414944, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
4+
[0.415271, "o", "\u001b]2;cyriltovena@Cyrils-MBP: ~\u0007\u001b]1;~\u0007\u001b]133;D;0\u0007\u001b]1337;RemoteHost=cyriltovena@Cyrils-MBP\u0007\u001b]1337;CurrentDir=/Users/ctovena\u0007"]
5+
[0.419561, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b]133;A\u0007$ \u001b]133;B\u0007\u001b[K"]
6+
[0.419882, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
7+
[0.869438, "o", "k"]
8+
[1.413686, "o", "\bku"]
9+
[1.543446, "o", "b"]
10+
[1.812932, "o", "e"]
11+
[2.061003, "o", "c"]
12+
[2.251346, "o", "t"]
13+
[2.315526, "o", "l"]
14+
[2.530682, "o", " "]
15+
[2.656943, "o", "a"]
16+
[2.771001, "o", "p"]
17+
[2.925507, "o", "p"]
18+
[3.005321, "o", "l"]
19+
[3.533508, "o", "y"]
20+
[4.035879, "o", " "]
21+
[4.199496, "o", "-"]
22+
[4.331089, "o", "f"]
23+
[4.462665, "o", " "]
24+
[4.657587, "o", "f"]
25+
[4.777765, "o", "l"]
26+
[5.269268, "o", "e"]
27+
[5.472238, "o", "et.yaml\u001b[1m \u001b[0m"]
28+
[5.890218, "o", "\b\u001b[0m \b"]
29+
[5.890398, "o", "\u001b[?1l\u001b>\u001b[?2004l\r\r\n"]
30+
[5.891151, "o", "\u001b]2;kubectl apply -f fleet.yaml\u0007\u001b]1;kubectl\u0007"]
31+
[5.891306, "o", "\u001b]133;C;\u0007"]
32+
[6.329093, "o", "fleet.stable.agones.dev/simple-udp created\r\n"]
33+
[6.33645, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
34+
[6.337173, "o", "\u001b]2;cyriltovena@Cyrils-MBP: ~\u0007\u001b]1;~\u0007\u001b]133;D;0\u0007\u001b]1337;RemoteHost=cyriltovena@Cyrils-MBP\u0007\u001b]1337;CurrentDir=/Users/ctovena\u0007"]
35+
[6.352224, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b]133;A\u0007$ \u001b]133;B\u0007\u001b[K"]
36+
[6.352525, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
37+
[6.849819, "o", "k"]
38+
[7.039775, "o", "\bku"]
39+
[7.119771, "o", "b"]
40+
[7.244334, "o", "e"]
41+
[7.484011, "o", "c"]
42+
[7.673166, "o", "t"]
43+
[7.751691, "o", "l"]
44+
[7.926427, "o", " "]
45+
[8.013648, "o", "g"]
46+
[8.102762, "o", "e"]
47+
[8.195373, "o", "t"]
48+
[8.234655, "o", " "]
49+
[8.461222, "o", "g"]
50+
[8.687232, "o", "a"]
51+
[8.821474, "o", "m"]
52+
[8.968938, "o", "e"]
53+
[9.33443, "o", "s"]
54+
[9.50143, "o", "e"]
55+
[9.57282, "o", "r"]
56+
[9.785509, "o", "v"]
57+
[9.90284, "o", "e"]
58+
[9.995186, "o", "r"]
59+
[10.134129, "o", "s"]
60+
[10.83375, "o", "\u001b[?1l\u001b>\u001b[?2004l\r\r\n"]
61+
[10.834544, "o", "\u001b]2;kubectl get gameservers\u0007\u001b]1;kubectl\u0007"]
62+
[10.834703, "o", "\u001b]133;C;\u0007"]
63+
[10.938989, "o", "NAME STATE "]
64+
[10.939172, "o", "ADDRESS PORT AGE\r\nsimple-udp-x2rfr-llh85 Scheduled 172.17.0.3 7091 4s\r\nsimple-udp-x2rfr-pc469 Scheduled 172.17.0.3 7903 4s\r\n"]
65+
[10.941537, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
66+
[10.941824, "o", "\u001b]2;cyriltovena@Cyrils-MBP: ~\u0007\u001b]1;~\u0007"]
67+
[10.941873, "o", "\u001b]133;D;0\u0007\u001b]1337;RemoteHost=cyriltovena@Cyrils-MBP\u0007\u001b]1337;CurrentDir=/Users/ctovena\u0007"]
68+
[10.947498, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b]133;A\u0007$ \u001b]133;B\u0007\u001b[K"]
69+
[10.947612, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
70+
[11.966781, "o", "k"]
71+
[12.186624, "o", "\bku"]
72+
[12.270249, "o", "b"]
73+
[12.389241, "o", "e"]
74+
[13.145693, "o", "c"]
75+
[13.525132, "o", "l"]
76+
[13.960655, "o", "\b \b"]
77+
[14.047528, "o", "t"]
78+
[14.224143, "o", "l"]
79+
[14.602763, "o", " "]
80+
[14.689444, "o", "s"]
81+
[14.790314, "o", "c"]
82+
[14.894509, "o", "a"]
83+
[14.998413, "o", "l"]
84+
[15.175088, "o", "e"]
85+
[15.474539, "o", " "]
86+
[15.631081, "o", "f"]
87+
[15.776969, "o", "l"]
88+
[15.868121, "o", "e"]
89+
[16.061918, "o", "e"]
90+
[16.174075, "o", "t"]
91+
[16.360198, "o", " "]
92+
[16.589241, "o", "s"]
93+
[16.676273, "o", "i"]
94+
[16.7799, "o", "m"]
95+
[16.995161, "o", "p"]
96+
[17.078999, "o", "l"]
97+
[17.622868, "o", "e"]
98+
[19.022595, "o", "-"]
99+
[19.348754, "o", "u"]
100+
[19.599111, "o", "d"]
101+
[19.729487, "o", "p"]
102+
[20.203819, "o", " "]
103+
[20.981239, "o", "-"]
104+
[21.128286, "o", "-"]
105+
[21.394506, "o", "r"]
106+
[21.473973, "o", "e"]
107+
[21.628872, "o", "p"]
108+
[21.837781, "o", "l"]
109+
[22.115143, "o", "i"]
110+
[22.226186, "o", "c"]
111+
[22.333435, "o", "a"]
112+
[22.457827, "o", "s"]
113+
[22.807742, "o", "="]
114+
[23.203696, "o", "4"]
115+
[23.890949, "o", "\u001b[?1l\u001b>\u001b[?2004l"]
116+
[23.891194, "o", "\r\r\n"]
117+
[23.892077, "o", "\u001b]2;kubectl scale fleet simple-udp --replicas=4\u0007\u001b]1;kubectl\u0007"]
118+
[23.892276, "o", "\u001b]133;C;\u0007"]
119+
[24.018365, "o", "fleet.stable.agones.dev/simple-udp scaled\r\n"]
120+
[24.021162, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
121+
[24.021282, "o", "\u001b]2;cyriltovena@Cyrils-MBP: ~\u0007\u001b]1;~\u0007"]
122+
[24.021313, "o", "\u001b]133;D;0\u0007"]
123+
[24.021337, "o", "\u001b]1337;RemoteHost=cyriltovena@Cyrils-MBP\u0007"]
124+
[24.02136, "o", "\u001b]1337;CurrentDir=/Users/ctovena\u0007"]
125+
[24.031865, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b]133;A\u0007$ \u001b]133;B\u0007\u001b[K"]
126+
[24.031962, "o", "\u001b[?1h\u001b="]
127+
[24.03201, "o", "\u001b[?2004h"]
128+
[25.205265, "o", "k"]
129+
[25.427316, "o", "\bku"]
130+
[25.515698, "o", "b"]
131+
[25.612004, "o", "e"]
132+
[25.814309, "o", "c"]
133+
[25.993785, "o", "t"]
134+
[26.038015, "o", "l"]
135+
[26.222963, "o", " "]
136+
[26.322404, "o", "g"]
137+
[26.461666, "o", "e"]
138+
[26.533366, "o", "t"]
139+
[26.609643, "o", " "]
140+
[26.929875, "o", "g"]
141+
[27.12652, "o", "a"]
142+
[27.244835, "o", "m"]
143+
[27.360529, "o", "e"]
144+
[27.872714, "o", "s"]
145+
[28.048761, "o", "e"]
146+
[28.117722, "o", "r"]
147+
[28.31714, "o", "v"]
148+
[28.763899, "o", "e"]
149+
[28.832716, "o", "r"]
150+
[29.014575, "o", "s"]
151+
[29.224023, "o", "\u001b[?1l\u001b>"]
152+
[29.224198, "o", "\u001b[?2004l\r\r\n"]
153+
[29.224861, "o", "\u001b]2;kubectl get gameservers\u0007\u001b]1;kubectl\u0007"]
154+
[29.225037, "o", "\u001b]133;C;\u0007"]
155+
[29.316298, "o", "NAME STATE ADDRESS PORT AGE\r\nsimple-udp-x2rfr-dsxs6 Scheduled "]
156+
[29.316608, "o", "172.17.0.3 7053 5s\r\nsimple-udp-x2rfr-jz5lf Scheduled 172.17.0.3 7254 5s\r\nsimple-udp-x2rfr-llh85 Ready 172.17.0.3 7091 22s\r\nsimple-udp-x2rfr-pc469 Ready 172.17.0.3 7903 22s\r\n"]
157+
[29.319226, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
158+
[29.319446, "o", "\u001b]2;cyriltovena@Cyrils-MBP: ~\u0007\u001b]1;~\u0007"]
159+
[29.319754, "o", "\u001b]133;D;0\u0007\u001b]1337;RemoteHost=cyriltovena@Cyrils-MBP\u0007\u001b]1337;CurrentDir=/Users/ctovena\u0007"]
160+
[29.32535, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b]133;A\u0007$ \u001b]133;B\u0007\u001b[K\u001b[?1h\u001b=\u001b[?2004h"]
161+
[32.137861, "o", "\u001b[?2004l\r\r\n"]

0 commit comments

Comments
 (0)