Skip to content

Commit 80a1c96

Browse files
committed
updated content
1 parent c2bb1bb commit 80a1c96

File tree

9 files changed

+26
-92
lines changed

9 files changed

+26
-92
lines changed

dist/css/app.787c4248.css renamed to dist/css/app.9eeec759.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/app.90f9d69b.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/app.d2c0a640.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/js/chunk-vendors.c5ab8b28.js renamed to dist/js/chunk-vendors.11de9951.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/precache-manifest.e85111bc60f4d1243a4f02145ea06b98.js renamed to dist/precache-manifest.fd627a0519685bb0a4fe32171f0c2d24.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
44
"url": "dist/404.html"
55
},
66
{
7-
"revision": "4b1f77e32b3600a8b8d4",
8-
"url": "dist/css/app.787c4248.css"
7+
"revision": "696a266b6925fb2206a0",
8+
"url": "dist/css/app.9eeec759.css"
99
},
1010
{
1111
"revision": "27679e61bfd27e1093f4bf200900b8e7",
@@ -176,16 +176,16 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
176176
"url": "dist/img/ticket-depth.jpg"
177177
},
178178
{
179-
"revision": "189140c3ba2c46f3e497744274eab300",
179+
"revision": "64efe9eb3ab1da10d5f9fb0d8694a04d",
180180
"url": "dist/index.html"
181181
},
182182
{
183-
"revision": "4b1f77e32b3600a8b8d4",
184-
"url": "dist/js/app.d2c0a640.js"
183+
"revision": "696a266b6925fb2206a0",
184+
"url": "dist/js/app.90f9d69b.js"
185185
},
186186
{
187-
"revision": "cddc46ff89796b51188e",
188-
"url": "dist/js/chunk-vendors.c5ab8b28.js"
187+
"revision": "40f670ff1370476acdd5",
188+
"url": "dist/js/chunk-vendors.11de9951.js"
189189
},
190190
{
191191
"revision": "ae69c76f0db87375aa82706bd2ce675f",

dist/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
1515

1616
importScripts(
17-
"dist/precache-manifest.e85111bc60f4d1243a4f02145ea06b98.js"
17+
"dist/precache-manifest.fd627a0519685bb0a4fe32171f0c2d24.js"
1818
);
1919

2020
workbox.core.setCacheNameDetails({prefix: "robot-framework"});

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
l.pathname.slice(0, -1) + decoded + l.hash
1818
);
1919
}
20-
}(window.location))</script><link href="dist/css/app.787c4248.css" rel="preload" as="style"><link href="dist/js/app.d2c0a640.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.c5ab8b28.js" rel="preload" as="script"><link href="dist/css/app.787c4248.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="dist/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="dist/img/icons/favicon-16x16.png"><link rel="manifest" href="dist/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="dist/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="dist/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="dist/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="dist/js/chunk-vendors.c5ab8b28.js"></script><script src="dist/js/app.d2c0a640.js"></script></body></html>
20+
}(window.location))</script><link href="dist/css/app.9eeec759.css" rel="preload" as="style"><link href="dist/js/app.90f9d69b.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.11de9951.js" rel="preload" as="script"><link href="dist/css/app.9eeec759.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="dist/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="dist/img/icons/favicon-16x16.png"><link rel="manifest" href="dist/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="dist/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="dist/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="dist/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="dist/js/chunk-vendors.11de9951.js"></script><script src="dist/js/app.90f9d69b.js"></script></body></html>

