fix: alignment and npx skillkit@latest

- Hero: use items-start for proper top alignment
- Agents: add pl-8 padding to prevent first icon cutoff
- Update all npx commands to use skillkit@latest
This commit is contained in:
Rohit Ghumare
2026-01-26 21:07:24 +00:00
parent 82e4a2ae62
commit 4e3e2b3145
3 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export default function App(): React.ReactElement {
</a>
<div className="hidden sm:flex items-center bg-zinc-900 border border-zinc-800 px-3 py-1.5">
<span className="text-zinc-500 mr-2 text-xs">$</span>
<code className="text-zinc-300 text-xs font-mono">npx skillkit</code>
<code className="text-zinc-300 text-xs font-mono">npx skillkit@latest</code>
</div>
</div>
</div>
+1 -1
View File
@@ -195,7 +195,7 @@ export function Agents(): React.ReactElement {
<div className="absolute left-0 top-0 bottom-0 w-16 bg-gradient-to-r from-black to-transparent z-10"></div>
<div className="absolute right-0 top-0 bottom-0 w-16 bg-gradient-to-l from-black to-transparent z-10"></div>
<div className="flex animate-scroll hover:[animation-play-state:paused]">
<div className="flex animate-scroll hover:[animation-play-state:paused] pl-8">
{duplicatedAgents.map((agent, index) => (
<a
key={`${agent.name}-${index}`}
+10 -8
View File
@@ -93,7 +93,7 @@ export function Hero(): React.ReactElement {
async function copyInstall(): Promise<void> {
try {
await navigator.clipboard.writeText('npx skillkit');
await navigator.clipboard.writeText('npx skillkit@latest');
setCopied(true);
setTimeout(() => setCopied(false), 2000);
} catch {
@@ -113,13 +113,14 @@ export function Hero(): React.ReactElement {
<div className="absolute inset-0 bg-gradient-to-b from-zinc-900/50 to-transparent pointer-events-none"></div>
<div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8 pt-8 pb-10 relative">
<div className="hidden lg:block mb-6">
<pre className="text-zinc-800 text-[8px] leading-none font-mono select-none overflow-hidden animate-pulse">
{ASCII_LOGO}
</pre>
</div>
<div className="max-w-5xl mx-auto">
<div className="hidden lg:block mb-6 overflow-hidden">
<pre className="text-zinc-800 text-[8px] leading-none font-mono select-none animate-pulse">
{ASCII_LOGO}
</pre>
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8 items-start max-w-5xl mx-auto">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8 items-start">
<div className="animate-fade-in">
<div className="inline-flex items-center space-x-2 border border-zinc-800 bg-zinc-900/50 px-2 py-0.5 mb-3 backdrop-blur-sm">
<span className="flex h-1.5 w-1.5 bg-white rounded-full"></span>
@@ -142,7 +143,7 @@ export function Hero(): React.ReactElement {
className="inline-flex items-center bg-black border border-zinc-700 px-3 py-2 hover:border-zinc-500 transition-colors"
>
<span className="text-zinc-500 mr-2 select-none">$</span>
<span className="font-mono text-zinc-100 text-sm">npx skillkit</span>
<span className="font-mono text-zinc-100 text-sm">npx skillkit@latest</span>
<span className="ml-2 text-zinc-500 hover:text-white transition-colors flex items-center gap-1">
{copied ? (
<>
@@ -201,6 +202,7 @@ export function Hero(): React.ReactElement {
</div>
</div>
</div>
</div>
</div>
</div>