Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New RoboCon Banner #274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/NewsBanner.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div
class="container type-center pl-small pr-small"
class="newsbanner container type-center pl-small pr-small"
v-html="$t('newsBanner')" />
</template>
21 changes: 20 additions & 1 deletion src/content/english/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,26 @@ export default () => ({
...rpa(),
...testautomation(),
langName: 'English',
newsBanner: '<a href="https://medium.com/{at}{\'@\'}{at}RobotFramework/robot-framework-foundation-a37a8bcec74f">New blog post: Robot Framework Foundation</a>',
newsBanner: `<style type="text/css">
.newsbanner {
margin-top: 0 !important;
border-top: 0.2rem solid #3F7BCF;
border-bottom: 0.2rem solid #3F7BCF;
background-color: #0d0f14;
color: #3F7BCF !important;
max-width: None !important;
}
.newsbanner * {
color: #3F7BCF;
text-decoration: none !important;
}
</style>
<div onclick="window.open('https://robocon.io/germany');" style="cursor: pointer;" class="banner"><h2>ROBOCON <span class="color-white">2022</span> GERMANY</h2>
<h3>📣 <span class="color-theme">This October 5th</span> 📣</h3>
Ticket sale is open!<br>
First RoboCon outside of Finland will be held in Frankfurt am Main!

</div>`,
navbar: {
items: [
{
Expand Down