src/content/english/home.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ export default {
33
title: 'Hello',
44
body: `
55
<p>RoboCon 2023 will be a hybrid conference in <span class="color-theme">two parts</span>.
6-
First conference part is <span class="color-theme">fully in-person in Helsinki</span>,
7-
where all the talks and other content will be live at Bio Rex on <span class="color-theme">January 19th &amp; 20th 2023!</span></p>
6+
First conference part was <span class="color-theme">fully in-person in Helsinki</span>,
7+
where all the talks and other content were live at Bio Rex on <span class="color-theme">January 19th &amp; 20th 2023!</span></p>
88
<p>The <span class="color-theme">online conference</span> will take place from <span class="color-theme">March 1st to March 3rd</span>
99
with three amazing days and fully online content. We will stream the recorded talks from Helsinki but will also have at least 50% fresh content.</p>
1010
<p><span class="color-theme">Helsinki ticket also includes the online ticket.</span>
@@ -30,20 +30,6 @@ export default {
3030
`
3131
},
3232
tickets: [
33-
{
34-
title: '2023 RoboCon<div class="type-small">Helsinki</div>',
35-
price: '1200 €<span class="type-xsmall"> +VAT</span>',
36-
link: 'https://tickets.robotframework.org/robocon-2023/3410049/',
37-
side: '2023-JAN',
38-
description: '<p><span class="color-theme">Includes ticket to RoboCon Online 2023!</span></p>'
39-
},
40-
{
41-
title: '2023 Workshops<div class="type-small">Helsinki</div>',
42-
price: '550 €<span class="type-xsmall"> +VAT</span>',
43-
link: 'https://tickets.robotframework.org/robocon-2023/3670331/',
44-
side: '2023-JAN',
45-
description: '<p><span class="color-theme"></span></p>'
46-
},
4733
{
4834
title: '2023 RoboCon<div class="type-small">Online</div>',
4935
price: '350 €<span class="type-xsmall"> +VAT</span>',

src/views/Home.vue

Lines changed: 6 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,10 @@
44
<h1 class="color-white"><span class="">RBCN</span><span class="color-theme">23</span></h1>
55
</div>
66
</banner>
7-
<news-banner v-if="new Date().getHours() < 18">
8-
<div v-if="currentTalk || nextTalk">
9-
<div v-if="currentTalk" class="mb-small">
10-
<h3 class="color-white">
11-
Now ({{ format(new Date(currentTalk.slot.start), 'k.mm') }} - {{ format(new Date(currentTalk.slot.end), 'k.mm') }})
12-
</h3>
13-
<a :href="`/#${getSlug(currentTalk.title)}`">
14-
{{ currentTalk.title || currentTalk.description?.en || '-' }}
15-
</a>
16-
</div>
17-
<div v-if="nextTalk">
18-
<h3 class="color-white">
19-
Next ({{ format(new Date(nextTalk.slot.start), 'k.mm') }} - {{ format(new Date(nextTalk.slot.end), 'k.mm') }})
20-
</h3>
21-
<a :href="`/#${getSlug(nextTalk.title)}`">
22-
{{ nextTalk.title || nextTalk.description?.en || '-' }}
23-
</a>
24-
</div>
25-
</div>
26-
<div v-else>
27-
Loading today's schedule...
28-
</div>
7+
<news-banner v-if="$t('newsBanner') !== ''">
8+
<div v-html="$t('newsBanner')" />
299
</news-banner>
30-
<!-- <div v-else class="border-top-theme border-thin" /> -->
10+
<div v-else class="border-top-theme border-thin" />
3111
<div class="container">
3212
<page-section
3313
title-id="intro"
@@ -57,7 +37,7 @@
5737
Tickets also include instant access to <span class="color-theme">2022 talks!</span>
5838
</p>
5939
</div>
60-
<div class="col-lg-4" :class="$store.state.isDesktop && 'pl-medium'">
40+
<!-- <div class="col-lg-4" :class="$store.state.isDesktop && 'pl-medium'">
6141
<div class="card p-small mb-small mt-small">
6242
<button class="block" @click="goTo('workshops')">
6343
<h3 class="type-underline">
@@ -104,7 +84,7 @@
10484
Held at <a href="https://goo.gl/maps/jEW5zoLuZgmca6D1A">Bio Rex</a> in city center.
10585
</p>
10686
</div>
107-
</div>
87+
</div> -->
10888
</page-section>
10989
<page-section title-id="sponsors" title="Sponsors">
11090
<sponsors :sponsors="$tm('home.sponsors')" />
@@ -128,12 +108,6 @@
128108
<div v-else>
129109
Loading talks...
130110
</div>
131-
<page-section title-id="workshops" title="Workshops" subtitle="Helsinki, in-person">
132-
<talks-2023 v-if="workshops.length" :items="workshops" />
133-
<div v-else>
134-
Loading workshops...
135-
</div>
136-
</page-section>
137111
</div>
138112
</template>
139113

@@ -146,7 +120,6 @@ import {
146120
Talks2023,
147121
NewsBanner
148122
} from 'Components'
149-
import { isToday, format, isWithinInterval } from 'date-fns'
150123
151124
export default {
152125
name: 'App',
@@ -161,7 +134,7 @@ export default {
161134
data: () => ({
162135
talks: [],
163136
workshops: [],
164-
shownTalks: 'live'
137+
shownTalks: 'online'
165138
}),
166139
created() {
167140
Promise.all([
@@ -209,39 +182,14 @@ export default {
209182
// .then((res) => res.json())
210183
// fetch('https://pretalx.com/api/events/robocon-2023/schedules/latest/')
211184
},
212-
computed: {
213-
currentTalk() {
214-
const talk = this.talks.find(({ slot = {} }) => slot.start && isWithinInterval(new Date(), { start: new Date(slot.start), end: new Date(slot.end) }))
215-
if (talk) return talk
216-
return null
217-
},
218-
nextTalk() {
219-
const talksSorted = this.talks
220-
.filter(({ slot = {} }) => slot.start && slot.end)
221-
.filter(({ slot = {} }) => isToday(new Date(slot.start)))
222-
.sort((a, b) => {
223-
const dateA = a.slot?.start ? new Date(a.slot.start) : null
224-
const dateB = b.slot?.start ? new Date(b.slot.start) : null
225-
if (dateA && dateB) return dateA < dateB ? -1 : 1
226-
return 0
227-
})
228-
const next = talksSorted.find(({ slot }) => new Date(slot.start) > new Date())
229-
return next
230-
}
231-
},
232185
methods: {
233-
format,
234186
goTo(id) {
235187
const el = document.getElementById(id)
236188
if (el) {
237189
el.scrollIntoView({
238190
behavior: 'smooth'
239191
})
240192
}
241-
},
242-
getSlug(title) {
243-
if (!title) return ''
244-
return title.replace(/[ ]/g, '-').replace(/[^a-zA-Z0-9-]/g, '').toLowerCase()
245193
}
246194
}
247195
}

0 commit comments

Comments
 (0)