Skip to content

Commit d6e9b86

Browse files
committed
sponsor updates, CoC rename, ui fixes
1 parent f07f4ba commit d6e9b86

File tree

12 files changed

+68
-59
lines changed

12 files changed

+68
-59
lines changed

public/img/sponsors/abb.png

5.85 KB
Loading

public/img/sponsors/cgi.png

59.1 KB
Loading

public/img/sponsors/qubilea.png

30.8 KB
Loading

src/assets/css/grid.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
flex-wrap: wrap;
5252
}
5353

54+
.gap-2xsmall {
55+
gap: var(--size-2xsmall);
56+
}
57+
5458
.nowrap {
5559
flex-wrap: nowrap;
5660
}

src/assets/css/variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
--bp-lg: 1400px; /* desktop breakpoint */
2020

2121
--layout-container-max-width: 1400px;
22-
--layout-container-narrow-max-width: 720px;
22+
--layout-container-narrow-max-width: 690px;
2323
--container-padding: 0;
2424

2525
/* fonts */

src/components/CommunityItems.vue

Lines changed: 29 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,39 @@
11
<template>
2-
<div
3-
class="bg-white bg-grey-dark-darkmode row card"
4-
:class="$store.state.isMobile ? 'pt-medium pb-medium' : 'p-large'">
5-
<div class="row col-md-5 pr-medium">
6-
<div
7-
v-for="link in [items[0]]"
8-
:key="link.imgName"
9-
class="flex col-sm-12"
10-
:class="$store.state.isMobile ? 'pl-small pr-small mb-medium' : ''">
11-
<a :href="link.href" aria-hidden="true" tabindex="-1">
12-
<img
13-
:src="`${publicPath}img/${link.imgName}.svg`"
14-
style="width: 3rem; height: 3rem; transform: translateY(0.25rem);" />
15-
</a>
16-
<div class="ml-xsmall">
17-
<a :href="link.href" :name="`${link.title}`" target="_blank">
18-
<h3>
19-
{{ link.title }}
20-
</h3>
21-
</a>
22-
<div class="mt-2xsmall" v-html="link.description" />
23-
</div>
24-
</div>
2+
<div class="flex gap-2xsmall" style="width: calc(100% - 1rem)">
3+
<div class="col-sm-4 card bg-white bg-grey-dark-darkmode" :class="$store.state.isMobile ? 'p-small type-small' : 'p-medium'">
4+
<a :href="items[0].href" class="flex middle">
5+
<img
6+
v-if="!$store.state.isMobile"
7+
class="mr-xsmall"
8+
:src="`${publicPath}img/${items[0].imgName}.svg`"
9+
style="width: 3rem; height: 3rem;" />
10+
<h3 class="type-large mb-none">
11+
{{ items[0].title }}
12+
</h3>
13+
</a>
14+
<div class="mt-small" v-html="items[0].description" />
2515
</div>
26-
<div class="col-md-5 pr-medium">
27-
<div
28-
class="flex col-sm-12"
29-
:class="$store.state.isMobile ? 'pl-small pr-small' : ''">
30-
<a :href="items[1].href" aria-hidden="true" tabindex="-1">
31-
<img :src="`${publicPath}img/${items[1].imgName}.svg`" style="width: 3rem; height: 3rem; transform: translateY(0.25rem);" />
32-
</a>
33-
<div class="ml-xsmall">
34-
<a :href="items[1].href" :name="`${items[1].title}`" target="_blank">
35-
<h3>
36-
{{ items[1].title }}
37-
</h3>
38-
</a>
39-
<div class="mt-2xsmall" v-html="items[1].description" />
40-
</div>
41-
</div>
16+
<div class="col-sm-4 card bg-white bg-grey-dark-darkmode" :class="$store.state.isMobile ? 'p-small type-small' : 'p-medium'">
17+
<a :href="items[1].href" class="flex middle">
18+
<img
19+
v-if="!$store.state.isMobile"
20+
class="mr-xsmall"
21+
:src="`${publicPath}img/${items[1].imgName}.svg`"
22+
style="width: 3rem; height: 3rem;" />
23+
<h3 class="type-large mb-none">
24+
{{ items[1].title }}
25+
</h3>
26+
</a>
27+
<div class="mt-small" v-html="items[1].description" />
4228
</div>
43-
<div
44-
class="col-md-2 pl-medium"
45-
:style="$store.state.isMobile ? 'padding-left: 4.7rem; margin-top: 1rem;' : ''">
46-
<h3 class="color-grey-dark color-white-darkmode mb-2xsmall">
47-
Other
29+
<div class="col-sm-4 card bg-white bg-grey-dark-darkmode" :class="$store.state.isMobile ? 'p-small type-small' : 'p-medium'">
30+
<h3 class="type-large mb-small">
31+
Others
4832
</h3>
4933
<div
5034
v-for="link in items.slice(3)"
5135
:key="link.href"
52-
class="mb-2xsmall">
36+
class="mb-3xsmall">
5337
<a :href="link.href" :name="`${link.title}`" target="_blank">
5438
{{ link.title }}
5539
</a>

