From 0487cd352cdddf5197204ec814a5217d1a72df4f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 26 Jan 2024 09:59:17 +0000 Subject: [PATCH] fix: move vuejs nation talk to done --- src/components/TheHome.server.vue | 20 +++++++++ src/components/TheTalks.server.vue | 52 +++++++++++++++------- src/data/talks.json | 14 ++++++ src/server/api/upcoming-conferences.get.ts | 6 --- 4 files changed, 69 insertions(+), 23 deletions(-) diff --git a/src/components/TheHome.server.vue b/src/components/TheHome.server.vue index 87ef326c..f16ab4ec 100644 --- a/src/components/TheHome.server.vue +++ b/src/components/TheHome.server.vue @@ -73,6 +73,8 @@ interface Talk { type: 'talk' | 'podcast' | 'meetup' | 'talk' | 'conference' | 'mini-workshop' video?: string release?: string + repo?: string + demo?: string } const { data: talks } = await useAsyncData( @@ -307,6 +309,24 @@ const { data: talks } = await useAsyncData( Slides for {{ talk.title }} + + + A demo for {{ talk.title }} + + + + A repo for {{ talk.title }} + diff --git a/src/components/TheTalks.server.vue b/src/components/TheTalks.server.vue index 74f8f546..5c66b24f 100644 --- a/src/components/TheTalks.server.vue +++ b/src/components/TheTalks.server.vue @@ -11,6 +11,8 @@ interface Talk { type: 'talk' | 'podcast' | 'meetup' | 'talk' | 'conference' | 'mini-workshop' video?: string release?: string + repo?: string + demo?: string } // if (import.meta.prerender && import.meta.server) { @@ -72,14 +74,14 @@ const { data: groups } = await useAsyncData( {{ talks[0].description }}
@@ -87,49 +89,65 @@ const { data: groups } = await useAsyncData(
Where
- {{ source }} + {{ talk.source }}
- {{ video ? `watch` : `listen` }} + {{ talk.video ? `watch` : `listen` }} slides + + demo + + + repo +
diff --git a/src/data/talks.json b/src/data/talks.json index b272eedd..efdcc317 100644 --- a/src/data/talks.json +++ b/src/data/talks.json @@ -691,5 +691,19 @@ ], "date": "2023-11-10T09:00:00.000Z", "release": "2023-11-10-vueday-it" + }, + { + "type": "conference", + "title": "Let's build: crafting a Nuxt 3 app from scratch", + "description": "This talk was a live-coding session building a Nuxt 3 recipe app with Nuxt UI, from the basics to more advanced features, like a custom provider for Nuxt Image.", + "repo": "https://github.com/danielroe/spooon", + "demo": "https://nuxt-spooon.vercel.app", + "source": "Vue.js Nation", + "slug": "2024-01-25-vuejs-nation", + "tags": [ + "nuxt", + "live coding" + ], + "date": "2024-01-25T00:00:00.000Z" } ] diff --git a/src/server/api/upcoming-conferences.get.ts b/src/server/api/upcoming-conferences.get.ts index 18a93cac..45274da7 100644 --- a/src/server/api/upcoming-conferences.get.ts +++ b/src/server/api/upcoming-conferences.get.ts @@ -6,12 +6,6 @@ const upcomingConferences: Array<{ link: string location: string }> = [ - { - name: 'Vue.js Nation', - dates: '24-25 January', - link: 'https://vuejsnation.com/', - location: '🌍', - }, { name: 'Vue.js Amsterdam', dates: '28-29 February', -- knotmirror 0.0.1