Skip to content

Commit 993d693

Browse files
authored
Merge pull request #226 from the-code-raider/main
Minor UI Fixes
2 parents 2a2804f + 4783169 commit 993d693

File tree

6 files changed

+23
-19
lines changed

6 files changed

+23
-19
lines changed

packages/frontendmu-astro/src/data/contributors.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[
22
{
33
"username": "MrSunshyne",
4-
"contributions": 662
4+
"contributions": 663
55
},
66
{
77
"username": "houzyk",
88
"contributions": 31
99
},
1010
{
11-
"username": "k3ii",
12-
"contributions": 27
11+
"username": "n-d-r-d-g",
12+
"contributions": 28
1313
},
1414
{
15-
"username": "n-d-r-d-g",
16-
"contributions": 26
15+
"username": "k3ii",
16+
"contributions": 27
1717
},
1818
{
1919
"username": "nicolasstrands",

packages/frontendmu-nuxt/components/community/ProjectsSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const sortedProjects = projects.sort((a, b) => {
5555
/>
5656
</div>
5757
</div>
58-
<div class="py-2 text-sm text-start">
58+
<div class="py-2 text-sm text-start flex-grow">
5959
{{ project.description }}
6060
</div>
6161

packages/frontendmu-nuxt/components/meetup/Album.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ function setActiveImageIndex(index: number) {
5959
</div>
6060
</CarouselItem>
6161
</CarouselContent>
62-
<CarouselPrevious class="left-1 bg-[#00000097]" />
63-
<CarouselNext class="right-1 bg-[#00000097]" />
62+
<CarouselPrevious class="left-1" />
63+
<CarouselNext class="right-1" />
6464
</Carousel>
6565
</DialogContent>
6666
</Dialog>

packages/frontendmu-nuxt/components/site/MeetupSponsors.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function sponsorClassList(sponsor: Sponsor) {
2121
</script>
2222

2323
<template>
24-
<div class="grid grid-cols-7 gap-8">
24+
<div class="grid lg:grid-cols-7 md:gap-8 md:grid-cols-3 grid-cols-2 gap-4 auto-rows-auto">
2525
<!-- <template v-for="sponsor in allSponsors" :key="sponsor.Sponsor_id">
2626
<img class="h-16 w-20 md:w-auto object-contain md:object-cover" :src="sponsorLogoUrl(sponsor)"
2727
:alt="sponsor.Sponsor_id.Name" :title="sponsor.Sponsor_id.Name" :width="sponsor.Sponsor_id.Logo.width"

packages/frontendmu-nuxt/components/ui/dialog/DialogContent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
2727
<template>
2828
<DialogPortal>
2929
<DialogOverlay
30-
class="fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
30+
class="fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
3131
/>
3232
<DialogContent
3333
v-bind="forwarded"
@@ -42,7 +42,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
4242
<DialogClose
4343
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
4444
>
45-
<X class="w-4 h-4" />
45+
<X class="w-4 h-4 text-white" />
4646
<span class="sr-only">Close</span>
4747
</DialogClose>
4848
</DialogContent>

packages/frontendmu-nuxt/pages/sponsors.vue

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ const description = ''
1313
<BaseHeading>Sponsors</BaseHeading>
1414
<p class="text-xl text-verse-600 dark:text-verse-200">
1515
We're lucky to have sponsors support our community. If you're
16-
interested in sponsoring us,<a href="mailto:hello@frontend.mu" class="underline"
17-
title="Please reach out to us via email"
16+
interested in sponsoring us,<a
17+
href="mailto:hello@frontend.mu" class="underline hover:bg-verse-50 dark:bg-verse-950"
18+
title="Please reach out to us via email"
1819
> please reach out to the organizers
1920
here</a>.
2021
</p>
@@ -32,16 +33,19 @@ const description = ''
3233
{{ sponsorType.description }}
3334
</p>
3435
</div>
35-
<ul role="list"
36-
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+
<ul
37+
role="list"
38+
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"
3739
>
3840
<template v-for="(sponsor, index) in sponsorType.sponsors" :key="index">
3941
<li class="pt-4">
40-
<a target="_blank" :href="sponsor.sponsorUrl"
41-
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"
42+
<a
43+
target="_blank" :href="sponsor.sponsorUrl"
44+
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"
4245
>
43-
<img v-if="sponsor.logo" class="w-48 h-auto" :src="`/img/sponsors/${sponsor.logo}`"
44-
:style="vTransitionName('sponsor-name', sponsor.name)"
46+
<img
47+
v-if="sponsor.logo" class="w-48 h-52 object-contain" :src="`/img/sponsors/${sponsor.logo}`"
48+
:style="vTransitionName('sponsor-name', sponsor.name)"
4549
>
4650
<div v-else>
4751
<span class="text-2xl font-bold">{{ sponsor.name }}</span>

0 commit comments

Comments
 (0)