Skip to content

Commit 796e183

Browse files
committed
updated RoboCon Banner
1 parent c1ce9b2 commit 796e183

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

src/components/Navbar.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@
9999
</template>
100100

101101
<script>
102-
import NewTabIcon from './icons/NewTabIcon.vue'
102+
// import NewTabIcon from './icons/NewTabIcon.vue'
103103
import RobotIcon from './icons/RobotIcon.vue'
104104
import ChevronIcon from './icons/ChevronIcon.vue'
105105
106106
export default {
107107
name: 'Navbar',
108108
components: {
109-
NewTabIcon,
109+
// NewTabIcon,
110110
RobotIcon,
111111
ChevronIcon
112112
},

src/components/NewsBanner.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
22
<div
3-
class="container type-center pl-small pr-small"
3+
class="newsbanner container type-center pl-small pr-small"
44
v-html="$t('newsBanner')" />
55
</template>

src/content/english/main.js

+20-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,26 @@ export default () => ({
77
...rpa(),
88
...testautomation(),
99
langName: 'English',
10-
newsBanner: '<a href="https://medium.com/{at}{\'@\'}{at}RobotFramework/robot-framework-foundation-a37a8bcec74f">New blog post: Robot Framework Foundation</a>',
10+
newsBanner: `<style type="text/css">
11+
.newsbanner {
12+
margin-top: 0 !important;
13+
border-top: 0.2rem solid #3F7BCF;
14+
border-bottom: 0.2rem solid #3F7BCF;
15+
background-color: #0d0f14;
16+
color: #3F7BCF !important;
17+
max-width: None !important;
18+
}
19+
.newsbanner * {
20+
color: #3F7BCF;
21+
text-decoration: none !important;
22+
}
23+
</style>
24+
<div onclick="window.open('https://robocon.io/germany');" style="cursor: pointer;" class="banner"><h2>ROBOCON <span class="color-white">2022</span> GERMANY</h2>
25+
<h3>📣 <span class="color-theme">This October 5th</span> 📣</h3>
26+
Ticket sale is open!<br>
27+
First RoboCon outside of Finland will be held in Frankfurt am Main!
28+
29+
</div>`,
1130
navbar: {
1231
items: [
1332
{

0 commit comments

Comments
 (0)