diff --git a/src/_js/main.js b/src/_js/main.js index d5634e9..a20f61b 100644 --- a/src/_js/main.js +++ b/src/_js/main.js @@ -23,16 +23,28 @@ OneSignal.push(function () { }); if ('serviceWorker' in navigator) { + const bar = document.getElementById('notification-bar'); + + const barDismiss = localStorage.getItem('barDismiss'); + navigator.serviceWorker.register('/OneSignalSDKWorker.js').then(() => { OneSignal.push([ 'getNotificationPermission', (permission) => { const isPushSupported = OneSignal.isPushNotificationsSupported(); - if (isPushSupported && permission === 'default') { - document.getElementById('notification-bar').hidden = false; + if ( + isPushSupported && + permission === 'default' && + barDismiss !== 'dismissed' + ) { + bar.querySelector('button.close').addEventListener('click', () => { + bar.hidden = true; + localStorage.setItem('barDismiss', 'dismissed'); + }); + bar.hidden = false; } OneSignal.on('notificationPermissionChange', () => { - document.getElementById('notification-bar').hidden = true; + bar.hidden = true; }); }, ]); diff --git a/src/eventi/2021-01-24-micro-frontend-web-component-approach-con-vue-js.md b/src/eventi/2021-01-24-micro-frontend-web-component-approach-con-vue-js.md new file mode 100644 index 0000000..8785d86 --- /dev/null +++ b/src/eventi/2021-01-24-micro-frontend-web-component-approach-con-vue-js.md @@ -0,0 +1,17 @@ +--- +title: Micro-frontend - web component approach con Vue.js +image: /img/contents/febbraio21.jpg +cover: /img/contents/1_tnd83g_vdbypv1jn9cfo7q.png +date: 2021-02-24T18:00:00.000Z +date_end: 2021-02-24T19:30:44.720Z +permalink: /eventi/{{ page.date | dateslug }}/{{ page.fileSlug | slug }}/index.html +published: true +featured: true +event: + auto_meta: true + location: Facebook live + speaker: Andrea Campaci + eventbrite: "140759715097" +--- +Ci sono diversi approcci al pattern micro-frontend, uno dei più complessi ma a mio avviso anche dei più interessanti è quello basato sui web component. +Nella serata vedremo i pro e contro, come impostare il nostro progetto e come far comunicare, testare, assemblare i nostri pezzi in un'unica applicazione. diff --git a/src/eventi/2021-03-09-fastify-101.md b/src/eventi/2021-03-09-fastify-101.md new file mode 100644 index 0000000..9616efe --- /dev/null +++ b/src/eventi/2021-03-09-fastify-101.md @@ -0,0 +1,24 @@ +--- +title: Fastify 101 +image: /img/contents/marzo.jpg +cover: /img/contents/1_v8vakya9qoi-glkh68mtog.jpeg +date: 2021-03-25T18:00:00.000Z +date_end: 2021-03-25T19:00:00.000Z +permalink: /eventi/{{ page.date | dateslug }}/{{ page.fileSlug | slug }}/index.html +published: true +featured: true +event: + auto_meta: true + location: Facebook Live + eventbrite: "145202335093" + speaker: Tomas della Vedova + speaker_bio: Tomas is an enthusiastic software engineer, who spends most of his + time programming in JavaScript and Node.js. He works for Elastic as Senior + Software Engineer in the clients team, focusing on the JavaScript client. + Tomas is also the author of the Fastify web framework and part of its + ecosystem. He constantly forwards the enrichment of his knowledge and the + exploration of new technologies; moreover, he is a strong Open Source + supporter and he will always be passionate about technology, design, and + music. +--- +Mixed logic, cross-dependencies, and way too many edge cases to test. Wouldn't it be great to have a framework that helps you build a modular, consistent, and pluggable system? Enter Fastify, a web framework for Node.js. Fastify offers an extremely flexible plugin system that allows complete customization of the framework. Every plugin could be packaged as an independent module and then deployed as a microservice or as a part of a monolith. In this talk, you will learn all the concepts of Fastify and how they play together. Spoiler alert: opinions ahead! \ No newline at end of file diff --git a/src/eventi/2021-04-07-web-xr-state-of-the-art.md b/src/eventi/2021-04-07-web-xr-state-of-the-art.md new file mode 100644 index 0000000..69a19cf --- /dev/null +++ b/src/eventi/2021-04-07-web-xr-state-of-the-art.md @@ -0,0 +1,26 @@ +--- +title: Web XR State of the ARt +image: /img/contents/aprile21.jpg +cover: /img/contents/what-is-webar-demo.png +date: 2021-04-21T17:00:18.170Z +date_end: 2021-04-21T18:00:00.000Z +permalink: /eventi/{{ page.date | dateslug }}/{{ page.fileSlug | slug }}/index.html +published: true +featured: true +event: + auto_meta: true + location: Facebook Live + speaker: Nicolò Carpignoli + speaker_bio: Nicolò Carpignoli is a Web XR Developer at Chialab (Bologna, Italy) + and an Invited Expert at W3C. From 2018 he is the maintainer AR.js. He is + also the author of Geo AR.js, the first Location-Based Web AR library, + written in Javascript. On 2019, along with a team of Open Source developers, + he contributed to the first Image-tracking system for Web AR. On 2020 he + becomes part of the W3C working on Accessibility for emerging technologies. + He is currently a PhD candidate at IUAV University, researching for new + technologies to help blind students in learning shapes and graphics using + multimodal strategies. + eventbrite: "149827850133" +--- +Web XR means to deliver AR experiences on the Web, using any browser, without even requiring to use specific devices, like headsets. +In this talk, I will show all technologies and platforms available, in 2021, to build Web XR experiences for free, highlighting pros/cons, devices, support and future plans for each of them. This talk has been thought to be a good way to start with WebAR. \ No newline at end of file diff --git a/src/jobs.njk b/src/jobs.njk index 01133df..0ad8283 100644 --- a/src/jobs.njk +++ b/src/jobs.njk @@ -1,6 +1,7 @@ --- layout: default title: Jobs +permalink: false ---
diff --git a/src/jobs/2017-11-29-frontend-verona.md b/src/jobs/2017-11-29-frontend-verona.md index 0a7816e..5c0e3c5 100644 --- a/src/jobs/2017-11-29-frontend-verona.md +++ b/src/jobs/2017-11-29-frontend-verona.md @@ -3,7 +3,7 @@ title: 'Front End Developer (Middle/Senior)' subtitle: Verona date: 2017-11-29 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2017-11-29-sviluppatore-web-app.md b/src/jobs/2017-11-29-sviluppatore-web-app.md index 18167e6..5c8056a 100644 --- a/src/jobs/2017-11-29-sviluppatore-web-app.md +++ b/src/jobs/2017-11-29-sviluppatore-web-app.md @@ -3,7 +3,7 @@ title: 'Sviluppatore Web App' subtitle: Verona e/o Padova date: 2017-11-29 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2018-02-13-consulente-java.md b/src/jobs/2018-02-13-consulente-java.md index 3676b75..547358c 100644 --- a/src/jobs/2018-02-13-consulente-java.md +++ b/src/jobs/2018-02-13-consulente-java.md @@ -3,7 +3,7 @@ title: 'Consulente Java' subtitle: Verona date: 2017-02-13 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2018-02-13-frontend-developer-junior.md b/src/jobs/2018-02-13-frontend-developer-junior.md index 44646fd..387bf19 100644 --- a/src/jobs/2018-02-13-frontend-developer-junior.md +++ b/src/jobs/2018-02-13-frontend-developer-junior.md @@ -3,7 +3,7 @@ title: 'Frontend Developer Junior' subtitle: Verona date: 2017-02-13 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2018-02-13-fullstack-developer.md b/src/jobs/2018-02-13-fullstack-developer.md index 066f2fa..320fc8f 100644 --- a/src/jobs/2018-02-13-fullstack-developer.md +++ b/src/jobs/2018-02-13-fullstack-developer.md @@ -3,7 +3,7 @@ title: 'Fullstack Developer' subtitle: Vicenza date: 2017-02-13 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2018-09-26-frontend-developer-verona.md b/src/jobs/2018-09-26-frontend-developer-verona.md index c1ea1a4..53c176d 100644 --- a/src/jobs/2018-09-26-frontend-developer-verona.md +++ b/src/jobs/2018-09-26-frontend-developer-verona.md @@ -3,7 +3,7 @@ title: 'Front End Developer' subtitle: Verona date: 2018-09-26 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2018-09-26-web-developer-milano.md b/src/jobs/2018-09-26-web-developer-milano.md index a4adfcf..c1ee92f 100644 --- a/src/jobs/2018-09-26-web-developer-milano.md +++ b/src/jobs/2018-09-26-web-developer-milano.md @@ -3,7 +3,7 @@ title: 'Web Developer' subtitle: Milano date: 2018-09-26 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/src/jobs/2018-09-26-web-developer-verona.md b/src/jobs/2018-09-26-web-developer-verona.md index 01c3832..3ff1960 100644 --- a/src/jobs/2018-09-26-web-developer-verona.md +++ b/src/jobs/2018-09-26-web-developer-verona.md @@ -3,7 +3,7 @@ title: 'Web Developer' subtitle: Verona date: 2018-09-26 00:00:00 -permalink: '/jobs/{{ page.fileSlug | slug }}/index.html' +permalink: false #'/jobs/{{ page.fileSlug | slug }}/index.html' published: true --- diff --git a/static/admin/config.yml b/static/admin/config.yml index dbdfbd6..49065e9 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -52,7 +52,7 @@ collections: - widget: boolean name: auto_meta label: Dettagli evento automatici - default: false + default: true hint: Se attivato, bio dello speaker e dettagli dell'evento saranno generati in automatico nella pagina di dettaglio. - widget: string name: speaker diff --git a/static/img/contents/1_tnd83g_vdbypv1jn9cfo7q.png b/static/img/contents/1_tnd83g_vdbypv1jn9cfo7q.png new file mode 100644 index 0000000..c89dadb Binary files /dev/null and b/static/img/contents/1_tnd83g_vdbypv1jn9cfo7q.png differ diff --git a/static/img/contents/1_v8vakya9qoi-glkh68mtog.jpeg b/static/img/contents/1_v8vakya9qoi-glkh68mtog.jpeg new file mode 100644 index 0000000..b4d07c6 Binary files /dev/null and b/static/img/contents/1_v8vakya9qoi-glkh68mtog.jpeg differ diff --git a/static/img/contents/aprile21.jpg b/static/img/contents/aprile21.jpg new file mode 100644 index 0000000..d544a6a Binary files /dev/null and b/static/img/contents/aprile21.jpg differ diff --git a/static/img/contents/febbraio21.jpg b/static/img/contents/febbraio21.jpg new file mode 100644 index 0000000..acdbf52 Binary files /dev/null and b/static/img/contents/febbraio21.jpg differ diff --git a/static/img/contents/foto-talk.jpg b/static/img/contents/foto-talk.jpg new file mode 100644 index 0000000..a1ce954 Binary files /dev/null and b/static/img/contents/foto-talk.jpg differ diff --git a/static/img/contents/marzo.jpg b/static/img/contents/marzo.jpg new file mode 100644 index 0000000..df45bae Binary files /dev/null and b/static/img/contents/marzo.jpg differ diff --git a/static/img/contents/what-is-webar-demo.png b/static/img/contents/what-is-webar-demo.png new file mode 100644 index 0000000..00bbd7c Binary files /dev/null and b/static/img/contents/what-is-webar-demo.png differ