Skip to content

Commit 009704f

Browse files
committed
update banner
1 parent 75e85de commit 009704f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/components/NewsBanner.vue

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<template>
2-
<div
3-
class="banner font-code type-italic type-small type-center p-2xsmall border-bottom-white border-thin"
4-
v-html="$t('newsBanner')" />
2+
<div style="background-color: black;">
3+
<div
4+
class="banner font-code type-center p-2xsmall border-bottom-white border-thin"
5+
v-html="$t('newsBanner')" />
6+
</div>
57
</template>
68

7-
<style>
9+
<style scoped>
810
.banner {
9-
background-color: #000000;
11+
background: linear-gradient(180deg, #5f660055 0%, #00615c55 30%, #0e00a955 60%, #620050 100%);
12+
box-shadow: inset 0 0 3rem 1rem #000000;
1013
color: #ffffff;
11-
12-
a {
13-
color: #3385ff;
14-
}
1514
}
1615
</style>

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: '<div style="color: #3385ff; font-size: 1rem">World Wide Workshop Wednesday</div>October 1st 2025 - <a href="https://wwww.robotframework.org/" target="_blank">Join here</a>',
10+
newsBanner: '<div style="color: var(--color-theme); font-size: 1.75rem; font-family: var(--font-title);">📣 ROBOCON 2026 📣</div>Speaker slots available!<br><a href="https://www.robocon.io/cfp">Submit your proposal by 19.10.</a>',
1111
navbar: {
1212
items: [
1313
{

0 commit comments

Comments
 (0)