Skip to content

Agent Mesh

Fix landing page

Antonio Ojea2d660ffff8cb
diff --git a/site/assets/scss/_styles_project.scss b/site/assets/scss/_styles_project.scss
index 9505eee3..bea189b0 100644
--- a/site/assets/scss/_styles_project.scss
+++ b/site/assets/scss/_styles_project.scss
@@ -41,7 +41,7 @@
left: 0;
right: 0;
bottom: 0;
- background-image:
+ background-image:
linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
background-size: 60px 60px;
@@ -131,7 +131,7 @@
display: block;
position: relative;
z-index: 5;
- filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
+ filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}
// Behind logo glow
@@ -142,7 +142,7 @@
transform: translate(-50%, -50%);
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%);
+ 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;
border-radius: 50%;
@@ -161,7 +161,7 @@
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
- text-shadow: 0 4px 12px rgba(0,0,0,0.3);
+ text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
line-height: 1.1;
margin-left: 0.25em; // Offset to center letter-spacing
@@ -270,7 +270,7 @@
border: 1px solid rgba(0, 240, 255, 0.15);
border-radius: 10px;
width: 100%;
- max-width: 500px;
+ max-width: 650px;
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;
@@ -295,9 +295,17 @@
border-radius: 50%;
display: inline-block;
- &.btn-red { background-color: #ef4444; }
- &.btn-yellow { background-color: #f59e0b; }
- &.btn-green { background-color: #10b981; }
+ &.btn-red {
+ background-color: #ef4444;
+ }
+
+ &.btn-yellow {
+ background-color: #f59e0b;
+ }
+
+ &.btn-green {
+ background-color: #10b981;
+ }
}
}
@@ -344,265 +352,303 @@
// Animation definitions
@keyframes floatHero {
- 0% { transform: translateY(0px); }
- 100% { transform: translateY(-12px); }
+ 0% {
+ transform: translateY(0px);
+ }
+
+ 100% {
+ transform: translateY(-12px);
+ }
}
@keyframes pulseLogoGlow {
- 0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.95); }
- 100% { opacity: 1.2; transform: translate(-50%, -50%) scale(1.05); }
+ 0% {
+ opacity: 0.8;
+ transform: translate(-50%, -50%) scale(0.95);
+ }
+
+ 100% {
+ opacity: 1.2;
+ transform: translate(-50%, -50%) scale(1.05);
+ }
}
@keyframes pulseGlow {
- 0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
- 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1.1; }
+ 0% {
+ transform: translate(-50%, -50%) scale(0.9);
+ opacity: 0.7;
+ }
+
+ 100% {
+ transform: translate(-50%, -50%) scale(1.1);
+ opacity: 1.1;
+ }
}
@keyframes floatGlow {
- 0% { transform: translateY(0px) translateX(0px); }
- 50% { transform: translateY(-20px) translateX(15px); }
- 100% { transform: translateY(0px) translateX(0px); }
+ 0% {
+ transform: translateY(0px) translateX(0px);
+ }
+
+ 50% {
+ transform: translateY(-20px) translateX(15px);
+ }
+
+ 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);
+ 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;
+ }
- .td-sidebar-link {
- color: #94a3b8 !important;
- transition: all 0.2s ease;
+ // Sidebar link overrides
+ .td-sidebar {
+ border-right: 1px solid rgba(255, 255, 255, 0.05);
- &:hover {
- color: $primary-light !important;
- text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
- }
+ .td-sidebar-link {
+ color: #94a3b8 !important;
+ transition: all 0.2s ease;
- &.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);
+ &:hover {
+ color: $primary-light !important;
+ text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}
- }
- }
-
- // 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;
- }
+ &.active,
+ &.td-sidebar-nav-active-item {
+ color: $primary-light !important;
+ font-weight: 600;
- // 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;
+ &::before {
+ background-color: $primary-light !important;
+ box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
+ }
+ }
+ }
- &:hover {
+ // Active item text highlighting
+ .td-sidebar-nav-active-item {
color: $primary-light !important;
- text-decoration: none;
}
}
- .active-toc-item {
+ // Left sidebar menu tree active node custom styles
+ .td-sidebar-nav .active {
color: $primary-light !important;
- font-weight: 600;
}
- }
- // Navigation Breadcrumbs
- .td-breadcrumbs {
- .breadcrumb-item {
- color: #64748b;
-
+ // Table of Contents styling
+ .td-sidebar-toc {
+ border-left: 1px solid rgba(255, 255, 255, 0.05);
+
a {
- color: #94a3b8;
+ color: #94a3b8 !important;
+ font-size: 0.85rem;
+ transition: all 0.2s ease;
+
&:hover {
- color: $primary-light;
+ color: $primary-light !important;
+ text-decoration: none;
}
}
- &.active {
- color: #e2e8f0;
+ .active-toc-item {
+ color: $primary-light !important;
+ font-weight: 600;
}
}
- }
-
- // 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;
- }
+ // Navigation Breadcrumbs
+ .td-breadcrumbs {
+ .breadcrumb-item {
+ color: #64748b;
- h4, h5, h6 {
- color: #ffffff;
- font-weight: 600;
- }
+ a {
+ color: #94a3b8;
- // 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);
+ &:hover {
+ color: $primary-light;
+ }
+ }
- code {
- background-color: transparent !important;
- border: none !important;
- padding: 0 !important;
- color: #e2e8f0 !important;
+ &.active {
+ color: #e2e8f0;
+ }
}
}
- // 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;
- }
+ // Main Content Styles
+ .td-content {
+ color: #cbd5e1;
- // 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);
+ 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;
+ }
- &:hover {
- color: $yellow;
- border-bottom-color: rgba(246, 195, 68, 0.4);
- text-shadow: 0 0 8px rgba(246, 195, 68, 0.15);
+ 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;
}
- }
- // Tables
- table {
- width: 100%;
- border-collapse: collapse;
- margin: 2rem 0;
+ h3 {
+ color: #ffffff;
+ font-weight: 600;
+ margin-top: 2.5rem;
+ margin-bottom: 1rem;
+ }
- th {
- background-color: rgba(0, 240, 255, 0.03);
- border-bottom: 2px solid rgba(0, 240, 255, 0.15);
+ h4,
+ h5,
+ h6 {
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;
+ // 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;
+ }
}
- tr:hover {
- background-color: rgba(255, 255, 255, 0.01);
+ // 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;
}
- }
- // Custom alerts styling
- .alert {
- border-radius: 8px;
- padding: 1.25rem;
- margin: 2rem 0;
- color: #e2e8f0;
+ // 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);
- h4 {
- color: #ffffff;
- margin-top: 0;
+ &:hover {
+ color: $yellow;
+ border-bottom-color: rgba(246, 195, 68, 0.4);
+ text-shadow: 0 0 8px rgba(246, 195, 68, 0.15);
+ }
}
- a {
- color: #ffffff !important;
- font-weight: 600;
- text-decoration: underline !important;
+ // 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);
+ }
}
- }
- .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;
- }
+ // Custom alerts styling
+ .alert {
+ border-radius: 8px;
+ padding: 1.25rem;
+ margin: 2rem 0;
+ color: #e2e8f0;
- .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;
- }
+ 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;
+ .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;
+ // 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;
+ a {
+ color: #94a3b8;
+
+ &:hover {
+ color: $primary-light;
+ }
}
}
}
-}
-}
-
+}
\ No newline at end of file
diff --git a/site/layouts/index.html b/site/layouts/index.html
index 3d03f833..68e45099 100644
--- a/site/layouts/index.html
+++ b/site/layouts/index.html
@@ -38,20 +38,16 @@
<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 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">Discovering hub info from https://bananas.sam-mesh.dev...</div>
+ <div class="terminal-line t-output">... [OIDC Device Authorization Flow Completed] ...</div>
+ <div class="terminal-line t-output">Successfully joined the Sovereign Agent Mesh!</div>
+ <div class="terminal-line"><span class="t-prompt">$</span> <span class="t-cmd">sam-node run</span></div>
+ <div class="terminal-line t-output">Using stored identity.</div>
+ <div class="terminal-line t-output">... [Mesh and DHT Initialization] ...</div>
+ <div class="terminal-line t-output">[DHT] Bootstrapping DHT with connected hub...</div>
+ <div class="terminal-line t-success">SAM Node Online.</div>
+ <div class="terminal-line t-success">PeerID: 12D3KooWQPXLN3mZ2mfYtNJWqLr2BBMxjPcVhQxydJNkanYH78eR</div>
</div>
</div>
</div>