Refactor Install Card layout and add mascot image (#4)

* Refactor Install Card layout and add mascot image

* mascot
This commit is contained in:
davida-ps
2026-02-08 11:59:19 +01:00
committed by GitHub
parent a706ef9df9
commit 57720d5493
2 changed files with 14 additions and 2 deletions
+14 -2
View File
@@ -103,12 +103,17 @@ export const Home: React.FC = () => {
background-color: rgb(191 107 42 / 0.15);
}
}
@keyframes mascotHover {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-12px); }
}
`}</style>
</section>
{/* Install Card with Toggle */}
<section className="max-w-2xl mx-auto mb-16">
<div className="bg-clawd-900 rounded-2xl border border-clawd-700 p-8">
<section className="max-w-4xl mx-auto mb-16">
<div className="flex items-center justify-center gap-8">
<div className="bg-clawd-900 rounded-2xl border border-clawd-700 p-8 flex-1 max-w-2xl">
{/* Toggle */}
<div className="flex justify-center mb-8">
<div className="inline-flex bg-clawd-800 rounded-lg p-1">
@@ -210,6 +215,13 @@ export const Home: React.FC = () => {
Also Available via clawhub: npx clawhub@latest install clawsec-suite
</p>
</div>
<img
src="/img/mascot.png"
alt="ClawSec mascot"
className="hidden md:block w-48 flex-shrink-0"
style={{ animation: 'mascotHover 3s ease-in-out infinite' }}
/>
</div>
</section>
<Footer />
Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB