File tree 3 files changed +23
-4
lines changed
3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 99
99
</template >
100
100
101
101
<script >
102
- import NewTabIcon from ' ./icons/NewTabIcon.vue'
102
+ // import NewTabIcon from './icons/NewTabIcon.vue'
103
103
import RobotIcon from ' ./icons/RobotIcon.vue'
104
104
import ChevronIcon from ' ./icons/ChevronIcon.vue'
105
105
106
106
export default {
107
107
name: ' Navbar' ,
108
108
components: {
109
- NewTabIcon,
109
+ // NewTabIcon,
110
110
RobotIcon,
111
111
ChevronIcon
112
112
},
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div
3
- class =" container type-center pl-small pr-small"
3
+ class =" newsbanner container type-center pl-small pr-small"
4
4
v-html =" $t('newsBanner')" />
5
5
</template >
Original file line number Diff line number Diff line change @@ -7,7 +7,26 @@ export default () => ({
7
7
...rpa ( ) ,
8
8
...testautomation ( ) ,
9
9
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>` ,
11
30
navbar : {
12
31
items : [
13
32
{
You can’t perform that action at this time.
0 commit comments