From 7722234761c93cabfe2c85ee90313471d929a596 Mon Sep 17 00:00:00 2001 From: pashpashpash Date: Mon, 17 Feb 2025 16:21:22 -0800 Subject: [PATCH] submit card --- .../mcp/marketplace/McpSubmitCard.tsx | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 webview-ui/src/components/mcp/marketplace/McpSubmitCard.tsx diff --git a/webview-ui/src/components/mcp/marketplace/McpSubmitCard.tsx b/webview-ui/src/components/mcp/marketplace/McpSubmitCard.tsx new file mode 100644 index 0000000000..3373a96783 --- /dev/null +++ b/webview-ui/src/components/mcp/marketplace/McpSubmitCard.tsx @@ -0,0 +1,79 @@ +import { VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import styled from "styled-components" + +const McpSubmitCard = () => { + return ( +
+ {/* Logo */} + Cline bot logo + + {/* Content */} +
+

+ Is something missing? +

+

+ Submit your own MCP servers to the marketplace by{" "} + submitting an issue on the official MCP Marketplace + repo on GitHub. +

+
+
+ ) +} + +const StyledGitHubButton = styled.div` + font-size: 13px; + font-weight: 500; + padding: 8px; + border-radius: 2px; + border: 1px solid var(--vscode-button-border, transparent); + cursor: pointer; + background: var(--vscode-button-background); + color: var(--vscode-button-foreground); + display: flex; + align-items: center; + justify-content: center; + width: 100%; + + &:hover { + background: var(--vscode-button-hoverBackground); + } + + &:active { + background: var(--vscode-button-background); + opacity: 0.7; + } +` + +export default McpSubmitCard