Skip to content

Commit 944b5f5

Browse files
committed
newsbanner
1 parent 3a1e534 commit 944b5f5

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/components/NewsBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
22
<div
3-
class="font-code type-italic type-center p-2xsmall py-small bg-black border-bottom-white border-thin"
3+
class="font-code type-italic type-small type-center p-2xsmall bg-black border-bottom-white border-thin"
44
v-html="$t('newsBanner')" />
55
</template>

src/components/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import SponsorsDetailed from './SponsorsDetailed.vue'
1717
import RobotCode from './RobotCode.vue'
1818
import Milestones from './Milestones.vue'
1919
import VideoComponent from './VideoComponent'
20+
import NewsBanner from './NewsBanner'
2021
import GlobeIcon from './icons/GlobeIcon.vue'
2122
import ChevronIcon from './icons/ChevronIcon.vue'
2223
import NewTabIcon from './icons/NewTabIcon.vue'
@@ -25,6 +26,7 @@ import DocumentIcon from './icons/DocumentIcon.vue'
2526

2627
export {
2728
News,
29+
NewsBanner,
2830
Calendar,
2931
Banner,
3032
PageFooter,

src/content/english/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default () => ({
77
...rpa(),
88
...testautomation(),
99
langName: 'English',
10-
newsBanner: '',
10+
newsBanner: 'World Wide Workshop Wednesday <br> October 1st 2025 - <a href="https://wwww.robotframework.org/" target="_blank">Join here</a>',
1111
navbar: {
1212
items: [
1313
{

src/views/Home.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<template>
2+
<news-banner />
23
<nav-mobile />
34
<navbar class="nav-desktop" />
45
<banner />
@@ -85,7 +86,8 @@ import {
8586
ResourceBox,
8687
TabBox,
8788
Sponsors,
88-
Milestones
89+
Milestones,
90+
NewsBanner
8991
} from 'Components'
9092
import VideoComponent from 'Components/VideoComponent'
9193
@@ -105,6 +107,7 @@ export default {
105107
TabBox,
106108
Sponsors,
107109
Milestones,
110+
NewsBanner,
108111
MonacoEditor: defineAsyncComponent(() => import('Components/Editor.vue'))
109112
}
110113
}

0 commit comments

Comments
 (0)