MCPcopy
hub / github.com/TheOrcDev/8bitcn-ui / Sponsors

Function Sponsors

components/sponsors.tsx:66–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64// ];
65
66export default function Sponsors() {
67 return (
68 <div className="retro flex flex-col items-center justify-center gap-10 px-5 py-10">
69 <div className="flex flex-col items-center gap-5 md:flex-row">
70 <div className="flex flex-col gap-2">
71 <h2 className="font-bold text-2xl">Sponsors</h2>
72 <p className="max-w-xl text-muted-foreground text-xs">
73 We are grateful to our sponsors who help us grow and support our
74 projects.
75 </p>
76 </div>
77
78 <Image
79 alt="Wizard"
80 className="pixelated"
81 height={200}
82 src="/images/8bit-treasure.png"
83 width={200}
84 />
85 </div>
86
87 <Separator />
88
89 <h2 className="font-bold text-xl">MYTHIC Sponsors</h2>
90
91 <div className="flex flex-wrap items-center justify-center gap-10">
92 {mythicSponsors.map((sponsor) => (
93 <Link href={sponsor.url} key={sponsor.name} target="_blank">
94 <div className="flex flex-col items-center gap-4">
95 {sponsor.foil ? (
96 <Avatar className="size-60" variant="default">
97 <MythicSponsor
98 className="p-4"
99 height={250}
100 src={sponsor.image}
101 width={250}
102 />
103 </Avatar>
104 ) : (
105 <Avatar className="size-60" variant="default">
106 <AvatarImage
107 alt={sponsor.name}
108 className={cn("p-5", sponsor.invert && "dark:invert")}
109 src={sponsor.image}
110 />
111 </Avatar>
112 )}
113
114 <p className="font-bold text-sm">{sponsor.name}</p>
115 </div>
116 </Link>
117 ))}
118 <div className="flex flex-col items-center gap-4">
119 <SponsorClaim
120 className="cursor-pointer"
121 labelClassName="flex size-60 items-center justify-center border-4 border-dashed border-muted-foreground/20"
122 text="Be here"
123 textClassName="retro text-muted-foreground/40 text-xs"

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected