All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Successful in 1m53s
Build & Deploy / 🏗️ Build (push) Successful in 7m44s
Build & Deploy / 🚀 Deploy (push) Successful in 33s
Build & Deploy / 🧪 Smoke Test (push) Successful in 59s
Build & Deploy / ⚡ Lighthouse (push) Successful in 3m14s
Build & Deploy / 🔔 Notify (push) Successful in 1s
- Integrated imgproxy for centralized image optimization - Implemented Lighthouse CI in Gitea pipeline with native Chromium - Reached 100/100 SEO score by fixing canonicals, hreflang, and link text - Optimized LCP by forcing Hero component visibility until hydration - Decoupled analytics into an async shell to reduce TTI
21 lines
464 B
TypeScript
21 lines
464 B
TypeScript
'use client';
|
|
|
|
import dynamic from 'next/dynamic';
|
|
import { Suspense } from 'react';
|
|
|
|
const DynamicAnalyticsProvider = dynamic(() => import('./AnalyticsProvider'), {
|
|
ssr: false,
|
|
});
|
|
const DynamicScrollDepthTracker = dynamic(() => import('./ScrollDepthTracker'), {
|
|
ssr: false,
|
|
});
|
|
|
|
export default function AnalyticsShell() {
|
|
return (
|
|
<Suspense fallback={null}>
|
|
<DynamicAnalyticsProvider />
|
|
<DynamicScrollDepthTracker />
|
|
</Suspense>
|
|
);
|
|
}
|