doc: sponsor

This commit is contained in:
Timothy Jaeryang Baek 2025-04-25 10:34:17 +09:00
parent a89788ab24
commit 7a21913356
6 changed files with 18 additions and 8 deletions

View File

@ -1,6 +1,16 @@
import { Sponsor } from "@site/src/components/Sponsors/Sponsor";
export const SponsorList = () => {
const emeraldSponsors = [
{
imgSrc: "/sponsors/logos/n8n.png",
url: "https://n8n.io/",
name: "n8n",
description:
"Does your interface have a backend yet? Try n8n",
},
];
const sponsors = [
{
imgSrc: "/sponsors/sponsor.png",
@ -52,7 +62,7 @@ export const SponsorList = () => {
<div className="flex flex-wrap items-start justify-start gap-5">
{sponsors.map((sponsor) => (
{emeraldSponsors.map((sponsor) => (
<Sponsor sponsor={sponsor} />
))}

View File

@ -10,14 +10,14 @@ export const TopBanner = ({ items }) => {
<a href={item.url} target="_blank">
<img
className="hidden w-full rounded-xl md:block h-16 object-cover"
className="hidden w-full rounded-xl md:block h-18 object-cover"
loading="lazy"
alt={item.name}
src={item.imgSrc}
/>
<img
className="block w-full rounded-xl md:hidden h-16 object-cover"
className="block w-full rounded-xl md:hidden h-18 object-cover"
loading="lazy"
alt={item.name}
src={item?.mobileImgSrc || item.imgSrc}

View File

@ -3,12 +3,12 @@ import { TopBanner } from "@site/src/components/Sponsors/TopBanner";
export const TopBanners = () => {
const items = [
{
imgSrc: "/sponsors/banners/openwebui-banner.png",
mobileImgSrc: "/sponsors/banners/openwebui-banner-mobile.png",
url: "https://openwebui.com",
name: "Open WebUI Community",
imgSrc: "/sponsors/banners/n8n-banner.png",
mobileImgSrc: "/sponsors/banners/n8n-banner-mobile.png",
url: "https://n8n.io/",
name: "n8n",
description:
"Join our growing community! Sign up to gain access to exclusive models, tools, and functions.",
"Does your interface have a backend yet? Try n8n",
},
{
imgSrc: "/sponsors/banners/placeholder.png",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB