mirror of
https://github.com/open-webui/docs
synced 2025-05-19 02:42:15 +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";
|
import { Sponsor } from "@site/src/components/Sponsors/Sponsor";
|
||||||
|
|
||||||
export const SponsorList = () => {
|
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 = [
|
const sponsors = [
|
||||||
{
|
{
|
||||||
imgSrc: "/sponsors/sponsor.png",
|
imgSrc: "/sponsors/sponsor.png",
|
||||||
@ -52,7 +62,7 @@ export const SponsorList = () => {
|
|||||||
|
|
||||||
|
|
||||||
<div className="flex flex-wrap items-start justify-start gap-5">
|
<div className="flex flex-wrap items-start justify-start gap-5">
|
||||||
{sponsors.map((sponsor) => (
|
{emeraldSponsors.map((sponsor) => (
|
||||||
<Sponsor sponsor={sponsor} />
|
<Sponsor sponsor={sponsor} />
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
@ -10,14 +10,14 @@ export const TopBanner = ({ items }) => {
|
|||||||
|
|
||||||
<a href={item.url} target="_blank">
|
<a href={item.url} target="_blank">
|
||||||
<img
|
<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"
|
loading="lazy"
|
||||||
alt={item.name}
|
alt={item.name}
|
||||||
src={item.imgSrc}
|
src={item.imgSrc}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<img
|
<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"
|
loading="lazy"
|
||||||
alt={item.name}
|
alt={item.name}
|
||||||
src={item?.mobileImgSrc || item.imgSrc}
|
src={item?.mobileImgSrc || item.imgSrc}
|
||||||
|
@ -3,12 +3,12 @@ import { TopBanner } from "@site/src/components/Sponsors/TopBanner";
|
|||||||
export const TopBanners = () => {
|
export const TopBanners = () => {
|
||||||
const items = [
|
const items = [
|
||||||
{
|
{
|
||||||
imgSrc: "/sponsors/banners/openwebui-banner.png",
|
imgSrc: "/sponsors/banners/n8n-banner.png",
|
||||||
mobileImgSrc: "/sponsors/banners/openwebui-banner-mobile.png",
|
mobileImgSrc: "/sponsors/banners/n8n-banner-mobile.png",
|
||||||
url: "https://openwebui.com",
|
url: "https://n8n.io/",
|
||||||
name: "Open WebUI Community",
|
name: "n8n",
|
||||||
description:
|
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",
|
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