perf: eliminate global JS bloat and defer autoPlay video
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🧪 QA (push) Successful in 1m29s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled

- Dynamically imported ToolCoordinator dependencies
- Removes ~400KB from global layout (html2canvas, framer-motion)
- Implemented IntersectionObserver in VideoSection
- Prevents 1.8MB .webm autoPlay blocking initial network
- Restored SSR hydration visibility for LCP elements in Hero
This commit is contained in:
2026-02-20 00:34:08 +01:00
parent 474fa4f3df
commit 7542f42568
6 changed files with 154 additions and 23 deletions

View File

@@ -167,7 +167,7 @@ const scribbleVariants = {
} as const;
const subtitleVariants = {
hidden: { opacity: 0, y: 20, scale: 0.98 },
hidden: { opacity: 1, y: 20, scale: 0.98 },
visible: {
opacity: 1,
y: 0,
@@ -177,7 +177,7 @@ const subtitleVariants = {
} as const;
const buttonContainerVariants = {
hidden: { opacity: 0 },
hidden: { opacity: 1 },
visible: {
opacity: 1,
transition: {
@@ -188,7 +188,7 @@ const buttonContainerVariants = {
} as const;
const buttonVariants = {
hidden: { opacity: 0, y: 30, scale: 0.9 },
hidden: { opacity: 1, y: 30, scale: 0.9 },
visible: {
opacity: 1,
y: 0,