Skip to content

Commit 93f9c63

Browse files
committed
fix(about): keep consistent look in dark and light mode
1 parent ec9128a commit 93f9c63

File tree

2 files changed

+27
-20
lines changed

2 files changed

+27
-20
lines changed

apps/docs/content/docs/about/index.mdx

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,103 +13,109 @@ import { GlobeAltIcon } from '@heroicons/react/24/outline';
1313

1414
<h1 className='text-center text-4xl mt-4'>Our Team</h1>
1515

16-
<Cards className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-y-10 mb-32">
17-
<Card
18-
className="flex flex-col items-center justify-center bg-[#121212] border-none"
16+
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-y-10 mb-32">
17+
<div
18+
className="flex flex-col items-center justify-center"
1919
>
2020
<Image
2121
className='rounded-full'
2222
src="/team/abdelkrim.png"
2323
width={150}
2424
height={150}
25+
alt="abdelkrim"
2526
/>
2627
<h1 className='text-center'>Abdelkrim</h1>
2728
<div className='flex gap-5 items-center justify-center'>
2829
<Link href='https://x.com/abdelkrimdev'><SiX className="w-5 h-5 text-foreground"/></Link>
2930
<Link href='https://github.com/abdelkrimdev'><SiGithub className="w-6 h-6 text-foreground"/></Link>
3031
</div>
31-
</Card>
32+
</div>
3233

33-
<Card
34-
className="flex flex-col items-center justify-center bg-[#121212] border-none"
34+
<div
35+
className="flex flex-col items-center justify-center"
3536
>
3637
<Image
3738
className='rounded-full'
3839
src="/team/erick.jpg"
3940
width={150}
4041
height={150}
42+
alt="erick"
4143
/>
4244
<h1 className='text-center'>Erick</h1>
4345
<div className='flex gap-5 items-center justify-center'>
4446
<Link href='https://x.com/ErickRomeroEdda'><SiX className="w-5 h-5 text-foreground"/></Link>
4547
<Link href='https://github.com/ErickRomeroDev'><SiGithub className="w-6 h-6 text-foreground"/></Link>
4648
</div>
47-
</Card>
49+
</div>
4850

49-
<Card
50-
className="flex flex-col items-center justify-center bg-[#121212] border-none"
51+
<div
52+
className="flex flex-col items-center justify-center"
5153
>
5254
<Image
5355
className='rounded-full'
5456
src="/team/felix.png"
5557
width={150}
5658
height={150}
59+
alt="felix"
5760
/>
5861
<h1 className='text-center'>Felix</h1>
5962
<div className='flex gap-5 items-center justify-center'>
6063
<Link href='https://x.com/CatalystSwarm'><SiX className="w-5 h-5 text-foreground"/></Link>
6164
<Link href='https://github.com/Technosophorso'><SiGithub className="w-6 h-6 text-foreground"/></Link>
6265
</div>
63-
</Card>
66+
</div>
6467

65-
<Card
66-
className="flex flex-col items-center justify-center bg-[#121212] border-none"
68+
<div
69+
className="flex flex-col items-center justify-center"
6770
>
6871
<Image
6972
className='rounded-full'
7073
src="/team/hinson.png"
7174
width={150}
7275
height={150}
76+
alt="hinson"
7377
/>
7478
<h1 className='text-center'>Hinson</h1>
7579
<div className='flex gap-5 items-center justify-center'>
7680
<Link href='https://x.com/HinsonSIDAN'><SiX className="w-5 h-5 text-foreground"/></Link>
7781
<Link href='https://github.com/HinsonSIDAN'><SiGithub className="w-6 h-6 text-foreground"/></Link>
7882
</div>
79-
</Card>
83+
</div>
8084

81-
<Card
82-
className="flex flex-col items-center justify-center bg-[#121212] border-none"
85+
<div
86+
className="flex flex-col items-center justify-center"
8387
>
8488
<Image
8589
className='rounded-full'
8690
src="/team/jingles.png"
8791
width={150}
8892
height={150}
93+
alt="jingles"
8994
/>
9095
<h1 className='text-center'>Jingles</h1>
9196
<div className='flex gap-5 items-center justify-center'>
9297
<Link href='https://x.com/jinglescode'><SiX className="w-5 h-5 text-foreground"/></Link>
9398
<Link href='https://github.com/jinglescode'><SiGithub className="w-6 h-6 text-foreground"/></Link>
9499
<Link href='https://github.com/jinglescode'><GlobeAltIcon className="w-7 h-7 text-foreground"/></Link>
95100
</div>
96-
</Card>
101+
</div>
97102

98-
<Card
99-
className="flex flex-col items-center justify-center bg-[#121212] border-none"
103+
<div
104+
className="flex flex-col items-center justify-center"
100105
>
101106
<Image
102107
className='rounded-full'
103108
src="/team/tszwai.png"
104109
width={150}
105110
height={150}
111+
alt="tszwai"
106112
/>
107113
<h1 className='text-center'>Tszwai</h1>
108114
<div className='flex gap-5 items-center justify-center'>
109115
<Link href='https://github.com/twwu123'><SiGithub className="w-6 h-6 text-foreground"/></Link>
110116
</div>
111-
</Card>
112-
</Cards>
117+
</div>
118+
</div>
113119

114120
<div className='text-center mb-32'>
115121
<h1 className='text-4xl'>What are we working on?</h1>

apps/docs/lib/iconResolver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function iconResolver(iconName?: string | null, className: string = ""):
2121

2222
return createElement('img', {
2323
src: `/${iconName}`,
24+
key: `${iconName}`,
2425
alt: `${iconName} icon`,
2526
width: 20,
2627
height: 20,

0 commit comments

Comments
 (0)