Skip to content

Commit 9c7f511

Browse files
perf(connect): lazy-load onboarding intro images
The agent introduction slides forced eager loading via `priority`, so the large Connect PNGs were preloaded up front, slowing the "Select agent" step. Switch to loading="lazy" and compress the Connect intro assets. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e942ba8 commit 9c7f511

4 files changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/components/AgentIntroduction/IntroductionStep.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const AnimatedImage = ({ imgSrc, alt, imageHeight }: AnimatedImageProps) => (
4141
<Image
4242
src={imgSrc}
4343
alt={alt}
44-
priority
44+
loading="lazy"
4545
width={0}
4646
height={0}
4747
sizes="100vw"
-215 KB
Loading
-304 KB
Loading
-216 KB
Loading

0 commit comments

Comments
 (0)