mirror of
https://github.com/open-webui/docs
synced 2025-05-18 18:32:14 +00:00
doc: sponsor
This commit is contained in:
parent
a89788ab24
commit
7a21913356
@ -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} />
|
||||
))}
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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",
|
||||
|
BIN
static/sponsors/banners/n8n-banner-mobile.png
Normal file
BIN
static/sponsors/banners/n8n-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
BIN
static/sponsors/banners/n8n-banner.png
Normal file
BIN
static/sponsors/banners/n8n-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 MiB |
BIN
static/sponsors/logos/n8n.png
Normal file
BIN
static/sponsors/logos/n8n.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
Loading…
Reference in New Issue
Block a user