File tree 2 files changed +23
-2
lines changed
2 files changed +23
-2
lines changed 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 >
6
+
7
+ <style >
8
+ .newsbanner {
9
+ margin-top : 0 !important ;
10
+ border-top : 0.2rem solid #3F7BCF ;
11
+ border-bottom : 0.2rem solid #3F7BCF ;
12
+ background-color : #0d0f14 ;
13
+ color : #3F7BCF !important ;
14
+ max-width : None !important ;
15
+ }
16
+ .newsbanner * {
17
+ color : #3F7BCF !important ;
18
+ text-decoration : none !important ;
19
+ }
20
+ </style >
Original file line number Diff line number Diff line change @@ -7,7 +7,13 @@ 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 : `
11
+ <div onclick="window.open('https://robocon.io/germany');" style="cursor: pointer;" class="banner"><h2>ROBOCON <span class="color-white">2022</span> GERMANY</h2>
12
+ <h3>📣 <span class="color-theme">This October 5th</span> 📣</h3>
13
+ Ticket sale is open!<br>
14
+ First RoboCon outside of Finland will be held in Frankfurt am Main!
15
+
16
+ </div>` ,
11
17
navbar : {
12
18
items : [
13
19
{
You can’t perform that action at this time.
0 commit comments