Skip to content

Commit 5734085

Browse files
author
Sami Kolari
committed
sponsors + ui fixes
1 parent a506f38 commit 5734085

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+358
-17
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
rules: {
1414
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
1515
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16+
'vue/no-unused-components': 'warn',
1617
'vue/no-multiple-template-root': 'off',
1718
'no-unused-vars': 'warn',
1819
'space-before-function-paren': ['warn', 'never'],

public/img/sponsors/aito.png

40.6 KB

public/img/sponsors/aktia.png

6.99 KB

public/img/sponsors/botlabs.png

57.1 KB

public/img/sponsors/capgemini.png

11.4 KB

public/img/sponsors/chili.png

10.2 KB

public/img/sponsors/cisco.png

10.9 KB

public/img/sponsors/comiq.png

10.2 KB

public/img/sponsors/dbchenker.png

11.3 KB

public/img/sponsors/deutschepost.png

41.7 KB

public/img/sponsors/digia.png

39.5 KB

public/img/sponsors/eficode.png

12.4 KB

public/img/sponsors/eliga.png

13.6 KB

public/img/sponsors/etteplan.png

11 KB

public/img/sponsors/f2g.png

21.1 KB

public/img/sponsors/facile.png

25.7 KB

public/img/sponsors/finnair.png

11.2 KB

public/img/sponsors/gofore.png

41.1 KB

public/img/sponsors/henix.png

89.7 KB

public/img/sponsors/hiq.png

21 KB

public/img/sponsors/humanitec.png

43.8 KB

public/img/sponsors/imbus.png

11.6 KB

public/img/sponsors/ing.png

74.6 KB

public/img/sponsors/knowit.png

8.87 KB

public/img/sponsors/kuka.png

16.4 KB

public/img/sponsors/luoto.png

31.4 KB

public/img/sponsors/meliora.png

10.4 KB

public/img/sponsors/nets.png

27.9 KB

public/img/sponsors/nokia.png

2.98 KB

public/img/sponsors/nordea.png

6.73 KB

public/img/sponsors/northcode.png

29.4 KB

public/img/sponsors/op.png

48.5 KB

public/img/sponsors/opuscapita.png

8.15 KB

public/img/sponsors/oura.png

17.2 KB

public/img/sponsors/ouro.png

9.9 KB

public/img/sponsors/qentinel.png

21 KB

public/img/sponsors/qfactory.png

20.5 KB

public/img/sponsors/reaktor.png

6.84 KB

public/img/sponsors/robocorp.png

23 KB

public/img/sponsors/segron.png

33.9 KB

public/img/sponsors/signant.png

15.5 KB

public/img/sponsors/siili.png

12 KB

public/img/sponsors/sleepiq.png

3.18 KB

public/img/sponsors/symbio.png

13.8 KB

public/img/sponsors/testimate.png

25.2 KB

public/img/sponsors/tietoevry.png

56.2 KB

public/img/sponsors/vala.png

21.2 KB

public/img/sponsors/veikkaus.png

7.17 KB

src/components/Navbar.vue

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<div
33
ref="nav"
44
class="navbar row center bg-black color-white p-2xsmall pt-small pb-small">
5-
<div class="mr-medium" />
65
<!-- section navigation -->
76
<button
87
v-for="item in $tm('navbar.items')"

src/components/PageFooter.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div class="row bg-black color-white p-small pt-large pb-large">
3-
<div class="container" style="line-height: 1.75;">
3+
<div class="container" style="line-height: 2;">
44
<div class="row">
55
<div class="col-sm-6 col-md-3">
6-
<h3>
6+
<h3 class="mb-small">
77
<a href="https://robotframework.org/foundation/">Foundation</a>
88
</h3>
99
<div>
@@ -25,7 +25,7 @@
2525
<div
2626
class="col-sm-6 col-md-3"
2727
:class="$store.state.isMobile ? 'type-right' : ''">
28-
<h3>
28+
<h3 class="mb-small">
2929
Community
3030
</h3>
3131
<div>
@@ -56,7 +56,7 @@
5656
</div>
5757
<div v-if="$store.state.isMobile" class="col-sm-12 mb-large" />
5858
<div class="col-sm-6 col-md-3">
59-
<h3>
59+
<h3 class="mb-small">
6060
Instructions
6161
</h3>
6262
<div>

src/components/PageSection.vue

+16-7
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,20 @@ export default {
4444

4545
<style scoped>
4646
h2::before {
47-
display: block;
48-
content: " ";
49-
margin-top: -100px;
50-
height: 100px;
51-
visibility: hidden;
52-
pointer-events: none;
53-
}
47+
display: block;
48+
content: " ";
49+
margin-top: -100px;
50+
height: 100px;
51+
visibility: hidden;
52+
pointer-events: none;
53+
}
54+
h2 {
55+
clip-path: polygon(0 calc(100% - 2rem), 100% calc(100% - 2rem), 100% 100%, 0% 100%)
56+
}
57+
@media screen and (max-width: 700px) {
58+
h2::before {
59+
margin-top: -30px;
60+
height: 30px;
61+
}
62+
}
5463
</style>

src/components/PageSectionTwitter.vue

+9
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,13 @@ export default {
8080
visibility: hidden;
8181
pointer-events: none;
8282
}
83+
h2 {
84+
clip-path: polygon(0 calc(100% - 2rem), 100% calc(100% - 2rem), 100% 100%, 0% 100%)
85+
}
86+
@media screen and (max-width: 700px) {
87+
h2::before {
88+
margin-top: -30px;
89+
height: 30px;
90+
}
91+
}
8392
</style>

src/components/Sponsors.vue

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<template>
2+
<div class="row bg-white card pt-medium pb-medium" :class="$store.state.isMobile ? '' : 'p-small'">
3+
<div class="col-sm-12 mb-xsmall type-center color-theme">
4+
<h3>
5+
{{ $t('development.sponsorBoxTitle') }}
6+
</h3>
7+
</div>
8+
<a
9+
v-for="sponsor in $tm('resourcesList.sponsors')"
10+
:key="sponsor.name"
11+
:href="sponsor.href"
12+
target="_blank"
13+
class="sponsor cursor-pointer">
14+
<div
15+
class="img-container mb-small"
16+
:style="`background-image: url(${publicPath}img/sponsors/${sponsor.img})`" />
17+
</a>
18+
<div class="col-sm-12 type-small type-right pr-small" v-html="$t('development.howToJoin')" />
19+
</div>
20+
</template>
21+
22+
<script>
23+
export default {
24+
name: 'Sponsors',
25+
data: () => ({
26+
publicPath: process.env.BASE_URL
27+
})
28+
}
29+
</script>
30+
31+
<style scoped>
32+
.sponsor {
33+
flex-basis: 12.5%;
34+
max-width: 12.5%;
35+
transition: transform 0.2s;
36+
}
37+
.sponsor:hover {
38+
transform: scale(1.08);
39+
}
40+
.img-container {
41+
width: 70%;
42+
margin-left: auto;
43+
margin-right: auto;
44+
height: 4rem;
45+
background-repeat: no-repeat;
46+
background-size: contain;
47+
background-position: center;
48+
}
49+
@media screen and (max-width: 700px) {
50+
.sponsor {
51+
flex-basis: 25%;
52+
max-width: 25%;
53+
}
54+
}
55+
</style>

src/components/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import CompanyCarousel from './CompanyCarousel.vue'
1010
import CommunityItems from './CommunityItems.vue'
1111
import ResourceBox from './ResourceBox.vue'
1212
import TabBox from './TabBox.vue'
13+
import Sponsors from './Sponsors.vue'
1314
import RobotCode from './RobotCode.vue'
1415

1516
import GlobeIcon from './icons/GlobeIcon.vue'
@@ -30,6 +31,7 @@ export {
3031
ResourceBox,
3132
TabBox,
3233
RobotCode,
34+
Sponsors,
3335

3436
GlobeIcon,
3537
ChevronIcon,

src/content/english.js

+16
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export default () => ({
1818
{
1919
name: 'Resources',
2020
id: 'resources'
21+
},
22+
{
23+
name: 'Development',
24+
id: 'development'
2125
}
2226
],
2327
dropdownName: 'Links',
@@ -276,6 +280,18 @@ Welcome Page Should Be Open
276280
'External'
277281
]
278282
},
283+
development: {
284+
title: 'Development',
285+
body: `<p>Development of Robot Framework is funded by the non-profit
286+
<a href="https://robotframework.org/foundation/">Robot Framework Foundation</a>. It consists
287+
of companies and organizations that want to ensure the continuity of Robot Framework now and
288+
in the future.</p>
289+
<p>Thanks to these sponsors, Robot Framework remains completely
290+
free to use while being actively maintained and developed. Foundation also covers other
291+
related expenses such as the development of this website and organizing various meetups.`,
292+
sponsorBoxTitle: 'Members of Robot Framework Foundation',
293+
howToJoin: '<a href="https://robotframework.org/foundation/">How to join</a>'
294+
},
279295
usersPage: {
280296
title: 'Users of Robot Framework',
281297
body: `If you'd like your company added here, please submit a

src/content/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import tools from './resources/tools.js'
1313
import learning from './resources/learning.js'
1414
import stars from './resources/stars.js'
1515
import users from './resources/users.js'
16+
import sponsors from './resources/sponsors.js'
1617

1718
export {
1819
english,
@@ -29,5 +30,6 @@ export {
2930
tools,
3031
learning,
3132
stars,
32-
users
33+
users,
34+
sponsors
3335
}

0 commit comments

Comments
 (0)