mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-28 18:36:12 +01:00
Add contributors on home page
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {}
|
const nextConfig = {
|
||||||
|
images: {
|
||||||
|
remotePatterns: [{ hostname: 'avatars.githubusercontent.com' }],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
const { withPlausibleProxy } = require('next-plausible')
|
const { withPlausibleProxy } = require('next-plausible')
|
||||||
module.exports = withPlausibleProxy()(nextConfig)
|
module.exports = withPlausibleProxy()(nextConfig)
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import {
|
|||||||
ShieldX,
|
ShieldX,
|
||||||
Users,
|
Users,
|
||||||
} from 'lucide-react'
|
} from 'lucide-react'
|
||||||
|
import Image from 'next/image'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { ReactNode } from 'react'
|
import { ReactNode } from 'react'
|
||||||
|
|
||||||
@@ -97,9 +98,60 @@ export default function HomePage() {
|
|||||||
className="mt-2 leading-normal text-muted-foreground sm:text-lg sm:leading-7"
|
className="mt-2 leading-normal text-muted-foreground sm:text-lg sm:leading-7"
|
||||||
style={{ textWrap: 'balance' } as any}
|
style={{ textWrap: 'balance' } as any}
|
||||||
>
|
>
|
||||||
Spliit is open source and powered by open source software. Feel free
|
Spliit is open source and lives thanks to amazing{' '}
|
||||||
to contribute!
|
<a
|
||||||
|
className="underline"
|
||||||
|
target="_blank"
|
||||||
|
href="https://github.com/scastiel/spliit2/graphs/contributors"
|
||||||
|
>
|
||||||
|
contributors
|
||||||
|
</a>
|
||||||
|
!
|
||||||
</p>
|
</p>
|
||||||
|
<ul className="flex gap-4 mt-6">
|
||||||
|
{[
|
||||||
|
{
|
||||||
|
avatar:
|
||||||
|
'https://avatars.githubusercontent.com/u/301948?s=120&v=4',
|
||||||
|
user: 'scastiel',
|
||||||
|
name: 'Sebastien Castiel',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
avatar:
|
||||||
|
'https://avatars.githubusercontent.com/u/3932568?s=120&v=4',
|
||||||
|
user: 'ChristopherJohnston',
|
||||||
|
name: 'Chris Johnston',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
avatar:
|
||||||
|
'https://avatars.githubusercontent.com/u/10518723?s=120&v=4',
|
||||||
|
user: 'ankitbahl',
|
||||||
|
name: 'Ankit Bahl',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
avatar:
|
||||||
|
'https://avatars.githubusercontent.com/u/13032812?s=120&v=4',
|
||||||
|
user: '174n',
|
||||||
|
name: 'Ivan Alexandrov',
|
||||||
|
},
|
||||||
|
].map((contributor) => (
|
||||||
|
<li key={contributor.user}>
|
||||||
|
<a
|
||||||
|
href={`https://github.com/${contributor.user}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="nofollow"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
src={contributor.avatar}
|
||||||
|
width={60}
|
||||||
|
height={60}
|
||||||
|
alt={contributor.user}
|
||||||
|
className="rounded-full"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
<div className="mt-4 md:mt-6">
|
<div className="mt-4 md:mt-6">
|
||||||
<Button asChild variant="secondary" size="lg">
|
<Button asChild variant="secondary" size="lg">
|
||||||
<a
|
<a
|
||||||
|
|||||||
Reference in New Issue
Block a user