1
1
<script setup lang="ts">
2
- import sponsorTypes from ' ../../frontendmu-data/data/sponsors.js'
3
- import { vTransitionName } from ' @/utils/helpers'
2
+ import sponsorTypes from " ../../frontendmu-data/data/sponsors.js" ;
3
+ import { vTransitionName } from " @/utils/helpers" ;
4
4
5
- const title = ' Our sponsors'
6
- const description = ' '
5
+ const title = " Our sponsors" ;
6
+ const description = " " ;
7
7
</script >
8
8
9
9
<template >
@@ -13,36 +13,55 @@ const description = ''
13
13
<BaseHeading >Sponsors</BaseHeading >
14
14
<p class =" text-xl text-verse-600 dark:text-verse-200" >
15
15
We're lucky to have sponsors support our community. If you're
16
- interested in sponsoring us,<a href =" mailto:hello@frontend.mu"
17
- class =" underline hover:bg-verse-50 dark:bg-verse-950" title =" Please reach out to us via email" > please reach
18
- out to the organizers
19
- here</a >.
16
+ interested in sponsoring us,<a
17
+ href =" mailto:hello@frontend.mu"
18
+ class =" underline hover:bg-verse-50 dark:bg-verse-950"
19
+ title =" Please reach out to us via email"
20
+ >
21
+ please reach out to the organizers here</a
22
+ >.
20
23
</p >
21
24
</div >
22
25
<div class =" grid gap-20 pt-12 md:grid-cols-2" >
23
26
<template v-for =" sponsorType in sponsorTypes " :key =" sponsorType .title " >
24
- <div class =" flex flex-col" >
27
+ <div class =" flex flex-col justify-between " >
25
28
<div class =" space-y-5 sm:mx-auto sm:space-y-2" >
26
29
<h3
27
- class =" text-3xl font-bold tracking-tight text-center md:text-left sm:text-4xl sm:tracking-tight text-verse-500 dark:text-verse-200" >
30
+ class =" text-3xl font-bold tracking-tight text-center md:text-left sm:text-4xl sm:tracking-tight text-verse-500 dark:text-verse-200"
31
+ >
28
32
{{ sponsorType.title }}
29
33
</h3 >
30
34
<p class =" max-w-2xl text-xl text-verse-600 dark:text-verse-200" >
31
35
{{ sponsorType.description }}
32
36
</p >
33
37
</div >
34
- <ul role =" list"
35
- class =" grid grid-cols-1 sm:ml-0 sm:mr-auto mx-auto mt-6 gap-x-4 gap-y-2 sm:grid-cols-2 md:gap-x-6 lg:gap-x-8 lg:gap-y-12" >
36
- <template v-for =" (sponsor , index ) in sponsorType .sponsors " :key =" index " >
38
+ <ul
39
+ role =" list"
40
+ class =" grid grid-cols-1 sm:ml-0 sm:mr-auto mx-auto mt-6 gap-x-4 gap-y-2 sm:grid-cols-2 md:gap-x-6 lg:gap-x-8 lg:gap-y-12"
41
+ >
42
+ <template
43
+ v-for =" (sponsor , index ) in sponsorType .sponsors "
44
+ :key =" index "
45
+ >
37
46
<li class =" pt-4" >
38
- <a target =" _blank" :href =" sponsor.sponsorUrl"
39
- class =" relative flex flex-col items-center justify-center gap-2 p-6 mt-4 transition-all bg-white border-t-8 border-verse-500 border-solid shadow-md md:mt-0 rounded-xl group hover:shadow-lg h-full" >
40
- <img v-if =" sponsor.logo" class =" w-48 h-52 object-contain" :src =" `/img/sponsors/${sponsor.logo}`"
41
- :style =" vTransitionName('sponsor-name', sponsor.name)" >
47
+ <a
48
+ target =" _blank"
49
+ :href =" sponsor.sponsorUrl"
50
+ class =" relative flex flex-col items-center justify-center gap-2 p-6 mt-4 transition-all bg-white border-t-8 border-verse-500 border-solid shadow-md md:mt-0 rounded-xl group hover:shadow-lg h-full"
51
+ >
52
+ <img
53
+ v-if =" sponsor.logo"
54
+ class =" w-48 h-52 object-contain"
55
+ :src =" `/img/sponsors/${sponsor.logo}`"
56
+ :style =" vTransitionName('sponsor-name', sponsor.name)"
57
+ />
42
58
<div v-else >
43
59
<span class =" text-2xl font-bold" >{{ sponsor.name }}</span >
44
60
</div >
45
- <p v-if =" sponsor.description" class =" text-center text-gray-500" >
61
+ <p
62
+ v-if =" sponsor.description"
63
+ class =" text-center text-gray-500"
64
+ >
46
65
{{ sponsor.description }}
47
66
</p >
48
67
</a >
@@ -55,11 +74,13 @@ const description = ''
55
74
<div >
56
75
<div class =" space-y-5 sm:mx-auto sm:space-y-2 py-4" >
57
76
<h3
58
- class =" text-3xl font-bold tracking-tight text-center md:text-left sm:text-4xl sm:tracking-tight text-verse-500 dark:text-verse-200" >
77
+ class =" text-3xl font-bold tracking-tight text-center md:text-left sm:text-4xl sm:tracking-tight text-verse-500 dark:text-verse-200"
78
+ >
59
79
Past meetup sponsors
60
80
</h3 >
61
81
<p class =" max-w-2xl text-xl text-verse-600 dark:text-verse-200" >
62
- These wonderful companies have sponsored our meetups in the past. We're grateful for their support.
82
+ These wonderful companies have sponsored our meetups in the past.
83
+ We're grateful for their support.
63
84
</p >
64
85
</div >
65
86
0 commit comments