From 61d57c696cb901b02b62237ac7b2eaee72141261 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 20 Nov 2022 22:45:17 +0000 Subject: [PATCH] feat: add icons to talks page (#855) --- src/data/talks.json | 30 ++++++++++++++++-------------- src/pages/talks.vue | 25 ++++++++++++++++++++++--- src/server/plugins/sprite.ts | 6 ++++++ 3 files changed, 44 insertions(+), 17 deletions(-) diff --git a/src/data/talks.json b/src/data/talks.json index f15333ec..e901a366 100644 --- a/src/data/talks.json +++ b/src/data/talks.json @@ -5,7 +5,7 @@ "source": "TEDx Durham", "date": "2016-06-03T00:00:00.000Z", "type": "talk", - "link": "https://www.youtube.com/watch?v=VeCOIcSHKp4", + "video": "https://www.youtube.com/watch?v=VeCOIcSHKp4", "tags": [ "marketing", "communication" @@ -45,7 +45,7 @@ "vue", "markdown" ], - "link": "https://www.youtube.com/watch?v=Z8sV4ORWlls" + "video": "https://www.youtube.com/watch?v=Z8sV4ORWlls" }, { "slug": "2020-07-28-realtalk-javascript", @@ -82,7 +82,7 @@ "vue", "vuex" ], - "link": "https://youtu.be/gbtJvymBKdg?t=575" + "video": "https://youtu.be/gbtJvymBKdg?t=575" }, { "slug": "2020-10-29-views-on-vue", @@ -96,7 +96,7 @@ "nuxt", "composition api" ], - "link": "https://devchat.tv/views-on-vue/vov-126-vue-composition-api-and-nuxt-with-daniel-roe/" + "link": "https://topenddevs.com/podcasts/views-on-vue/episodes/vov-126-vue-composition-api-and-nuxt-with-daniel-roe" }, { "slug": "2021-02-26-vuejs-amsterdam", @@ -110,7 +110,8 @@ "nuxt", "serverless" ], - "link": "https://docs.google.com/presentation/d/137PNjV93KWAb7yrftSt-oDb2pVYbAJhv7IxTfW70Tzc/edit?usp=sharing" + "video": "https://www.youtube.com/watch?v=ApUPE8b-m04&t=19s", + "slides": "https://docs.google.com/presentation/d/137PNjV93KWAb7yrftSt-oDb2pVYbAJhv7IxTfW70Tzc/edit?usp=sharing" }, { "slug": "2021-03-16-views-on-vue", @@ -124,7 +125,7 @@ "nuxt", "nuxt3" ], - "link": "https://devchat.tv/views-on-vue/vue-141-diving-into-nuxt-3-with-daniel-roe/" + "link": "https://topenddevs.com/podcasts/views-on-vue/episodes/vue-141-diving-into-nuxt-3-with-daniel-roe/" }, { "slug": "2021-06-01-async-brighton", @@ -136,7 +137,7 @@ "vue", "nuxt" ], - "link": "https://youtu.be/r4MFkHmOOdI?t=1880" + "video": "https://youtu.be/r4MFkHmOOdI?t=1880" }, { "slug": "2021-09-15-nuxt-nation", @@ -183,7 +184,7 @@ "vue", "nuxt" ], - "link": "https://www.youtube.com/watch?v=sEPqSyww04c" + "video": "https://www.youtube.com/watch?v=sEPqSyww04c" }, { "slug": "2021-12-02-ecommerce", @@ -199,7 +200,7 @@ }, { "slug": "2022-01-12-vuejs-tokyo", - "title": "All About Nuxt3", + "title": "All About Nuxt 3", "source": "Vue.js v-tokyo オンライン", "date": "2022-01-12T00:00:00.000Z", "type": "meetup", @@ -227,18 +228,19 @@ "tags": [ "nuxt" ], - "link": "https://www.youtube.com/watch?v=-U8NWGTGNVw" + "video": "https://www.youtube.com/watch?v=-U8NWGTGNVw" }, { "slug": "2022-02-10-vuejs-amsterdam", - "title": "Developer Experience With Nuxt3", + "title": "New Developer Experiences with Nuxt 3", "source": "Vue.js Amsterdam", "date": "2022-02-10T00:00:00.000Z", "type": "conference", "tags": [ "nuxt", "dx" - ] + ], + "video": "https://www.youtube.com/watch?v=Xv8EtQwPs8Q" }, { "slug": "2022-03-07-vue-storefront-hackathon", @@ -250,7 +252,7 @@ "nuxt", "internals" ], - "link": "https://www.youtube.com/watch?v=IVA_76hKEwE" + "video": "https://www.youtube.com/watch?v=IVA_76hKEwE" }, { "slug": "2022-04-28-vuejs-wroclaw", @@ -262,7 +264,7 @@ "nitro", "edge" ], - "link": "https://www.youtube.com/watch?v=K1nMTSRH8Ug&list=PLa2edSBLjV02RJi4icWXektnCxmGn47lC" + "video": "https://www.youtube.com/watch?v=K1nMTSRH8Ug&list=PLa2edSBLjV02RJi4icWXektnCxmGn47lC" }, { "slug": "2022-04-29-typescript-congress", diff --git a/src/pages/talks.vue b/src/pages/talks.vue index bd00df37..403e823a 100644 --- a/src/pages/talks.vue +++ b/src/pages/talks.vue @@ -6,14 +6,31 @@
- {{ title }} +
+ + + + {{ title }} +
+ + + + + + `.replace(/\s+/g, ' ') -- knotmirror 0.0.1