@@ -57,7 +57,10 @@ onMounted(async () => {
57
57
</script >
58
58
59
59
<template >
60
- <div v-if =" attendeeList" class =" contain text-verse-500 dark:text-verse-200 py-8" >
60
+ <div
61
+ v-if =" attendeeList"
62
+ class =" contain text-verse-500 dark:text-verse-200 py-8"
63
+ >
61
64
<div class =" flex flex-col py-8 gap-4 [--bar-height:15px]" >
62
65
<h2
63
66
class =" group relative flex flex-col justify-center md:justify-start md:flex-row items-center gap-4 text-2xl font-bold cursor-pointer"
@@ -74,19 +77,30 @@ onMounted(async () => {
74
77
</span >
75
78
</h2 >
76
79
<div >
77
- <div v-if =" showAsFrom" class =" w-full bg-slate-500/10 h-[var(--bar-height)] rounded-full" >
78
- <div class =" h-[var(--bar-height)] rounded-full bg-green-500" :style =" `width: ${seatsTakenPercentage}%`" />
80
+ <div
81
+ v-if =" showAsFrom"
82
+ class =" w-full bg-slate-500/10 h-[var(--bar-height)] rounded-full"
83
+ >
84
+ <div
85
+ class =" h-[var(--bar-height)] rounded-full bg-green-500"
86
+ :style =" `width: ${seatsTakenPercentage}%`"
87
+ />
79
88
</div >
80
89
</div >
81
90
</div >
82
91
83
- <div class =" grid grid-cols-2 sm:flex flex-wrap gap-8" >
84
- <div v-for =" (attendee, index) in attendeeList" :key =" `attendee-${index}`" >
92
+ <div class =" grid grid-cols-1 xs:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-8 md:gap-12" >
93
+ <div
94
+ v-for =" (attendee, index) in attendeeList"
95
+ :key =" `attendee-${index}`"
96
+ >
85
97
<div class =" flex flex-col gap-4 justify-center" >
86
98
<div class =" relative flex flex-col items-center" >
87
99
<template v-if =" attendee .profile_picture " >
88
- <img :src =" base64Url(attendee.profile_picture)" alt =" "
89
- class =" rounded-full mx-auto w-28 h-28 aspect-square"
100
+ <img
101
+ :src =" base64Url(attendee.profile_picture)"
102
+ alt =" "
103
+ class =" rounded-full mx-auto w-full max-w-[130px] aspect-square"
90
104
>
91
105
</template >
92
106
<template v-else >
@@ -98,14 +112,21 @@ onMounted(async () => {
98
112
</span >
99
113
</div >
100
114
</template >
101
- <div v-if =" attendee.verified" title =" This person was present at the meetup"
102
- class =" text-xs flex gap-1 tracking-widest p-0.5 shadow-lg font-medium uppercase bg-green-600 rounded-full text-center md:flex text-white w-fit -mt-4"
115
+ <div
116
+ v-if =" attendee.verified"
117
+ title =" This person was present at the meetup"
118
+ class =" text-xs flex gap-1 tracking-widest p-0.5 shadow-lg font-medium uppercase bg-green-600 rounded-full text-center md:flex text-white w-fit -mt-4"
103
119
>
104
- <Icon name =" mdi:check-decagram" class =" text-xl" />
120
+ <Icon
121
+ name =" mdi:check-decagram"
122
+ class =" text-xl"
123
+ />
105
124
</div >
106
125
</div >
107
- <div :title =" attendee.name" class =" font-bold w-[150px] text-center truncate"
108
- :class =" [attendee.verified ? ' -mt-4' : '']"
126
+ <div
127
+ :title =" attendee.name"
128
+ class =" font-bold w-full text-center truncate"
129
+ :class =" [attendee.verified ? ' -mt-4' : '']"
109
130
>
110
131
{{ attendee.name }}
111
132
</div >
0 commit comments