Skip to content

Commit

Permalink
sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed Aug 14, 2024
1 parent 065bafb commit aa61a83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
4 changes: 2 additions & 2 deletions src/components/Sponsors/TopBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const TopBanner = ({ items }) => {
{items.map((item) => (
<>
<div className="mb-2">
<div className="text-xs text-gray-500 dark:text-gray-400 font-bold underline mb-1">
<div className="text-xs text-gray-600 dark:text-gray-300 font-semibold underline mb-1">
Sponsored by {item.name}
</div>

Expand All @@ -24,7 +24,7 @@ export const TopBanner = ({ items }) => {
/>
</a>

<div className="text-right text-[0.6rem] text-gray-500 dark:text-gray-400 font-bold line-clamp-1">
<div className="text-right text-xs mt-1 text-gray-600 dark:text-gray-300 font-semibold line-clamp-1">
{item.description}
</div>
</div>
Expand Down
26 changes: 5 additions & 21 deletions src/components/TopBanners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,12 @@ export const TopBanners = () => {
"Pipelines: Versatile, UI-Agnostic OpenAI-Compatible Plugin Framework",
},
{
imgSrc: "/ads/pipelines-banner.png",
mobileImgSrc: "/ads/pipelines-banner-mobile.png",
url: "https://github.com/open-webui/pipelines",
name: "Open WebUI Pipelines",
description:
"Pipelines: Versatile, UI-Agnostic OpenAI-Compatible Plugin Framework",
},
{
imgSrc: "/ads/pipelines-banner.png",
mobileImgSrc: "/ads/pipelines-banner-mobile.png",
url: "https://github.com/open-webui/pipelines",
name: "Open WebUI Pipelines",
description:
"Pipelines: Versatile, UI-Agnostic OpenAI-Compatible Plugin Framework",
},
{
imgSrc: "/ads/placeholder.png",
mobileImgSrc: "/ads/placeholder-mobile.png",
url: "https://github.com/sponsors/tjbck",
name: "Open WebUI",
imgSrc: "/ads/sponsor-banner-1.png",
mobileImgSrc: "/ads/sponsor-banner-small-1.png",
url: "https://davewaring.com/tag/digital-brain-building/",
name: "Dave Waring",
description:
"The top banner spot is reserved for only two Enterprise Diamond sponsors on a first-come, first-served basis",
"Follow along as I build my own AI powered digital brain.",
},
];

Expand Down
Binary file added static/ads/sponsor-banner-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/ads/sponsor-banner-small-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aa61a83

Please sign in to comment.