mirror of
https://github.com/open-webui/docs.git
synced 2026-01-04 02:36:55 +07:00
fix CI
This commit is contained in:
@@ -4,19 +4,19 @@ import { useEffect, useState } from "react";
|
||||
export const SidebarBanners = () => {
|
||||
const items = [
|
||||
{
|
||||
imgSrc: '/sponsors/banners/openwebui-banner.png',
|
||||
mobileImgSrc: '/sponsors/banners/openwebui-banner-mobile.png',
|
||||
url: 'https://docs.openwebui.com/enterprise',
|
||||
name: 'Open WebUI Inc.',
|
||||
imgSrc: "/sponsors/banners/openwebui-banner.png",
|
||||
mobileImgSrc: "/sponsors/banners/openwebui-banner-mobile.png",
|
||||
url: "https://docs.openwebui.com/enterprise",
|
||||
name: "Open WebUI Inc.",
|
||||
description:
|
||||
'Upgrade to a licensed plan for enhanced capabilities, including custom theming and branding, and dedicated support.'
|
||||
"Upgrade to a licensed plan for enhanced capabilities, including custom theming and branding, and dedicated support."
|
||||
},
|
||||
{
|
||||
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_.'
|
||||
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_."
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {marked} from 'marked';
|
||||
import { marked } from "marked";
|
||||
|
||||
export const SidebarBanner = ({ item }) => {
|
||||
return (
|
||||
@@ -18,7 +18,7 @@ export const SidebarBanner = ({ item }) => {
|
||||
</a>
|
||||
|
||||
<div className="mt-1 line-clamp-2 text-right text-xs font-medium text-gray-600 dark:text-gray-300">
|
||||
<div dangerouslySetInnerHTML={{__html: marked(item.description)}} />
|
||||
<div dangerouslySetInnerHTML={{ __html: marked(item.description) }} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {marked} from 'marked';
|
||||
import { marked } from "marked";
|
||||
|
||||
export const TopBanner = ({
|
||||
item,
|
||||
@@ -51,7 +51,7 @@ export const TopBanner = ({
|
||||
|
||||
{description && (
|
||||
<div className="mt-1 line-clamp-1 text-right text-xs font-semibold text-gray-600 dark:text-gray-300">
|
||||
<div dangerouslySetInnerHTML={{__html: marked(item.description)}} />
|
||||
<div dangerouslySetInnerHTML={{ __html: marked(item.description) }} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -9,19 +9,19 @@ export const TopBanners = ({
|
||||
}) => {
|
||||
const items = [
|
||||
{
|
||||
imgSrc: '/sponsors/banners/openwebui-banner.png',
|
||||
mobileImgSrc: '/sponsors/banners/openwebui-banner-mobile.png',
|
||||
url: 'https://docs.openwebui.com/enterprise',
|
||||
name: 'Open WebUI Inc.',
|
||||
imgSrc: "/sponsors/banners/openwebui-banner.png",
|
||||
mobileImgSrc: "/sponsors/banners/openwebui-banner-mobile.png",
|
||||
url: "https://docs.openwebui.com/enterprise",
|
||||
name: "Open WebUI Inc.",
|
||||
description:
|
||||
'Upgrade to a licensed plan for enhanced capabilities, including custom theming and branding, and dedicated support.'
|
||||
"Upgrade to a licensed plan for enhanced capabilities, including custom theming and branding, and dedicated support."
|
||||
},
|
||||
{
|
||||
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_.'
|
||||
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_."
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function ContentWrapper(props: Props): JSX.Element {
|
||||
</div>
|
||||
|
||||
<div className="mt-3 min-[996px]:hidden">
|
||||
<TopBanners bannerClassName={"h-10"} label={false} mobile={false} />
|
||||
<TopBanners bannerClassName="h-10" label={false} mobile={false} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user