mirror of
https://github.com/open-webui/docs.git
synced 2025-12-12 07:29:49 +07:00
refac
This commit is contained in:
@@ -3,69 +3,20 @@ import { useEffect, useState } from "react";
|
||||
|
||||
export const SidebarBanners = () => {
|
||||
const items = [
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/n8n-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/n8n-banner-mobile.png",
|
||||
// url: "https://n8n.io/",
|
||||
// name: "n8n",
|
||||
// description: "Does your interface have a backend yet? Try n8n",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/n8n-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/n8n-banner-mobile.png",
|
||||
// url: "https://n8n.io/",
|
||||
// name: "n8n",
|
||||
// description: "Does your interface have a backend yet? Try n8n",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/warp-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/warp-banner-mobile.png",
|
||||
// url: "https://warp.dev/open-webui",
|
||||
// name: "Warp",
|
||||
// description: "The intelligent terminal for developers",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/warp-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/warp-banner-mobile.png",
|
||||
// url: "https://warp.dev/open-webui",
|
||||
// name: "Warp",
|
||||
// description: "The intelligent terminal for developers",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/tailscale-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/tailscale-banner-mobile.png",
|
||||
// url: "https://tailscale.com/blog/self-host-a-local-ai-stack/?utm_source=OpenWebUI&utm_medium=paid-ad-placement&utm_campaign=OpenWebUI-Docs",
|
||||
// name: "Tailscale",
|
||||
// description: "Connect self-hosted AI to any device with Tailscale",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/tailscale-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/tailscale-banner-mobile.png",
|
||||
// url: "https://tailscale.com/blog/self-host-a-local-ai-stack/?utm_source=OpenWebUI&utm_medium=paid-ad-placement&utm_campaign=OpenWebUI-Docs",
|
||||
// name: "Tailscale",
|
||||
// description: "Connect self-hosted AI to any device with Tailscale",
|
||||
// },
|
||||
|
||||
{
|
||||
imgSrc: "/sponsors/banners/placeholder.png",
|
||||
mobileImgSrc: "/sponsors/banners/placeholder-mobile.png",
|
||||
url: "https://forms.gle/92mvG3ESYj47zzRL9",
|
||||
name: "Open WebUI",
|
||||
imgSrc: '/sponsors/banners/openwebui-banner.png',
|
||||
mobileImgSrc: '/sponsors/banners/openwebui-banner-mobile.png',
|
||||
url: 'https://docs.openwebui.com/enterprise',
|
||||
name: 'Open WebUI Inc.',
|
||||
description:
|
||||
"The top banner spot is reserved for Emerald+ Enterprise sponsors",
|
||||
'Upgrade to a licensed plan for enhanced capabilities, including custom theming and branding, and dedicated support.'
|
||||
},
|
||||
{
|
||||
imgSrc: "/sponsors/banners/placeholder.png",
|
||||
mobileImgSrc: "/sponsors/banners/placeholder-mobile.png",
|
||||
url: "https://forms.gle/92mvG3ESYj47zzRL9",
|
||||
name: "Open WebUI",
|
||||
description:
|
||||
"The top banner spot is reserved for Emerald+ Enterprise sponsors",
|
||||
imgSrc: '/sponsors/banners/openwebui-banner.png',
|
||||
mobileImgSrc: '/sponsors/banners/openwebui-banner-mobile.png',
|
||||
url: 'https://careers.openwebui.com',
|
||||
name: 'Open WebUI Inc.',
|
||||
description: '**We are hiring!** Shape the way humanity engages with _intelligence_.'
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -8,69 +8,20 @@ export const TopBanners = ({
|
||||
mobile = true,
|
||||
}) => {
|
||||
const items = [
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/n8n-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/n8n-banner-mobile.png",
|
||||
// url: "https://n8n.io/",
|
||||
// name: "n8n",
|
||||
// description: "Does your interface have a backend yet? Try n8n",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/n8n-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/n8n-banner-mobile.png",
|
||||
// url: "https://n8n.io/",
|
||||
// name: "n8n",
|
||||
// description: "Does your interface have a backend yet? Try n8n",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/warp-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/warp-banner-mobile.png",
|
||||
// url: "https://warp.dev/open-webui",
|
||||
// name: "Warp",
|
||||
// description: "The intelligent terminal for developers",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/warp-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/warp-banner-mobile.png",
|
||||
// url: "https://warp.dev/open-webui",
|
||||
// name: "Warp",
|
||||
// description: "The intelligent terminal for developers",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/tailscale-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/tailscale-banner-mobile.png",
|
||||
// url: "https://tailscale.com/blog/self-host-a-local-ai-stack/?utm_source=OpenWebUI&utm_medium=paid-ad-placement&utm_campaign=OpenWebUI-Docs",
|
||||
// name: "Tailscale",
|
||||
// description: "Connect self-hosted AI to any device with Tailscale",
|
||||
// },
|
||||
|
||||
// {
|
||||
// imgSrc: "/sponsors/banners/tailscale-banner.png",
|
||||
// mobileImgSrc: "/sponsors/banners/tailscale-banner-mobile.png",
|
||||
// url: "https://tailscale.com/blog/self-host-a-local-ai-stack/?utm_source=OpenWebUI&utm_medium=paid-ad-placement&utm_campaign=OpenWebUI-Docs",
|
||||
// name: "Tailscale",
|
||||
// description: "Connect self-hosted AI to any device with Tailscale",
|
||||
// },
|
||||
|
||||
{
|
||||
imgSrc: "/sponsors/banners/placeholder.png",
|
||||
mobileImgSrc: "/sponsors/banners/placeholder-mobile.png",
|
||||
url: "https://forms.gle/92mvG3ESYj47zzRL9",
|
||||
name: "Open WebUI",
|
||||
imgSrc: '/sponsors/banners/openwebui-banner.png',
|
||||
mobileImgSrc: '/sponsors/banners/openwebui-banner-mobile.png',
|
||||
url: 'https://docs.openwebui.com/enterprise',
|
||||
name: 'Open WebUI Inc.',
|
||||
description:
|
||||
"The top banner spot is reserved for Emerald+ Enterprise sponsors",
|
||||
'Upgrade to a licensed plan for enhanced capabilities, including custom theming and branding, and dedicated support.'
|
||||
},
|
||||
{
|
||||
imgSrc: "/sponsors/banners/placeholder.png",
|
||||
mobileImgSrc: "/sponsors/banners/placeholder-mobile.png",
|
||||
url: "https://forms.gle/92mvG3ESYj47zzRL9",
|
||||
name: "Open WebUI",
|
||||
description:
|
||||
"The top banner spot is reserved for Emerald+ Enterprise sponsors",
|
||||
imgSrc: '/sponsors/banners/openwebui-banner.png',
|
||||
mobileImgSrc: '/sponsors/banners/openwebui-banner-mobile.png',
|
||||
url: 'https://careers.openwebui.com',
|
||||
name: 'Open WebUI Inc.',
|
||||
description: '**We are hiring!** Shape the way humanity engages with _intelligence_.'
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user