feat: add copy buttons to example server URLs on splash page
Each MCP App example server now has a copy button that copies the full URL (including domain) to clipboard for easy pasting into Claude. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5ebe44a237
commit
c8e22b8b00
1 changed files with 75 additions and 7 deletions
|
|
@ -117,6 +117,44 @@ h1 {
|
|||
gap: 1rem;
|
||||
}
|
||||
|
||||
.endpoint-with-copy {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.endpoint-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
background: #000000;
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
padding: 0.4rem 0.75rem;
|
||||
font-family: inherit;
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.copy-btn:hover {
|
||||
background: #333333;
|
||||
}
|
||||
|
||||
.copy-btn.copied {
|
||||
background: #009900;
|
||||
}
|
||||
|
||||
.copy-btn svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.method {
|
||||
font-weight: bold;
|
||||
min-width: 80px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue