Skip to content

Commit a4a664b

Browse files
authored
Merge pull request #110 from CheckPointSW/sync-from-internal-20250928-083928
Sync from internal repo: Pages update
2 parents d8ee33a + d442c12 commit a4a664b

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

docs/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@
111111
<li><a href="https://github.com/CheckPointSW/mcp-servers" target="_blank" class="nav-link external-link">
112112
<i class="fab fa-github"></i> GitHub
113113
</a></li>
114+
<li><a href="https://pages.checkpoint.com/mcp-preview-program.html" target="_blank" class="nav-link external-link">
115+
<i class="fas fa-users"></i> Preview Program
116+
</a></li>
114117
</ul>
115118
<button class="mobile-menu-toggle" aria-label="Toggle mobile menu">
116119
<span></span>
@@ -132,7 +135,7 @@ <h1 class="hero-title">
132135
</p>
133136
<div class="hero-stats">
134137
<div class="stat">
135-
<span class="stat-number">10</span>
138+
<span class="stat-number" id="server-count">10</span>
136139
<span class="stat-label">MCP Servers</span>
137140
</div>
138141
<div class="stat">
@@ -352,6 +355,7 @@ <h4>Resources</h4>
352355
<h4>Community</h4>
353356
<ul class="footer-links">
354357
<li><a href="https://github.com/CheckPointSW/mcp-servers/issues" target="_blank">Issues</a></li>
358+
<li><a href="https://pages.checkpoint.com/mcp-preview-program.html" target="_blank">Preview Program</a></li>
355359
</ul>
356360
</div>
357361

@@ -453,4 +457,4 @@ <h4>Configuration Preview</h4>
453457
</div>
454458
</div>
455459
</body>
456-
</html>
460+
</html>

docs/scripts/main.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,15 @@ document.addEventListener('DOMContentLoaded', async function() {
351351
await loadAndRenderMCPServers();
352352
});
353353

354+
// Update the server count in the hero stats section
355+
function updateServerCount(count) {
356+
const serverCountElement = document.getElementById('server-count');
357+
if (serverCountElement) {
358+
serverCountElement.textContent = count;
359+
console.log(`Updated server count to: ${count}`);
360+
}
361+
}
362+
354363
// Load and render MCP servers
355364
async function loadAndRenderMCPServers() {
356365
try {
@@ -360,6 +369,9 @@ async function loadAndRenderMCPServers() {
360369
// Load servers from README
361370
await loadMCPServersFromReadme();
362371

372+
// Update the server count in the hero section
373+
updateServerCount(mcpServers.length);
374+
363375
// Render the servers
364376
renderMCPServers();
365377

@@ -949,4 +961,5 @@ function addDynamicStyles() {
949961
// Initialize when DOM is ready
950962
document.addEventListener('DOMContentLoaded', function() {
951963
addDynamicStyles();
952-
});
964+
});
965+

docs/styles/main.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,20 @@ body {
298298
border-color: rgba(255, 255, 255, 0.6);
299299
}
300300

301+
.btn-accent {
302+
background: var(--accent-color);
303+
color: white;
304+
border: 2px solid var(--accent-color);
305+
font-weight: 700;
306+
}
307+
308+
.btn-accent:hover {
309+
background: var(--orange);
310+
border-color: var(--orange);
311+
transform: translateY(-2px);
312+
box-shadow: var(--shadow-lg);
313+
}
314+
301315
/* Hero Visual */
302316
.hero-visual {
303317
display: flex;

0 commit comments

Comments
 (0)