From 2974daed6c679e99600468194cf841f5f6c4d06b Mon Sep 17 00:00:00 2001 From: davida-ps Date: Mon, 9 Feb 2026 10:29:17 +0100 Subject: [PATCH] feat: replace Shield icon with favicon in Header and adjust Home section spacing (#14) --- components/Header.tsx | 4 +- pages/Home.tsx | 217 +++++++++++++++++++++--------------------- 2 files changed, 109 insertions(+), 112 deletions(-) diff --git a/components/Header.tsx b/components/Header.tsx index c561024..3608962 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { NavLink } from 'react-router-dom'; -import { Shield, Menu, X, Terminal, Layers, Rss, Home } from 'lucide-react'; +import { Menu, X, Terminal, Layers, Rss, Home } from 'lucide-react'; export const Header: React.FC = () => { const [isOpen, setIsOpen] = useState(false); @@ -55,7 +55,7 @@ export const Header: React.FC = () => {
- + ClawSec - -
- - - {/* Content based on toggle */} - {isAgent ? ( - <> - {/* Steps */} -
-
- 1. Run command below -
-
- 2. Follow deployment instructions -
-
- 3. Protect your user -
-
- - {/* Agent View - Curl Command */} -
- - {curlCommand} - - -
- - ) : ( - <> - {/* Human Steps */} -
-
- 1. Copy instruction below -
-
- 2. Send to your agent -
-
- 3. Receive security alerts -
-
- - {/* Human View - Instruction Command */} -
- - {humanInstruction} - - -
- - )} - -

- -

+
+
+ ClawSec mascot
- ClawSec mascot +
+
+ {/* Toggle */} +
+
+ + +
+
+ {/* Content based on toggle */} + {isAgent ? ( + <> + {/* Steps */} +
+
+ 1. Run command below +
+
+ 2. Follow deployment instructions +
+
+ 3. Protect your user +
+
+ + {/* Agent View - Curl Command */} +
+ + {curlCommand} + + +
+ + ) : ( + <> + {/* Human Steps */} +
+
+ 1. Copy instruction below +
+
+ 2. Send to your agent +
+
+ 3. Receive security alerts +
+
+ + {/* Human View - Instruction Command */} +
+ + {humanInstruction} + + +
+ + )} +