|
5 | 5 | > |
6 | 6 | Made possible by you |
7 | 7 | </h2> |
8 | | - <p class="text-lg md:text-xl !leading-[2rem] sm:text-center w-full max-w-2xl mx-auto dark:text-gray-400 dark:font-medium"> |
| 8 | + <p |
| 9 | + class="text-lg md:text-xl !leading-[2rem] sm:text-center w-full max-w-2xl mx-auto dark:text-gray-400 dark:font-medium" |
| 10 | + > |
9 | 11 | Elysia is |
10 | 12 | <span class="text-gray-700 dark:text-gray-200 font-medium" |
11 | 13 | >not own by an organization</span |
12 | 14 | > |
13 | 15 | but is driven by the community. |
14 | | - <br> |
| 16 | + <br /> |
15 | 17 | Elysia development is only possible thanks to your support |
16 | 18 | </p> |
17 | 19 | <div class="flex sm:justify-center my-8"> |
18 | 20 | <a |
19 | | - id="become-sponsor" |
| 21 | + id="become-sponsor" |
20 | 22 | class="inline-flex items-center text-white font-semibold bg-gradient-to-br from-rose-400 to-pink-400 rounded-full px-6 py-3 box-shadow shadow-pink-400/40 shadow-lg transition-transform transform hover:scale-110 focus;scale-110" |
21 | 23 | href="https://github.com/sponsors/saltyaom" |
22 | 24 | target="_blank" |
|
41 | 43 | </svg> |
42 | 44 | </a> |
43 | 45 | </div> |
44 | | - <p class="sm:text-center text-gradient from-pink-400 to-fuchsia-400 font-semibold text-base">Thanks you for making Elysia possible</p> |
| 46 | + <p |
| 47 | + class="sm:text-center text-gradient from-pink-400 to-fuchsia-400 font-semibold text-base" |
| 48 | + > |
| 49 | + Thanks you for making Elysia possible |
| 50 | + </p> |
45 | 51 | <ul id="sponsors-fern" v-if="sponsors.length > 0" class="my-4"> |
46 | 52 | <li v-for="sponsor in sponsors" :key="sponsor.sponsorEntity.login"> |
47 | 53 | <a |
48 | 54 | :href="`https://github.com/${sponsor.sponsorEntity.login}`" |
49 | 55 | target="_blank" |
50 | | - class="flex flex-col justify-center items-center text-center hover:bg-pink-100 focus:bg-pink-100 dark:hover:bg-pink-500/30 dark:focus:bg-pink-500/30 px-0.5 py-4 rounded-xl transition-colors text-gray-500 hover:text-pink-500 dark:text-gray-400 dark:hover:text-pink-400" |
| 56 | + class="sponsor" |
51 | 57 | > |
52 | | - <div |
53 | | - class="w-16 h-16 bg-gray-100 overflow-hidden rounded-full mb-3" |
54 | | - > |
| 58 | + <div> |
55 | 59 | <img |
56 | 60 | v-if="sponsor.sponsorEntity.avatarUrl" |
57 | 61 | :src="sponsor.sponsorEntity.avatarUrl" |
58 | 62 | alt="Sponsor avatar" |
59 | | - class="w-16 h-16 rounded-full object-cover object-center" |
60 | 63 | loading="lazy" |
61 | 64 | /> |
62 | 65 | </div> |
63 | | - <p className="text-xs sponsor-name"> |
| 66 | + <p> |
64 | 67 | {{ |
65 | 68 | sponsor.sponsorEntity.name ?? |
66 | 69 | sponsor.sponsorEntity.login ?? |
67 | 70 | '[Private]' |
68 | 71 | }} |
69 | 72 | </p> |
70 | | - <!-- <p |
71 | | - v-if="sponsor.tier.monthlyPriceInDollars" |
72 | | - class="text-3xl text-gray-400 bg-clip-text text-transparent bg-gradient-to-tl font-medium from-fuchsia-500 to-blue-500 mt-3 mb-1" |
73 | | - > |
74 | | - ${{ sponsor.tier.monthlyPriceInDollars }} |
75 | | - </p> --> |
76 | | - <p className="text-xs my-0"> |
| 73 | + <p> |
77 | 74 | {{ |
78 | 75 | dayjs() |
79 | 76 | .from(dayjs(sponsor.createdAt)) |
@@ -130,10 +127,26 @@ const sponsors: Sponsor[] = data |
130 | 127 | <style> |
131 | 128 | #sponsors-fern { |
132 | 129 | @apply grid gap-0.5 grid-cols-3; |
| 130 | +
|
| 131 | + & > li > .sponsor { |
| 132 | + @apply flex flex-col justify-center items-center text-xs text-center hover:bg-pink-500/10 focus:bg-pink-500/10 dark:hover:bg-pink-500/25 dark:focus:bg-pink-500/25 px-0.5 py-4 rounded-xl transition-colors text-gray-500 hover:text-pink-500 dark:text-gray-400 dark:hover:text-pink-400; |
| 133 | +
|
| 134 | + & > div { |
| 135 | + @apply w-16 h-16 bg-gray-100 overflow-hidden rounded-full mb-3; |
| 136 | +
|
| 137 | + & > img { |
| 138 | + @apply w-16 h-16 rounded-full object-cover object-center; |
| 139 | + } |
| 140 | +
|
| 141 | + & > p { |
| 142 | + @apply my-0; |
| 143 | + } |
| 144 | + } |
| 145 | + } |
133 | 146 | } |
134 | 147 |
|
135 | 148 | #become-sponsor { |
136 | | - transition: transform .35s cubic-bezier(0.68, -0.6, 0.32, 1.6); |
| 149 | + transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6); |
137 | 150 | } |
138 | 151 |
|
139 | 152 | @screen sm { |
|
0 commit comments