Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/website/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}

/* LogoDock's sides: from the start of the middle copy of the logos to the start of the last, so
jumping back is invisible. Each side sets its own duration and delay. */
jumping back is invisible. Each side sets its own duration. */
@keyframes logo-marquee {
from {
transform: translateY(calc(-100% / 3));
Expand Down
10 changes: 4 additions & 6 deletions packages/website/src/components/logo-dock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ function LogoTile({logo}: {logo: Logo}) {
// the middle copy (`.logo-marquee` in globals.css), so there is always a logo above and below.
function LogoMarquee({
logos,
delayMs,
reverse,
}: {
logos: Logo[];
delayMs: number;
reverse: boolean;
}) {
return (
Expand All @@ -89,7 +87,6 @@ function LogoMarquee({
className="logo-marquee"
style={{
animationDuration: `${LOGO_MS * logos.length}ms`,
animationDelay: `${delayMs}ms`,
animationDirection: reverse ? 'reverse' : 'normal',
}}
>
Expand All @@ -106,7 +103,8 @@ function LogoMarquee({
}

// Personal Agent Proxy between the agents on its left and the services on its right, the agents
// scrolling down and the services up, like paper.design's dock.
// scrolling down and the services up, like paper.design's dock. Both sides move a logo in the same
// time from the same start, so their logos line up with Personal Agent Proxy together.
export function LogoDock({className}: {className?: string}) {
return (
<div
Expand All @@ -115,7 +113,7 @@ export function LogoDock({className}: {className?: string}) {
className,
)}
>
<LogoMarquee logos={AGENTS} delayMs={0} reverse />
<LogoMarquee logos={AGENTS} reverse />
<LogoTile
logo={{
name: 'Personal Agent Proxy',
Expand All @@ -125,7 +123,7 @@ export function LogoDock({className}: {className?: string}) {
tile: 'bg-white p-2 sm:p-2.5 dark:bg-black',
}}
/>
<LogoMarquee logos={SERVICES} delayMs={-LOGO_MS / 2} reverse={false} />
<LogoMarquee logos={SERVICES} reverse={false} />
</div>
);
}
Loading