feat: small improvements
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import { Eye, Activity, ShieldQuestion, Zap } from 'lucide-react'
|
||||
import { usePlatform } from './platform-toggle'
|
||||
|
||||
export function Observability() {
|
||||
const [platform] = usePlatform()
|
||||
|
||||
return (
|
||||
<section className="py-24 px-6 border-t border-border/30">
|
||||
<div className="mx-auto max-w-5xl">
|
||||
@@ -26,20 +21,18 @@ export function Observability() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 items-stretch">
|
||||
{/* Monitor mode */}
|
||||
<div className="space-y-4">
|
||||
<div className="flex flex-col gap-4">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="flex items-center justify-center w-8 h-8 rounded-md bg-primary/10 text-primary">
|
||||
<Activity className="h-4 w-4" />
|
||||
</div>
|
||||
<h3 className="font-sans font-semibold text-sm">
|
||||
{platform === 'linux' ? 'eBPF violation tracing' : 'Log stream monitoring'}
|
||||
</h3>
|
||||
<h3 className="font-sans font-semibold text-sm">Real-time violation monitor</h3>
|
||||
</div>
|
||||
<div className="code-block p-4">
|
||||
<div className="code-block p-4 flex-1">
|
||||
<div className="text-xs text-muted-foreground mb-3 font-sans uppercase tracking-wider">
|
||||
{platform === 'linux' ? 'Real-time syscall tracing' : 'Session-tagged violation stream'}
|
||||
Live violation stream
|
||||
</div>
|
||||
<div className="space-y-1.5 font-mono text-xs">
|
||||
<div>
|
||||
@@ -76,14 +69,14 @@ export function Observability() {
|
||||
</div>
|
||||
|
||||
{/* GreyProxy screenshot */}
|
||||
<div className="space-y-4">
|
||||
<div className="flex flex-col gap-4">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="flex items-center justify-center w-8 h-8 rounded-md bg-primary/10 text-primary">
|
||||
<Eye className="h-4 w-4" />
|
||||
</div>
|
||||
<h3 className="font-sans font-semibold text-sm">GreyProxy dashboard</h3>
|
||||
</div>
|
||||
<div className="rounded-lg border border-border/40 overflow-hidden">
|
||||
<div className="rounded-lg border border-border/40 overflow-hidden flex-1 flex items-center bg-card/30">
|
||||
<img
|
||||
src="/greyproxy.png"
|
||||
alt="GreyProxy dashboard showing pending network requests with Allow and Deny controls"
|
||||
|
||||
Reference in New Issue
Block a user