mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 22:18:00 +08:00
- Developers: 1.7M → 7M+ - GitHub Stars: 79K → 98K+ - Twitter Followers: 140K → 190K+ - Discord: 34K → 47K+ https://claude.ai/code/session_01VKuCJaCmDttAT8iHXpiU9h ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES/NO ## What kind of change does this PR introduce? Bug fix, feature, docs update, ... ## What is the current behavior? Please link any relevant issues here. ## What is the new behavior? Feel free to include screenshots if it includes visual changes. ## Additional context Add any other context or screenshots. Co-authored-by: Claude <noreply@anthropic.com>
68 lines
1.5 KiB
TypeScript
68 lines
1.5 KiB
TypeScript
import DeveloperSignups from 'data/DeveloperSignups'
|
|
|
|
type CommunityItem = {
|
|
title: string
|
|
stat: string
|
|
statLabel: string
|
|
img: string
|
|
detail: any // some component to show when selected
|
|
invertImgDarkMode?: boolean
|
|
}
|
|
|
|
const data: CommunityItem[] = [
|
|
{
|
|
title: 'Developers',
|
|
stat: '7,000,000+',
|
|
statLabel: 'Registered developers',
|
|
img: 'supabase.png',
|
|
detail: () => (
|
|
<div className="mx-auto mt-5 grid max-w-lg gap-0 overflow-hidden rounded-lg border border-dashed text-center sm:grid-cols-3 lg:max-w-none lg:grid-cols-4 ">
|
|
{DeveloperSignups.map((signup) => (
|
|
<div
|
|
key={signup.title}
|
|
className="col-span-1 flex justify-center border border-dashed py-8 px-8"
|
|
>
|
|
<img key={signup.title} className="max-h-12" src={signup.img} alt={signup.title} />
|
|
</div>
|
|
))}
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
title: 'GitHub',
|
|
stat: '98,000+',
|
|
statLabel: 'GitHub stars',
|
|
img: 'github.png',
|
|
invertImgDarkMode: true,
|
|
detail: () => (
|
|
<div>
|
|
<p>Some growth chart?</p>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
title: 'Twitter',
|
|
stat: '190,000+',
|
|
statLabel: 'Followers',
|
|
img: 'twitter.png',
|
|
detail: () => (
|
|
<div>
|
|
<p>Some twitter callouts</p>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
title: 'Discord',
|
|
stat: '47,000+',
|
|
statLabel: 'SupaTroopers',
|
|
img: 'discord.png',
|
|
detail: () => (
|
|
<div>
|
|
<p>Something great</p>
|
|
</div>
|
|
),
|
|
},
|
|
]
|
|
|
|
export default data
|