-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Sponsor } from "@site/src/components/Sponsors/Sponsor"; | ||
|
||
export const SponsorList = () => { | ||
const sponsors = [ | ||
{ | ||
imgSrc: "/sponsors/sponsor.png", | ||
url: "https://openwebui.com", | ||
name: "Open WebUI", | ||
description: | ||
"On a mission to build the best open-source AI user interface.", | ||
}, | ||
]; | ||
|
||
return ( | ||
<div className=" flex gap-5 flex-wrap items-center justify-center"> | ||
{sponsors.map((sponsor) => ( | ||
<Sponsor sponsor={sponsor} /> | ||
))} | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
export const Sponsor = ({ sponsor }) => { | ||
return ( | ||
<> | ||
<div className="flex flex-col mb-2 "> | ||
<div className="text-[0.6rem] text-gray-500 dark:text-gray-400 font-bold underline mb-1.5"> | ||
<a href={sponsor.url} target="_blank"> | ||
{sponsor.name} | ||
</a> | ||
</div> | ||
|
||
<a a href={sponsor.url} target="_blank"> | ||
<div className="flex w-32 md:w-48 gap-2.5 items-start"> | ||
<div className=" basis-1/2"> | ||
<img | ||
className="rounded-xl " | ||
loading="lazy" | ||
alt={sponsor.name} | ||
src={sponsor.imgSrc} | ||
/> | ||
</div> | ||
|
||
<div className=" basis-1/2 flex"> | ||
<div className=" text-[0.6rem] text-gray-500 dark:text-gray-400 font-bold line-clamp-4 md:line-clamp-5 no-underline"> | ||
{sponsor.description} | ||
</div> | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
</> | ||
); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.