mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
* feat(docs): add Scrumbuiss to sponsor section * feat(docs): add Scrumbuiss logo * feat(docs): add sponsors from patreon
56 lines
1.8 KiB
TypeScript
56 lines
1.8 KiB
TypeScript
import {Button, Link} from "@nextui-org/react";
|
|
|
|
import {sectionWrapper} from "@/components/primitives";
|
|
import {Story2DesignLogo, ReplexicaLogo, CodeRabbitLogo, ScrumbuissLogo} from "@/components/icons/sponsors";
|
|
import {HeartFilledIcon} from "@/components/icons";
|
|
import {siteConfig} from "@/config/site";
|
|
import {Sponsor, SponsorItem} from "@/components/marketing/sponsor-item";
|
|
|
|
const sponsors: Sponsor[] = [
|
|
{
|
|
name: "story.to.design",
|
|
href: "https://story.to.design?utm_source=nextui&utm_marketing=partnership",
|
|
logo: <Story2DesignLogo className="pt-1" />,
|
|
},
|
|
{
|
|
name: "Replexica",
|
|
href: "https://replexica.com/?utm_source=nextui&utm_marketing=oss",
|
|
logo: <ReplexicaLogo />,
|
|
},
|
|
{
|
|
name: "CodeRabbit",
|
|
href: "https://coderabbit.ai/?utm_source=nextui&utm_marketing=oss",
|
|
logo: <CodeRabbitLogo />,
|
|
},
|
|
{
|
|
name: "Scrumbuiss",
|
|
href: "https://www.scrumbuiss.com/?utm_source=nextui&utm_marketing=oss",
|
|
logo: <ScrumbuissLogo />,
|
|
},
|
|
];
|
|
|
|
export const Sponsors = () => {
|
|
return (
|
|
<section className={sectionWrapper({class: "text-center mt-24 lg:mt-32"})}>
|
|
<h3 className="text-large text-default-500">Supported and backed by</h3>
|
|
<div className="w-full flex flex-wrap gap-x-5 gap-y-3 justify-center items-center">
|
|
{sponsors.map((sponsor) => (
|
|
<SponsorItem key={sponsor.name} {...sponsor} />
|
|
))}
|
|
<Button
|
|
isExternal
|
|
as={Link}
|
|
className="group text-sm border-dashed font-normal text-default-600 data-[hover=true]:bg-default-100/50"
|
|
href={siteConfig.links.sponsor}
|
|
startContent={
|
|
<HeartFilledIcon className="text-danger group-data-[hover=true]:animate-heartbeat" />
|
|
}
|
|
variant="bordered"
|
|
>
|
|
Your Company
|
|
</Button>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|