Skip to content

Commit ca0a494

Browse files
committed
upd: Added events thumbnails and links
1 parent 4cdc631 commit ca0a494

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

components.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ declare module 'vue' {
55
export interface GlobalComponents {
66
Brand: typeof import('./src/components/Brand.vue')['default']
77
BrandDark: typeof import('./src/components/BrandDark.vue')['default']
8+
Calendar: typeof import('./src/components/Calendar.vue')['default']
89
Header: typeof import('./src/components/Header.vue')['default']
910
README: typeof import('./src/components/README.md')['default']
1011
Social: typeof import('./src/components/Social.vue')['default']
11-
Calendar: typeof import('./src/components/Calendar.vue')['default']
1212
PopoverButton: typeof import('@headlessui/vue')['PopoverButton']
1313
PopoverPanel: typeof import('@headlessui/vue')['PopoverPanel']
1414
Popover: typeof import('@headlessui/vue')['Popover']
1515
PopoverGroup: typeof import('@headlessui/vue')['PopoverGroup']
1616
CarbonMoon: typeof import('virtual:vite-icons/carbon/moon')['default']
1717
CarbonSun: typeof import('virtual:vite-icons/carbon/sun')['default']
18-
CarbonLogoFacebook: typeof import('virtual:vite-icons/carbon/logo-facebook')['default']
18+
CarbonArrowRight: typeof import('virtual:vite-icons/carbon/arrow-right')['default']
1919
CarbonLogoYoutube: typeof import('virtual:vite-icons/carbon/logo-youtube')['default']
2020
CarbonLogoGithub: typeof import('virtual:vite-icons/carbon/logo-github')['default']
2121
CarbonLogoTwitter: typeof import('virtual:vite-icons/carbon/logo-twitter')['default']
22-
CarbonArrowRight: typeof import('virtual:vite-icons/carbon/arrow-right')['default']
22+
CarbonLogoFacebook: typeof import('virtual:vite-icons/carbon/logo-facebook')['default']
2323
}
2424
}
2525

src/pages/events.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ useHead({
1010
},
1111
],
1212
})
13-
</script>
1413
14+
const events: Array<{link: String; image: String}> = [
15+
{ link: 'https://www.youtube.com/watch?v=O8zdhpFAW_w', image: 'https://res.cloudinary.com/marcomontalbano/image/upload/v1625165552/video_to_markdown/images/youtube--O8zdhpFAW_w-c05b58ac6eb4c4700831b2b3070cd403.jpg' },
16+
{ image: 'https://res.cloudinary.com/marcomontalbano/image/upload/v1625200008/video_to_markdown/images/youtube--4vosyExcRvY-c05b58ac6eb4c4700831b2b3070cd403.jpg', link: 'https://www.youtube.com/watch?v=4vosyExcRvY' },
17+
{ image: 'https://res.cloudinary.com/marcomontalbano/image/upload/v1625200675/video_to_markdown/images/youtube--uAHySjoHXuE-c05b58ac6eb4c4700831b2b3070cd403.jpg', link: 'https://www.youtube.com/watch?v=uAHySjoHXuE' },
18+
{ image: 'https://res.cloudinary.com/marcomontalbano/image/upload/v1625200767/video_to_markdown/images/youtube--dEz7BYCAxZA-c05b58ac6eb4c4700831b2b3070cd403.jpg', link: 'https://www.youtube.com/watch?v=dEz7BYCAxZA' },
19+
{ image: 'https://res.cloudinary.com/marcomontalbano/image/upload/v1625201123/video_to_markdown/images/youtube--cwRYql9jzXE-c05b58ac6eb4c4700831b2b3070cd403.jpg', link: 'https://www.youtube.com/watch?v=cwRYql9jzXE' },
20+
{ image: 'https://res.cloudinary.com/marcomontalbano/image/upload/v1625201444/video_to_markdown/images/youtube--eWfE27FhHCI-c05b58ac6eb4c4700831b2b3070cd403.jpg', link: 'https://www.youtube.com/watch?v=eWfE27FhHCI' },
21+
]
22+
</script>
1523
<template>
1624
<div
1725
class="max-w-7xl mx-auto py-12 px-4 text-center sm:px-6 lg:px-8 lg:py-24"
@@ -35,8 +43,10 @@ useHead({
3543
<p class="text-xl text-gray-500 dark:text-gray-300">
3644
All our past recorded events and sessions are uploaded to our <a class="text-red-400 hover:text-red-600 hover:underline" href="https://www.youtube.com/codeiiest" target="_blank">Youtube Channel</a>.
3745
</p>
38-
<div class="flex justify-center mt-10">
39-
<a href="https://www.youtube.com/watch?v=O8zdhpFAW_w"><img src="https://res.cloudinary.com/marcomontalbano/image/upload/v1625165552/video_to_markdown/images/youtube--O8zdhpFAW_w-c05b58ac6eb4c4700831b2b3070cd403.jpg"></a>
46+
<div class="grid grid-cols-1 md:grid-cols-2 gap-2 justify-center mt-10 px-10">
47+
<div v-for="event in events" :key="event.link">
48+
<a :href="event.link" target="_blank"><img :src="event.image"></a>
49+
</div>
4050
</div>
4151
</div>
4252
</div>

0 commit comments

Comments
 (0)