src/components/PageFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
</div>
130130
<div>
131131
<router-link :to="{ name: 'CoC' }">
132-
Code of Conduct
132+
Code of Ethics
133133
</router-link>
134134
</div>
135135
</div>

src/components/VideoComponent.vue

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<template>
2-
<div
3-
class="col-sm-12 col-lg-9 col-lg-offset-3"
4-
:style="{ 'overflow-x': 'scroll', 'overflow-y' : 'hidden', 'margin-top': '25px !important' }"
5-
>
6-
<iframe style="position: relative; width: 640px; height: 390px; border: 1px solid black; "
7-
:src="'https://www.youtube.com/embed/' + videoId + '?html5=1&amp;enablejsapi=1&amp;autoplay=0&amp;rel=0&amp;showinfo=0&amp;modestbranding=1&amp;controls=1&amp;autohide=0&amp;vq=large'" frameborder="0" allowfullscreen
8-
onload="player1=new YT.Player(this)">
2+
<div>
3+
<iframe
4+
style="width: 100%; aspect-ratio: 16/9;"
5+
:src="'https://www.youtube.com/embed/' + videoId + '?html5=1&amp;enablejsapi=1&amp;autoplay=0&amp;rel=0&amp;showinfo=0&amp;modestbranding=1&amp;controls=1&amp;autohide=0&amp;vq=large'"
6+
frameborder="0"
7+
allowfullscreen>
98
</iframe>
109
</div>
1110
</template>

src/content/resources/sponsors.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
export default () => ([
2+
{
3+
title: 'ABB',
4+
href: 'https://new.abb.com/',
5+
img: 'abb.png',
6+
description: 'ABB is a leading global technology company that energizes the transformation of society and industry to achieve a more productive, sustainable future. ABB employs about 5000 people in Finland. We use Robot Framework for hardware and software testing of multiple product lines, including variable frequency drives and power distribution automation.'
7+
},
28
{
39
title: 'Aktia',
410
href: 'https://www.aktia.fi/',
@@ -29,6 +35,12 @@ export default () => ([
2935
img: 'capgemini.png',
3036
description: 'Capgemini Netherlands is at the forefront of innovation to address the entire breadth of clients’ opportunities in the evolving world of cloud, digital and platforms. Building on its strong 50-year heritage and deep industry-specific expertise, Capgemini enables organizations to realize their business ambitions through an array of services from strategy to operations.'
3137
},
38+
{
39+
title: 'cgi',
40+
href: 'https://www.cgi.com/en/intelligence-automation',
41+
img: 'cgi.png',
42+
description: 'Founded in 1976, CGI is among the largest IT and business consulting services firms in the world. We are insights-driven and outcomes-based to help accelerate returns on your investments. CGI is privileged to work with clients around the world to use technology to support the vital workings of society and create a better future for all.'
43+
},
3244
{
3345
title: 'cisco',
3446
href: 'https://www.cisco.com/',
@@ -212,6 +224,12 @@ export default () => ([
212224
description: `
213225
Q-Factory is specialized in test automation and quality assurance services. Our expertise is based on strong project experience, and extensive testing and test tool knowledge. We emphasize on early software quality and we help fixing quality issues when it's most economical – before they are made.`
214226
},
227+
{
228+
title: 'qubilea',
229+
href: 'https://qubilea.fi/en/',
230+
img: 'qubilea.png',
231+
description: 'Qubilea is Finnish software quality assurance company, offering consulting services in software testing and test automation solutions.'
232+
},
215233
{
216234
title: 'reaktor',
217235
href: 'https://reaktor.fi/',

src/router/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,13 @@ const routes = [
5252
},
5353
{
5454
path: '/code-of-conduct',
55+
redirect: { name: 'CoC' }
56+
},
57+
{
58+
path: '/code-of-ethics',
5559
name: 'CoC',
5660
component: CoC,
57-
meta: { title: 'CoC' }
61+
meta: { title: 'Code of Ethics' }
5862
},
5963
{
6064
path: '/users',
@@ -100,7 +104,7 @@ router.afterEach((to, from, next) => {
100104
const title = to.meta.title
101105
if (title) document.title = `${title} | Robot Framework`
102106
else document.title = 'Robot Framework'
103-
next()
107+
return true
104108
})
105109

106110
export default router

0 commit comments

Comments
 (0)