feat(marketing): remove crew strip + security sections
Page is now Hero → Hierarchy → FAQ → footer. Delete the CrewStrip and Security section functions + their consts (CREW, SECURITY), drop the now- unused AgentToken component and the lucide imports. Refresh the @visual baseline. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
5638006eb6
commit
02cde39603
@@ -1,51 +0,0 @@
|
|||||||
/** Abstract agent token — a slate squircle with a monogram and a small glowing
|
|
||||||
* node glyph. Replaces the mascot avatars so the roster reads as infrastructure
|
|
||||||
* (nodes in a system), not characters. One consistent visual system for every
|
|
||||||
* named agent ("Marketing Claw", "Support Claw", …). */
|
|
||||||
export function AgentToken({
|
|
||||||
name,
|
|
||||||
size = 48,
|
|
||||||
accent = "#3b82f6", // azure
|
|
||||||
}: {
|
|
||||||
name: string;
|
|
||||||
size?: number;
|
|
||||||
accent?: string;
|
|
||||||
}) {
|
|
||||||
const initials =
|
|
||||||
name
|
|
||||||
.split(/\s+/)
|
|
||||||
.filter(Boolean)
|
|
||||||
.slice(0, 2)
|
|
||||||
.map((w) => w[0]!.toUpperCase())
|
|
||||||
.join("") || "C";
|
|
||||||
const dot = Math.max(5, Math.round(size * 0.14));
|
|
||||||
return (
|
|
||||||
<span
|
|
||||||
aria-hidden
|
|
||||||
className="relative inline-flex shrink-0 items-center justify-center font-semibold text-white"
|
|
||||||
style={{
|
|
||||||
width: size,
|
|
||||||
height: size,
|
|
||||||
borderRadius: Math.round(size * 0.28),
|
|
||||||
background: "linear-gradient(160deg, #1e293b, #0f172a)",
|
|
||||||
boxShadow: "inset 0 0 0 1px rgba(148,163,184,0.18)",
|
|
||||||
fontSize: Math.round(size * 0.34),
|
|
||||||
letterSpacing: "-0.02em",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{initials}
|
|
||||||
<span
|
|
||||||
className="absolute"
|
|
||||||
style={{
|
|
||||||
right: Math.round(size * 0.12),
|
|
||||||
top: Math.round(size * 0.12),
|
|
||||||
width: dot,
|
|
||||||
height: dot,
|
|
||||||
borderRadius: 9999,
|
|
||||||
background: accent,
|
|
||||||
boxShadow: `0 0 ${dot}px ${accent}`,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user