Skip to content

Commit

Permalink
fix descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
samipe committed Dec 1, 2023
1 parent 3344b52 commit e75759f
Show file tree
Hide file tree
Showing 9 changed files with 357 additions and 72 deletions.
2 changes: 1 addition & 1 deletion dist/css/app.5db66cd1.css → dist/css/app.e0ba2e9b.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/js/app.35fd00f3.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/js/app.ab30fe58.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "dist/404.html"
},
{
"revision": "60a93527926a9d61c077",
"url": "dist/css/app.5db66cd1.css"
"revision": "9b83cc0568669f08c2e6",
"url": "dist/css/app.e0ba2e9b.css"
},
{
"revision": "27679e61bfd27e1093f4bf200900b8e7",
Expand Down Expand Up @@ -188,12 +188,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "dist/img/ticket-depth.jpg"
},
{
"revision": "8f4000dd6761c5ad9310684c1f4e12a0",
"revision": "269a93b0bccc8d240955a9f1030a4ff0",
"url": "dist/index.html"
},
{
"revision": "60a93527926a9d61c077",
"url": "dist/js/app.ab30fe58.js"
"revision": "9b83cc0568669f08c2e6",
"url": "dist/js/app.35fd00f3.js"
},
{
"revision": "71fe642c6ceae86d8cdc",
Expand Down
2 changes: 1 addition & 1 deletion dist/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"dist/precache-manifest.cbcd3da3145745a51c3099cef6e9d6cd.js"
"dist/precache-manifest.135aa0d1f2835364b1930c63c0baebf4.js"
);

workbox.core.setCacheNameDetails({prefix: "robot-framework"});
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))</script><link href="dist/css/app.5db66cd1.css" rel="preload" as="style"><link href="dist/js/app.ab30fe58.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.6e0fb070.js" rel="preload" as="script"><link href="dist/css/app.5db66cd1.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.6e0fb070.js"></script><script src="dist/js/app.ab30fe58.js"></script></body></html>
}(window.location))</script><link href="dist/css/app.e0ba2e9b.css" rel="preload" as="style"><link href="dist/js/app.35fd00f3.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.6e0fb070.js" rel="preload" as="script"><link href="dist/css/app.e0ba2e9b.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.6e0fb070.js"></script><script src="dist/js/app.35fd00f3.js"></script></body></html>
20 changes: 20 additions & 0 deletions src/components/Workshops24.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,27 @@
<link-icon style="transform: translateY(2px)" />
</a>
</div>
<p class="type-small m-none">
{{ format(new Date(workshop.Start), 'MMM dd') }} {{ getShownTime(workshop.Start) }} - {{ getShownTime(workshop.End) }} ({{Intl.DateTimeFormat().resolvedOptions().timeZone}})
</p>
<div v-html="parseText(workshop.Abstract)" />
<details class="details">
<summary>
Full description
</summary>
<div v-html="parseText(workshop.Description)" class="p-small" />
<h3 class="pl-small">
Lessons learned
</h3>
<div v-html="parseText(workshop['Lessons Learned'])" class="p-small" />
<h3 class="pl-small">
Intended audience
</h3>
<div v-html="parseText(workshop['Describe your intended audience'])" class="p-small" />
<h3 class="pl-small">
Suitable for
</h3>
<div v-html="parseText(workshop['Is this suitable for ..?'])" class="p-small" />
</details>
<h3 class="mt-xlarge">Presenters</h3>
<details
Expand Down Expand Up @@ -87,6 +102,11 @@ export default {
getSpeaker(speakerId) {
return this.speakers.find(({ code }) => code === speakerId)
}
},
mounted() {
setTimeout(() => {
console.log(this.speakers)
}, 1000)
}
}
</script>
Expand Down
376 changes: 317 additions & 59 deletions src/robocon-2024_sessions.json

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,17 @@ export default {
if (entries.auth) {
this.$router.replace({ name: 'Robocon2023', query: entries })
}
fetch('https://cfp.robocon.io/api/events/robocon-2024/submissions/')
.then((res) => res.json())
.then(({ results }) => {
this.speakers = results.flatMap(({ speakers }) => speakers)
Promise.all([
fetch('https://cfp.robocon.io/api/events/robocon-2024/submissions/'),
fetch('https://cfp.robocon.io/api/events/robocon-2024/submissions/?offset=25'),
fetch('https://cfp.robocon.io/api/events/robocon-2024/submissions/?offset=50')
])
.then(async([first, second, third]) => {
const f = await first.json()
const s = await second.json()
const t = await third.json()
const arr = [...f.results, ...s.results, ...t.results]
this.speakers = arr.flatMap(({ speakers }) => speakers)
})
},
methods: {
Expand Down

0 comments on commit e75759f

Please sign in to comment.