diff --git a/src/components/TheHome.server.vue b/src/components/TheHome.server.vue
index 15964988..824cb7cf 100644
--- a/src/components/TheHome.server.vue
+++ b/src/components/TheHome.server.vue
@@ -213,7 +213,7 @@ const { data: talks } = await useAsyncData(
- upcoming conferences
+ upcoming talks
= [
{
@@ -12,6 +17,17 @@ const upcomingConferences: Array<{
link: 'https://vuejs.amsterdam/',
location: '🇳🇱',
},
+ {
+ name: 'EdinburghJS',
+ dates: '19 March',
+ link: 'https://www.edinburghjs.org/',
+ location: '🏴',
+ image: {
+ url: 'https://secure.meetupstatic.com/photos/event/3/9/b/2/clean_515474770.webp',
+ width: 653,
+ height: 367
+ }
+ },
{
name: 'CityJS London',
dates: '3-5 April',
@@ -43,6 +59,9 @@ export default defineCachedEventHandler(async () => {
return Promise.all(
upcomingConferences.map(async conference => {
+ if (conference.image) {
+ return conference
+ }
const html = await $fetch(conference.link)
const ogImage = html.match(
/]*property="og:image"[^>]*content="([^"]+)"|]*content="([^"]+)"[^>]*property="og:image"/