diff --git a/app/layout.tsx b/app/layout.tsx index 06214205..9b9d2138 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -50,8 +50,13 @@ export default function RootLayout({ return (
+ + Skip to content ++
One binary. Your data stays yours.
Get Hatch → diff --git a/components/Features.tsx b/components/Features.tsx index c2d207c2..97c57155 100644 --- a/components/Features.tsx +++ b/components/Features.tsx @@ -8,6 +8,7 @@ const features = [ ), title: 'Capture', description: 'Method, path, headers, query, body. Persists across restarts because the storage is SQLite on disk, not a hosted queue.', + color: 'blue', }, { icon: ( @@ -18,6 +19,7 @@ const features = [ ), title: 'Inspect', description: 'A live SSE feed of incoming requests. Click any captured request to see the headers, the body, the timing.', + color: 'purple', }, { icon: ( @@ -28,9 +30,25 @@ const features = [ ), title: 'Mock', description: 'Return a 200, a 500, or a custom JSON payload. For testing your own retry, backoff, and error-handling logic.', + color: 'cyan', }, ] +const colorClasses = { + blue: { + icon: 'bg-blue-500/15 text-blue-400', + hover: 'hover:border-blue-500/40 hover:shadow-blue-500/10', + }, + purple: { + icon: 'bg-purple-500/15 text-purple-400', + hover: 'hover:border-purple-500/40 hover:shadow-purple-500/10', + }, + cyan: { + icon: 'bg-cyan-500/15 text-cyan-400', + hover: 'hover:border-cyan-500/40 hover:shadow-cyan-500/10', + }, +} + export default function Features() { return (+ {feature.description} +
- {feature.description} -
-+
One Go binary. SQLite under the hood.
docker compose up
@@ -19,10 +19,10 @@ export default function Hero() {
, and you have an inspection endpoint and a live feed in under 30 seconds.
+
- ${' '}
+ ${' '}
docker compose up -d{'\n'}
- ✓ hatch started on :8080{'\n'}
- ${' '}
+ ✓ hatch started on :8080{'\n'}
+ ${' '}
curl -X POST https://your-bin.hatch.surf/test -d {'{\'hello\':\'world\'}'}{'\n'}
- ✓ captured — view at https://your-bin.hatch.surf/inspect
+ ✓ captured — view at https://your-bin.hatch.surf/inspect
- {reason.description} -
-+ {reason.description} +