chore(web): improve sponsor banner with hover card feature

This commit is contained in:
Aman Varshney
2025-08-09 14:29:10 +05:30
parent b87c094d22
commit ae8df3be1f
7 changed files with 170 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ import { source } from "@/lib/source";
const docsOptions: DocsLayoutProps = {
...baseOptions,
tree: source.pageTree,
links: [],
// links: [],
sidebar: {
banner: <SpecialSponsorBanner />,
},

View File

@@ -162,6 +162,8 @@
}
:root {
--color-fd-primary: #8839ef;
--color-fd-primary-foreground: #ffffff;
--background: oklch(1 0 0);
--foreground: oklch(0.44 0.04 279.33);
--card: oklch(1 0 0);
@@ -227,6 +229,8 @@
}
.dark {
--color-fd-primary: #cba6f7;
--color-fd-primary-foreground: #11111b;
--background: #11111b;
--foreground: #cdd6f4;
--card: #11111b;

View File

@@ -20,7 +20,7 @@ export const links: LinkItemType[] = [
{
text: "Docs",
url: "/docs",
active: "nested-url" as const,
active: "nested-url",
},
{
text: "Builder",