diff --git a/docs/home.mdx b/docs/home.mdx index 97263d1..72fa165 100644 --- a/docs/home.mdx +++ b/docs/home.mdx @@ -42,9 +42,9 @@ Agents load skills through **progressive disclosure**, in three stages: Full instructions load only when a task calls for them, so agents can keep many skills on hand with only a small context footprint. -## Adoption +## Where can I use Agent Skills? -Agent Skills are supported by leading AI development tools. +Agent Skills are supported by a large number of AI tools and agentic clients — see the [Client Showcase](/clients) to explore some of them! diff --git a/docs/snippets/LogoCarousel.jsx b/docs/snippets/LogoCarousel.jsx index 10d541f..36030c1 100644 --- a/docs/snippets/LogoCarousel.jsx +++ b/docs/snippets/LogoCarousel.jsx @@ -3,10 +3,9 @@ Shuffles clients on each page load for fair exposure. */} export const LogoCarousel = ({clients}) => { - - /* Shuffle clients on component mount */ const [shuffled, setShuffled] = useState(clients); + /* Shuffle clients on component mount */ useEffect(() => { const shuffle = (items) => { const copy = [...items]; @@ -19,6 +18,16 @@ export const LogoCarousel = ({clients}) => { setShuffled(shuffle(clients)); }, []); + const doubled = [...shuffled, ...shuffled]; + + const GAP_PX = 48; // 3rem at the default 16px base + const PX_PER_SECOND = 40; + const cycleWidth = shuffled.reduce( + (sum, client) => sum + 150 * (client.scale || 1) + GAP_PX, + 0, + ); + const cycleDuration = cycleWidth / PX_PER_SECOND; + const Logo = ({ client }) => ( {client.name} @@ -26,31 +35,15 @@ export const LogoCarousel = ({clients}) => { ); - const row1 = shuffled.filter((_, i) => i % 2 === 0); - const row2 = shuffled.filter((_, i) => i % 2 === 1); - const row1Doubled = [...row1, ...row1]; - const row2Doubled = [...row2, ...row2]; - return ( - <> -
-
- {row1Doubled.map((client, i) => ( -
- -
- ))} -
+
+
+ {doubled.map((client, i) => ( +
+ +
+ ))}
-
-
- {row2Doubled.map((client, i) => ( -
- -
- ))} -
-
- +
); }; diff --git a/docs/style.css b/docs/style.css index bc76b93..93b542d 100644 --- a/docs/style.css +++ b/docs/style.css @@ -94,7 +94,6 @@ body:has(#enable-section-numbers) { align-items: center; width: max-content; gap: 3rem; - padding: 0.75rem 0; will-change: transform; }