diff --git a/DOCKER.md b/DOCKER.md index ed0a2698..d600c008 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -36,9 +36,9 @@ Need a hosted PostgreSQL database? We recommend [Neon](https://get.neon.com/Vqfn

Sponsored by

- - - Neon Logo fallback + + + Neon Logo fallback diff --git a/README.md b/README.md index 68fe45f7..08f8d9bc 100644 --- a/README.md +++ b/README.md @@ -122,9 +122,9 @@ The setup wizard configures branding, theme, authentication (GitHub/Google/Azure

Sponsored by

- - - Neon Logo fallback + + + Neon Logo fallback @@ -180,6 +180,14 @@ Use prompts.chat as an MCP server in your AI tools. ## 💖 Sponsors

+ + + + + + Neon + +    diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 17e73418..9623d49d 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -44,9 +44,9 @@ prompts.chat requires PostgreSQL. For a hosted PostgreSQL database, we recommend

Sponsored by

- - - Neon Logo fallback + + + Neon Logo fallback diff --git a/prompts.config.ts b/prompts.config.ts index 974650f8..7c8a9e6c 100644 --- a/prompts.config.ts +++ b/prompts.config.ts @@ -74,8 +74,19 @@ export default defineConfig({ enabled: !useCloneBranding, }, sponsors: { - enabled: false, - items: [], + enabled: !useCloneBranding, + items: [ + // Add sponsors here + { name: "Neon", className: 'py-1', logo: '/sponsors/neon.svg', darkLogo: '/sponsors/neon-dark.svg', url: "https://get.neon.com/VqfnMo4" }, + { name: "Clemta", logo: '/sponsors/clemta.webp', url: "https://clemta.com/?utm_source=prompts.chat" }, + { name: "Wiro.ai", className: 'py-1', darkLogo: '/sponsors/wiro.png', logo: '/sponsors/wiro.png', url: "https://wiro.ai/?utm_source=prompts.chat" }, + { name: "Cognition", logo: "/sponsors/cognition.svg", url: "https://wind.surf/prompts-chat" }, + { name: "CodeRabbit", className: 'py-1', logo: '/sponsors/coderabbit.svg', darkLogo: '/sponsors/coderabbit-dark.svg', url: "https://coderabbit.link/fatih" }, + { name: "Sentry", className: 'py-1', logo: '/sponsors/sentry.svg', darkLogo: '/sponsors/sentry-dark.svg', url: "https://sentry.io/?utm_source=prompts.chat" }, + + { name: "eachlabs", className: 'py-[6px]', logo: '/sponsors/eachlabs.png', darkLogo: '/sponsors/eachlabs-dark.png', url: "https://www.eachlabs.ai/?utm_source=promptschat&utm_medium=referral" }, + { name: "CommandCode", className: 'py-1', logo: '/sponsors/commandcode.svg', darkLogo: '/sponsors/commandcode-dark.svg', url: "https://commandcode.ai/?utm_source=prompts.chat" }, + ], }, }, }); diff --git a/public/sponsors/neon-dark.svg b/public/sponsors/neon-dark.svg new file mode 100644 index 00000000..1a753ce9 --- /dev/null +++ b/public/sponsors/neon-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/sponsors/neon.svg b/public/sponsors/neon.svg new file mode 100644 index 00000000..59292fd6 --- /dev/null +++ b/public/sponsors/neon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/app/docs/self-hosting/page.tsx b/src/app/docs/self-hosting/page.tsx index ab4b0a2d..c9b927e7 100644 --- a/src/app/docs/self-hosting/page.tsx +++ b/src/app/docs/self-hosting/page.tsx @@ -147,14 +147,14 @@ export default async function SelfHostingPage() { className="inline-flex" > Neon Neon { // Check if there are any variables to fill diff --git a/src/lib/plugins/widgets/index.ts b/src/lib/plugins/widgets/index.ts index 7a0e4fb8..ed25a9c3 100644 --- a/src/lib/plugins/widgets/index.ts +++ b/src/lib/plugins/widgets/index.ts @@ -1,9 +1,18 @@ import type { WidgetPlugin, WidgetPrompt, WidgetContext, InjectedWidget } from "./types"; +import { coderabbitWidget } from "./coderabbit"; +import { bookWidget } from "./book"; +import { textreamWidget } from "./textream"; +import { commandcodeWidget } from "./commandcode"; export * from "./types"; // Registry of all widget plugins -const widgetPlugins: WidgetPlugin[] = []; +const widgetPlugins: WidgetPlugin[] = [ + coderabbitWidget, + bookWidget, + textreamWidget, + commandcodeWidget, +]; /** * Get all registered widget plugins