Skip to content

Agent Mesh

fix site

Antonio Ojea0c770692f4ce
diff --git a/site/assets/scss/_styles_project.scss b/site/assets/scss/_styles_project.scss
index 5a5f0998..9505eee3 100644
--- a/site/assets/scss/_styles_project.scss
+++ b/site/assets/scss/_styles_project.scss
@@ -1,6 +1,23 @@
-// Navbar override for documentation pages
-.td-navbar {
- border-bottom: 2px solid $primary-light;
+// Navbar override for documentation pages when dark mode is enabled
+[data-bs-theme="dark"] {
+ .td-navbar {
+ background-color: #040911 !important;
+ border-bottom: 2px solid $primary-light !important;
+
+ .nav-link {
+ color: #94a3b8 !important;
+ transition: all 0.2s ease;
+
+ &:hover {
+ color: $primary-light !important;
+ }
+
+ &.active {
+ color: $primary-light !important;
+ font-weight: 600;
+ }
+ }
+ }
}
// --- Custom Landing Page ---
@@ -60,27 +77,56 @@
animation: floatGlow 12s ease-in-out infinite alternate;
}
- // Main container
- .landing-content {
+ // Main container (Split Layout)
+ .landing-container {
position: relative;
z-index: 10;
- text-align: center;
- padding: 2rem;
- max-width: 600px;
display: flex;
- flex-direction: column;
+ flex-direction: row;
align-items: center;
+ justify-content: center;
+ gap: 5rem;
+ padding: 3rem;
+ max-width: 1200px;
+ width: 100%;
+
+ @media (max-width: 991px) {
+ flex-direction: column;
+ gap: 3rem;
+ padding: 2rem;
+ text-align: center;
+ }
+ }
+
+ // Hero Brand Column
+ .hero-brand-col {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+
+ @media (max-width: 991px) {
+ align-items: center;
+ }
+ }
+
+ // Hero Terminal Column
+ .hero-terminal-col {
+ flex: 1.1;
+ display: flex;
+ justify-content: center;
+ width: 100%;
+ animation: floatHero 8s ease-in-out infinite alternate;
}
// Hero Logo styling
.logo-container {
position: relative;
- margin-bottom: 2.5rem;
+ margin-bottom: 2rem;
display: inline-block;
- animation: floatHero 6s ease-in-out infinite;
.sam-hero-logo {
- width: 260px;
+ width: 200px;
height: auto;
display: block;
position: relative;
@@ -94,8 +140,8 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
- width: 220px;
- height: 220px;
+ width: 180px;
+ height: 180px;
background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(246, 195, 68, 0.1) 50%, rgba(0,0,0,0) 70%);
filter: blur(15px);
z-index: 1;
@@ -118,6 +164,10 @@
text-shadow: 0 4px 12px rgba(0,0,0,0.3);
line-height: 1.1;
margin-left: 0.25em; // Offset to center letter-spacing
+
+ @media (max-width: 576px) {
+ font-size: 2.8rem;
+ }
}
.landing-subtitle {
@@ -136,17 +186,26 @@
font-size: 1.1rem;
line-height: 1.7;
color: #94a3b8; // Slate-400
- margin-bottom: 3rem;
+ margin-bottom: 2.5rem;
max-width: 500px;
+ text-align: left;
+
+ @media (max-width: 991px) {
+ text-align: center;
+ }
}
// Action Buttons
.landing-actions {
display: flex;
gap: 1.5rem;
- justify-content: center;
+ justify-content: flex-start;
width: 100%;
+ @media (max-width: 991px) {
+ justify-content: center;
+ }
+
@media (max-width: 480px) {
flex-direction: column;
gap: 1rem;
@@ -203,11 +262,90 @@
}
}
+ // Terminal Window Styling
+ .terminal-window {
+ background: rgba(7, 19, 30, 0.6);
+ backdrop-filter: blur(12px);
+ -webkit-backdrop-filter: blur(12px);
+ border: 1px solid rgba(0, 240, 255, 0.15);
+ border-radius: 10px;
+ width: 100%;
+ max-width: 500px;
+ box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.05);
+ font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
+ overflow: hidden;
+ }
+
+ .terminal-header {
+ background: rgba(4, 9, 17, 0.85);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
+ padding: 0.75rem 1.25rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .terminal-buttons {
+ display: flex;
+ gap: 0.5rem;
+
+ .btn-circle {
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ display: inline-block;
+
+ &.btn-red { background-color: #ef4444; }
+ &.btn-yellow { background-color: #f59e0b; }
+ &.btn-green { background-color: #10b981; }
+ }
+ }
+
+ .terminal-title {
+ color: #64748b;
+ font-size: 0.75rem;
+ letter-spacing: 0.05em;
+ }
+
+ .terminal-body {
+ padding: 1.25rem;
+ font-size: 0.85rem;
+ line-height: 1.6;
+ text-align: left;
+ }
+
+ .terminal-line {
+ margin-bottom: 0.5rem;
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ .t-prompt {
+ color: $primary-light; // Cyber cyan
+ font-weight: bold;
+ user-select: none;
+ }
+
+ .t-cmd {
+ color: #ffffff;
+ font-weight: 500;
+ }
+
+ .t-output {
+ color: #94a3b8; // Slate-400
+ }
+
+ .t-success {
+ color: $yellow; // Banana yellow
+ font-weight: 500;
+ }
+
// Animation definitions
@keyframes floatHero {
0% { transform: translateY(0px); }
- 50% { transform: translateY(-10px); }
- 100% { transform: translateY(0px); }
+ 100% { transform: translateY(-12px); }
}
@keyframes pulseLogoGlow {
@@ -226,3 +364,245 @@
100% { transform: translateY(0px) translateX(0px); }
}
}
+
+// --- Custom Documentation Dark Theme ---
+[data-bs-theme="dark"] {
+ body.td-page, body.td-section {
+ background-color: #050b14;
+ color: #e2e8f0;
+
+ // Set the main layout container backgrounds
+ .td-outer, .td-main, .td-sidebar, .td-sidebar-toc {
+ background-color: #050b14 !important;
+ color: #e2e8f0 !important;
+ }
+
+ // Sidebar link overrides
+ .td-sidebar {
+ border-right: 1px solid rgba(255, 255, 255, 0.05);
+
+ .td-sidebar-link {
+ color: #94a3b8 !important;
+ transition: all 0.2s ease;
+
+ &:hover {
+ color: $primary-light !important;
+ text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
+ }
+
+ &.active, &.td-sidebar-nav-active-item {
+ color: $primary-light !important;
+ font-weight: 600;
+
+ &::before {
+ background-color: $primary-light !important;
+ box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
+ }
+ }
+ }
+
+ // Active item text highlighting
+ .td-sidebar-nav-active-item {
+ color: $primary-light !important;
+ }
+ }
+
+ // Left sidebar menu tree active node custom styles
+ .td-sidebar-nav .active {
+ color: $primary-light !important;
+ }
+
+ // Table of Contents styling
+ .td-sidebar-toc {
+ border-left: 1px solid rgba(255, 255, 255, 0.05);
+
+ a {
+ color: #94a3b8 !important;
+ font-size: 0.85rem;
+ transition: all 0.2s ease;
+
+ &:hover {
+ color: $primary-light !important;
+ text-decoration: none;
+ }
+ }
+
+ .active-toc-item {
+ color: $primary-light !important;
+ font-weight: 600;
+ }
+ }
+
+ // Navigation Breadcrumbs
+ .td-breadcrumbs {
+ .breadcrumb-item {
+ color: #64748b;
+
+ a {
+ color: #94a3b8;
+ &:hover {
+ color: $primary-light;
+ }
+ }
+
+ &.active {
+ color: #e2e8f0;
+ }
+ }
+ }
+
+ // Main Content Styles
+ .td-content {
+ color: #cbd5e1;
+
+ h1 {
+ color: #ffffff;
+ font-weight: 800;
+ letter-spacing: -0.02em;
+ border-bottom: 1px solid rgba(0, 240, 255, 0.15);
+ padding-bottom: 0.75rem;
+ margin-bottom: 2rem;
+ }
+
+ h2 {
+ color: $primary-light;
+ font-weight: 700;
+ letter-spacing: -0.01em;
+ margin-top: 3rem;
+ margin-bottom: 1.25rem;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
+ padding-bottom: 0.5rem;
+ }
+
+ h3 {
+ color: #ffffff;
+ font-weight: 600;
+ margin-top: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ h4, h5, h6 {
+ color: #ffffff;
+ font-weight: 600;
+ }
+
+ // Code Blocks (Syntax Highlighting wrappers)
+ pre {
+ background-color: #0b1928 !important;
+ border: 1px solid rgba(0, 240, 255, 0.15) !important;
+ border-radius: 8px !important;
+ padding: 1.2rem !important;
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
+
+ code {
+ background-color: transparent !important;
+ border: none !important;
+ padding: 0 !important;
+ color: #e2e8f0 !important;
+ }
+ }
+
+ // Inline Code
+ code {
+ background-color: #0b1928 !important;
+ color: $yellow !important;
+ border: 1px solid rgba(255, 255, 255, 0.05) !important;
+ padding: 0.2rem 0.4rem !important;
+ border-radius: 4px !important;
+ font-size: 0.9em;
+ }
+
+ // Hyperlinks
+ a:not(.btn) {
+ color: $primary-light;
+ text-decoration: none;
+ transition: all 0.2s ease;
+ border-bottom: 1px solid rgba(0, 240, 255, 0.2);
+
+ &:hover {
+ color: $yellow;
+ border-bottom-color: rgba(246, 195, 68, 0.4);
+ text-shadow: 0 0 8px rgba(246, 195, 68, 0.15);
+ }
+ }
+
+ // Tables
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ margin: 2rem 0;
+
+ th {
+ background-color: rgba(0, 240, 255, 0.03);
+ border-bottom: 2px solid rgba(0, 240, 255, 0.15);
+ color: #ffffff;
+ font-weight: 600;
+ padding: 0.75rem 1rem;
+ text-align: left;
+ }
+
+ td {
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
+ padding: 0.75rem 1rem;
+ }
+
+ tr:hover {
+ background-color: rgba(255, 255, 255, 0.01);
+ }
+ }
+
+ // Custom alerts styling
+ .alert {
+ border-radius: 8px;
+ padding: 1.25rem;
+ margin: 2rem 0;
+ color: #e2e8f0;
+
+ h4 {
+ color: #ffffff;
+ margin-top: 0;
+ }
+
+ a {
+ color: #ffffff !important;
+ font-weight: 600;
+ text-decoration: underline !important;
+ }
+ }
+
+ .alert-primary, .alert-info, .alert-notice {
+ background-color: rgba(0, 240, 255, 0.04) !important;
+ border: 1px solid rgba(0, 240, 255, 0.1) !important;
+ border-left: 4px solid $primary-light !important;
+ }
+
+ .alert-warning {
+ background-color: rgba(246, 195, 68, 0.04) !important;
+ border: 1px solid rgba(246, 195, 68, 0.1) !important;
+ border-left: 4px solid $yellow !important;
+ }
+
+ .alert-danger {
+ background-color: rgba(239, 68, 68, 0.04) !important;
+ border: 1px solid rgba(239, 68, 68, 0.1) !important;
+ border-left: 4px solid #ef4444 !important;
+ }
+ }
+
+ // Footer styling
+ .td-footer {
+ background-color: #040911 !important;
+ border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
+ color: #64748b !important;
+ padding: 3rem 0;
+
+ a {
+ color: #94a3b8;
+ &:hover {
+ color: $primary-light;
+ }
+ }
+ }
+}
+}
+
diff --git a/site/content/docs/_index.md b/site/content/docs/_index.md
index d3928c87..f42b5266 100644
--- a/site/content/docs/_index.md
+++ b/site/content/docs/_index.md
@@ -1,5 +1,7 @@
-# SAM Documentation
-
+---
+title: "SAM Documentation"
+linkTitle: "Documentation"
+---
This repository currently provides a minimal SAM runtime with two binaries:
- `sam-hub`: OIDC bridge and identity biscuit issuer
@@ -21,9 +23,9 @@ The documentation here is intentionally small and aligned with what is implement
- [Quick Start](quickstart.md) - User Quick Start using Docker.
- [CLI Reference](cli/reference.md) - CLI command usage reference.
-- [Developer Guide](development.md) - Building from source, local testing, and Kind setups.
-- [Testing Guide](testing.md) - Detailed test layer and troubleshooting information.
-- [Testnet Validation Tutorial](testnet-validation.md) - Real-time integration and MCP verification with public testnets.
+- [Developer Guide](development/_index.md) - Building from source, local testing, and Kind setups.
+- [Testing Guide](development/testing.md) - Detailed test layer and troubleshooting information.
+- [Testnet Validation Tutorial](development/testnet-validation.md) - Real-time integration and MCP verification with public testnets.
## Notes
diff --git a/site/content/docs/cli/reference.md b/site/content/docs/cli/reference.md
index c5169e1e..06dfe445 100644
--- a/site/content/docs/cli/reference.md
+++ b/site/content/docs/cli/reference.md
@@ -1,5 +1,7 @@
-# CLI Reference
-
+---
+title: "CLI Reference"
+linkTitle: "CLI Reference"
+---
The current repository exposes two CLIs:
- `sam-node`
diff --git a/site/content/docs/development.md b/site/content/docs/development/_index.md
similarity index 97%
rename from site/content/docs/development.md
rename to site/content/docs/development/_index.md
index 1ec9f980..c41205e0 100644
--- a/site/content/docs/development.md
+++ b/site/content/docs/development/_index.md
@@ -1,5 +1,7 @@
-# Developer Guide & Repository Setup
-
+---
+title: "Developer Guide"
+linkTitle: "Developer Guide"
+---
This document is for developers who want to compile SAM from source, run a local development mesh, run the test suites, or contribute to the repository.
---
diff --git a/site/content/docs/kubernetes-deployment.md b/site/content/docs/development/kubernetes-deployment.md
similarity index 98%
rename from site/content/docs/kubernetes-deployment.md
rename to site/content/docs/development/kubernetes-deployment.md
index d8c42ed9..8faf0cfc 100644
--- a/site/content/docs/kubernetes-deployment.md
+++ b/site/content/docs/development/kubernetes-deployment.md
@@ -1,5 +1,7 @@
-# Kubernetes Deployment and Local Testing Guide
-
+---
+title: "Kubernetes Deployment and Local Testing Guide"
+linkTitle: "Kubernetes Deployment and Local Testing Guide"
+---
This guide explains how to deploy the `sam-hub` in a Kubernetes cluster and how to test it locally using `kind` and `cloud-provider-kind`.
This guide supports using either **Google OIDC** or a **Mock OIDC Provider** for authentication. The mock provider is recommended for quick local testing as it does not require creating external credentials.
diff --git a/site/content/docs/policy.md b/site/content/docs/development/policy.md
similarity index 94%
rename from site/content/docs/policy.md
rename to site/content/docs/development/policy.md
index 856ef590..d83c3e8d 100644
--- a/site/content/docs/policy.md
+++ b/site/content/docs/development/policy.md
@@ -1,5 +1,7 @@
-# SAM Policy & Authorization Reference
-
+---
+title: "SAM Policy & Authorization Reference"
+linkTitle: "SAM Policy & Authorization Reference"
+---
SAM uses a decentralized authorization model powered by [Biscuit](https://www.biscuitsec.org/).
The `sam-hub` authenticates users via OIDC and injects **Facts** into their token based on `policies.yaml`. The `sam-node` operates offline, evaluating the token against baseline rules and optional local attenuation policies.
diff --git a/site/content/docs/release-tracks.md b/site/content/docs/development/release-tracks.md
similarity index 95%
rename from site/content/docs/release-tracks.md
rename to site/content/docs/development/release-tracks.md
index 50ef5bf2..895ef6a1 100644
--- a/site/content/docs/release-tracks.md
+++ b/site/content/docs/development/release-tracks.md
@@ -1,5 +1,7 @@
-# Release Tracks, Autoupdate, and Autoscaling
-
+---
+title: "Release Tracks, Autoupdate, and Autoscaling"
+linkTitle: "Release Tracks, Autoupdate, and Autoscaling"
+---
Sovereign Agent Mesh (SAM) is deployed to public endpoints using automated environments, release tracks, and self-healing/scaling infrastructure.
---
diff --git a/site/content/docs/testing.md b/site/content/docs/development/testing.md
similarity index 96%
rename from site/content/docs/testing.md
rename to site/content/docs/development/testing.md
index 3f08f60b..c9c760f2 100644
--- a/site/content/docs/testing.md
+++ b/site/content/docs/development/testing.md
@@ -1,5 +1,7 @@
-# Testing
-
+---
+title: "Testing"
+linkTitle: "Testing"
+---
Current testing is intentionally minimal and aligned with the current binaries.
## Test Layers
diff --git a/site/content/docs/testnet-validation.md b/site/content/docs/development/testnet-validation.md
similarity index 98%
rename from site/content/docs/testnet-validation.md
rename to site/content/docs/development/testnet-validation.md
index 84290dc4..620de7a6 100644
--- a/site/content/docs/testnet-validation.md
+++ b/site/content/docs/development/testnet-validation.md
@@ -1,5 +1,7 @@
-# Testnet & Mesh Validation Tutorial
-
+---
+title: "Testnet & Mesh Validation Tutorial"
+linkTitle: "Testnet & Mesh Validation Tutorial"
+---
This tutorial guides you through validating your local environment integration with the public Sovereign Agent Mesh (SAM) testnets (`bananas.sam-mesh.dev` or `hub.sam-mesh.dev`). You will learn how to verify your node's connection, discover remote MCP services, and invoke remote tools.
---
diff --git a/site/content/docs/agent_integration.md b/site/content/docs/integrations/_index.md
similarity index 85%
rename from site/content/docs/agent_integration.md
rename to site/content/docs/integrations/_index.md
index 9cc5290c..94baf6f1 100644
--- a/site/content/docs/agent_integration.md
+++ b/site/content/docs/integrations/_index.md
@@ -1,5 +1,7 @@
-# Agent Integration Guide
-
+---
+title: "Agent Integration Guide"
+linkTitle: "Agent Integration Guide"
+---
SAM is designed to be the networking layer for autonomous AI agents. The easiest way for your agent to interact with the mesh is through the **Model Context Protocol (MCP)** exposed locally by your node.
Every `sam-node` runs a local MCP server that allows agents to:
@@ -12,10 +14,10 @@ Every `sam-node` runs a local MCP server that allows agents to:
Explore the step-by-step guides to integrate SAM with your favorite AI Agent systems:
-- [Google Gemini](integrations/gemini.md): Build an interactive client using the official `google-genai` Python SDK.
-- [Claude Code](integrations/claude-code.md): Connect your local node as a remote MCP server to Claude Code.
-- [Claude Desktop](integrations/claude-desktop.md): Use SAM to expose the P2P tool mesh to Claude Desktop.
-- [OpenClaw](integrations/openclaw.md): Integrate your node as a remote tool bridge for OpenClaw.
+- [Google Gemini](gemini.md): Build an interactive client using the official `google-genai` Python SDK.
+- [Claude Code](claude-code.md): Connect your local node as a remote MCP server to Claude Code.
+- [Claude Desktop](claude-desktop.md): Use SAM to expose the P2P tool mesh to Claude Desktop.
+- [OpenClaw](openclaw.md): Integrate your node as a remote tool bridge for OpenClaw.
## Connecting via MCP
diff --git a/site/content/docs/integrations/claude-code.md b/site/content/docs/integrations/claude-code.md
index 232bdd13..c22fea1e 100644
--- a/site/content/docs/integrations/claude-code.md
+++ b/site/content/docs/integrations/claude-code.md
@@ -1,5 +1,7 @@
-# Integrating SAM with Claude Code
-
+---
+title: "Integrating SAM with Claude Code"
+linkTitle: "Integrating SAM with Claude Code"
+---
You can connect your `sam-node` to [Claude Code](https://claude.com/claude-code) as a remote MCP server, giving Claude Code agents the ability to discover and invoke tools across the SAM mesh.
## Overview
diff --git a/site/content/docs/integrations/claude-desktop.md b/site/content/docs/integrations/claude-desktop.md
index 80041803..f86520d3 100644
--- a/site/content/docs/integrations/claude-desktop.md
+++ b/site/content/docs/integrations/claude-desktop.md
@@ -1,5 +1,7 @@
-# Integrating SAM with Claude Desktop
-
+---
+title: "Integrating SAM with Claude Desktop"
+linkTitle: "Integrating SAM with Claude Desktop"
+---
You can connect your `sam-node` to the [Claude Desktop](https://claude.com/download) app as an MCP server. Unlike [Claude Code](./claude-code.md), Claude Desktop has its own configuration and does **not** read Claude Code's MCP settings.
## Overview
diff --git a/site/content/docs/integrations/gemini.md b/site/content/docs/integrations/gemini.md
index 105af252..bc3a764c 100644
--- a/site/content/docs/integrations/gemini.md
+++ b/site/content/docs/integrations/gemini.md
@@ -1,5 +1,7 @@
-# Running a Gemini AI Agent on the Mesh
-
+---
+title: "Running a Gemini AI Agent on the Mesh"
+linkTitle: "Running a Gemini AI Agent on the Mesh"
+---
This tutorial demonstrates how to connect a local AI Agent powered by Google Gemini (using the official `google-genai` SDK) to your local SAM node.
By exposing the SAM Model Context Protocol (MCP) server to Gemini, the agent can dynamically discover tools hosted by other peers in the mesh, describe them, and execute them to solve tasks.
diff --git a/site/content/docs/integrations/openclaw.md b/site/content/docs/integrations/openclaw.md
index 526ba637..8a752ba0 100644
--- a/site/content/docs/integrations/openclaw.md
+++ b/site/content/docs/integrations/openclaw.md
@@ -1,5 +1,7 @@
-# Integrating SAM with OpenClaw
-
+---
+title: "Integrating SAM with OpenClaw"
+linkTitle: "Integrating SAM with OpenClaw"
+---
You can seamlessly integrate your `sam-node` as a remote MCP server in [OpenClaw](https://openclaw.ai), allowing your agents to dynamically discover and invoke tools across the mesh.
## Overview
diff --git a/site/content/docs/quickstart.md b/site/content/docs/quickstart.md
index 0705af76..32ac6b7e 100644
--- a/site/content/docs/quickstart.md
+++ b/site/content/docs/quickstart.md
@@ -1,3 +1,9 @@
+---
+title: "Quick Start"
+linkTitle: "Quick Start"
+weight: 10
+---
+
# Quick Start
This guide gets you up and running with a SAM node connected to the public `bananas.sam-mesh.dev` mesh. You can run SAM either directly via a binary or using Docker.
diff --git a/site/hugo.toml b/site/hugo.toml
index 3faafc10..708378d8 100644
--- a/site/hugo.toml
+++ b/site/hugo.toml
@@ -30,12 +30,47 @@ sectionPagesMenu = "main"
[[module.imports]]
path = "github.com/google/docsy/dependencies"
+[menu]
+ [[menu.main]]
+ identifier = "docs"
+ name = "Overview"
+ title = "Overview"
+ url = "/docs/"
+ weight = 1
+
+ [[menu.main]]
+ identifier = "quickstart"
+ name = "Quick Start"
+ title = "Quick Start"
+ url = "/docs/quickstart/"
+ weight = 2
+
+ [[menu.main]]
+ identifier = "integrations"
+ name = "Agent Integrations"
+ title = "Agent Integrations"
+ url = "/docs/integrations/"
+ weight = 3
+
+ [[menu.main]]
+ identifier = "development"
+ name = "Developer Guides"
+ title = "Developer Guides"
+ url = "/docs/development/"
+ weight = 4
+
[params]
privacy_policy = "https://policies.google.com/privacy"
github_repo = "https://github.com/google/sam"
github_subdir = "docs"
github_branch = "main"
+ [params.ui]
+ showLightDarkModeMenu = true
+ sidebar_menu_compact = true
+ sidebar_menu_foldable = true
+ ul_show = 1
+
# Logo & branding colors will be customized via project styles
[services]
diff --git a/site/layouts/index.html b/site/layouts/index.html
index 1c211cb1..3d03f833 100644
--- a/site/layouts/index.html
+++ b/site/layouts/index.html
@@ -1,31 +1,63 @@
<!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js">
- <head>
- {{ partial "head.html" . }}
- </head>
- <body class="sam-landing-page">
- <div class="mesh-grid"></div>
- <div class="mesh-glow-cyan"></div>
- <div class="mesh-glow-yellow"></div>
-
- <div class="landing-content">
- <div class="logo-container">
- <div class="logo-backdrop-glow"></div>
- <img src="{{ "sam_logo.png" | relURL }}" alt="SAM Logo" class="sam-hero-logo">
- </div>
-
+
+<head>
+ {{ partial "head.html" . }}
+</head>
+
+<body class="sam-landing-page">
+ <div class="mesh-grid"></div>
+ <div class="mesh-glow-cyan"></div>
+ <div class="mesh-glow-yellow"></div>
+
+ <div class="landing-container">
+ <!-- Left Column: Hero Branding -->
+ <div class="hero-brand-col">
+
<h1 class="landing-title">SAM</h1>
<p class="landing-subtitle">Sovereign Agent Mesh</p>
<p class="landing-description">
A zero-config, zero-trust decentralized P2P network built specifically for autonomous AI agents.
</p>
-
+
<div class="landing-actions">
<a href="{{ "/docs/" | relURL }}" class="btn-sleek btn-cyan">Enter Mesh Docs</a>
<a href="{{ .Site.Params.github_repo }}" target="_blank" rel="noopener" class="btn-sleek btn-dark">GitHub</a>
</div>
</div>
- {{ partial "scripts.html" . }}
- </body>
-</html>
+ <!-- Right Column: Interactive Terminal Mockup -->
+ <div class="hero-terminal-col">
+ <div class="terminal-window">
+ <div class="terminal-header">
+ <div class="terminal-buttons">
+ <span class="btn-circle btn-red"></span>
+ <span class="btn-circle btn-yellow"></span>
+ <span class="btn-circle btn-green"></span>
+ </div>
+ <div class="terminal-title">bash - sam-node join</div>
+ </div>
+ <div class="terminal-body">
+ <div class="terminal-line"><span class="t-prompt">$</span> <span class="t-cmd">curl -sL
+ https://sam-mesh.dev/install.sh | bash</span></div>
+ <div class="terminal-line t-output">Installing SAM binaries... Done.</div>
+ <div class="terminal-line"><span class="t-prompt">$</span> <span class="t-cmd">sam-node join --hub
+ bananas.sam-mesh.dev</span></div>
+ <div class="terminal-line t-output">[Auth] Generating peer identity...</div>
+ <div class="terminal-line t-output">[DHT] Bootstrapping DHT with bananas.sam-mesh.dev...</div>
+ <div class="terminal-line"><span class="t-prompt">$</span> <span class="t-cmd">sam-node run --hub
+ bananas.sam-mesh.dev</span></div>
+ <div class="terminal-line t-output">[Auth] Generating peer identity...</div>
+ <div class="terminal-line t-output">[DHT] Bootstrapping DHT with bananas.sam-mesh.dev...</div>
+ <div class="terminal-line t-output">[Network] Connected to mesh. Protocol: /libp2p-http</div>
+ <div class="terminal-line t-success">SAM Node Online. PeerID: 12D3KooWAe79...</div>
+ <div class="terminal-line t-output">Local MCP server running at 127.0.0.1:5002</div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ {{ partial "scripts.html" . }}
+</body>
+
+</html>
\ No newline at end of file
diff --git a/site/layouts/partials/hooks/head-end.html b/site/layouts/partials/hooks/head-end.html
index c1b043ee..7032d9fe 100644
--- a/site/layouts/partials/hooks/head-end.html
+++ b/site/layouts/partials/hooks/head-end.html
@@ -1,3 +1,10 @@
+<!-- Default Theme Initialization: Dark mode first-time default -->
+<script>
+ if (!localStorage.getItem('td-color-theme')) {
+ localStorage.setItem('td-color-theme', 'dark');
+ }
+</script>
+
<!-- SAM Custom Favicons -->
<link rel="icon" type="image/png" href="/favicon.png?v=2">
<link rel="shortcut icon" href="/favicon.ico?v=2">
diff --git a/site/static/favicon.ico b/site/static/favicon.ico
index 3d2a0db6..96dcac4d 100644
Binary files a/site/static/favicon.ico and b/site/static/favicon.ico differ
diff --git a/site/static/favicon.png b/site/static/favicon.png
index 55b4f617..ea3494fd 100644
Binary files a/site/static/favicon.png and b/site/static/favicon.png differ
diff --git a/site/static/favicons/android-144x144.png b/site/static/favicons/android-144x144.png
index 55b4f617..9c451869 100644
Binary files a/site/static/favicons/android-144x144.png and b/site/static/favicons/android-144x144.png differ
diff --git a/site/static/favicons/android-192x192.png b/site/static/favicons/android-192x192.png
index 55b4f617..d470eda5 100644
Binary files a/site/static/favicons/android-192x192.png and b/site/static/favicons/android-192x192.png differ
diff --git a/site/static/favicons/android-36x36.png b/site/static/favicons/android-36x36.png
index 55b4f617..f41ac917 100644
Binary files a/site/static/favicons/android-36x36.png and b/site/static/favicons/android-36x36.png differ
diff --git a/site/static/favicons/android-48x48.png b/site/static/favicons/android-48x48.png
index 55b4f617..1ab92f14 100644
Binary files a/site/static/favicons/android-48x48.png and b/site/static/favicons/android-48x48.png differ
diff --git a/site/static/favicons/android-72x72.png b/site/static/favicons/android-72x72.png
index 55b4f617..05b94825 100644
Binary files a/site/static/favicons/android-72x72.png and b/site/static/favicons/android-72x72.png differ
diff --git a/site/static/favicons/android-96x96.png b/site/static/favicons/android-96x96.png
index 55b4f617..edbb62d5 100644
Binary files a/site/static/favicons/android-96x96.png and b/site/static/favicons/android-96x96.png differ
diff --git a/site/static/favicons/apple-touch-icon-180x180.png b/site/static/favicons/apple-touch-icon-180x180.png
index 55b4f617..f2b62cf1 100644
Binary files a/site/static/favicons/apple-touch-icon-180x180.png and b/site/static/favicons/apple-touch-icon-180x180.png differ
diff --git a/site/static/favicons/apple-touch-icon.png b/site/static/favicons/apple-touch-icon.png
index 55b4f617..f2b62cf1 100644
Binary files a/site/static/favicons/apple-touch-icon.png and b/site/static/favicons/apple-touch-icon.png differ
diff --git a/site/static/favicons/favicon-1024.png b/site/static/favicons/favicon-1024.png
index 55b4f617..ea3494fd 100644
Binary files a/site/static/favicons/favicon-1024.png and b/site/static/favicons/favicon-1024.png differ
diff --git a/site/static/favicons/favicon-16x16.png b/site/static/favicons/favicon-16x16.png
index 55b4f617..991b8990 100644
Binary files a/site/static/favicons/favicon-16x16.png and b/site/static/favicons/favicon-16x16.png differ
diff --git a/site/static/favicons/favicon-256.png b/site/static/favicons/favicon-256.png
index 55b4f617..9dc112d8 100644
Binary files a/site/static/favicons/favicon-256.png and b/site/static/favicons/favicon-256.png differ
diff --git a/site/static/favicons/favicon-32x32.png b/site/static/favicons/favicon-32x32.png
index 55b4f617..52b24155 100644
Binary files a/site/static/favicons/favicon-32x32.png and b/site/static/favicons/favicon-32x32.png differ
diff --git a/site/static/favicons/favicon.ico b/site/static/favicons/favicon.ico
index 3d2a0db6..96dcac4d 100644
Binary files a/site/static/favicons/favicon.ico and b/site/static/favicons/favicon.ico differ
diff --git a/site/static/favicons/favicon.png b/site/static/favicons/favicon.png
index 55b4f617..ea3494fd 100644
Binary files a/site/static/favicons/favicon.png and b/site/static/favicons/favicon.png differ
diff --git a/site/static/favicons/pwa-192x192.png b/site/static/favicons/pwa-192x192.png
index 55b4f617..d470eda5 100644
Binary files a/site/static/favicons/pwa-192x192.png and b/site/static/favicons/pwa-192x192.png differ
diff --git a/site/static/favicons/pwa-512x512.png b/site/static/favicons/pwa-512x512.png
index 55b4f617..ea3494fd 100644
Binary files a/site/static/favicons/pwa-512x512.png and b/site/static/favicons/pwa-512x512.png differ
diff --git a/site/static/favicons/tile150x150.png b/site/static/favicons/tile150x150.png
index 55b4f617..127cf2db 100644
Binary files a/site/static/favicons/tile150x150.png and b/site/static/favicons/tile150x150.png differ
diff --git a/site/static/favicons/tile310x150.png b/site/static/favicons/tile310x150.png
index 55b4f617..22bb3c2e 100644
Binary files a/site/static/favicons/tile310x150.png and b/site/static/favicons/tile310x150.png differ
diff --git a/site/static/favicons/tile310x310.png b/site/static/favicons/tile310x310.png
index 55b4f617..42e8d761 100644
Binary files a/site/static/favicons/tile310x310.png and b/site/static/favicons/tile310x310.png differ
diff --git a/site/static/favicons/tile70x70.png b/site/static/favicons/tile70x70.png
index 55b4f617..9eeab5bf 100644
Binary files a/site/static/favicons/tile70x70.png and b/site/static/favicons/tile70x70.png differ