From 9c9066b75fbe849c31033366b0f90e7e60f0e000 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Fri, 27 Mar 2026 17:51:30 +0100 Subject: [PATCH] refactor: update learn link URLs to product-based routing (/learn/pulse/...) --- lib/learn-links.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/learn-links.ts b/lib/learn-links.ts index dd0f4a1..513f4ef 100644 --- a/lib/learn-links.ts +++ b/lib/learn-links.ts @@ -5,14 +5,14 @@ */ const LEARN_URL_MAP: Record = { // Performance Metrics - 'developer.chrome.com/docs/lighthouse/performance/first-contentful-paint': 'https://ciphera.net/learn/first-contentful-paint', - 'developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint': 'https://ciphera.net/learn/largest-contentful-paint', - 'developer.chrome.com/docs/lighthouse/performance/lighthouse-total-blocking-time': 'https://ciphera.net/learn/total-blocking-time', - 'web.dev/articles/cls': 'https://ciphera.net/learn/cumulative-layout-shift', - 'developer.chrome.com/docs/lighthouse/performance/speed-index': 'https://ciphera.net/learn/speed-index', - 'web.dev/articles/inp': 'https://ciphera.net/learn/interaction-to-next-paint', - 'developer.chrome.com/docs/lighthouse/performance/interactive': 'https://ciphera.net/learn/time-to-interactive', - 'developer.chrome.com/docs/lighthouse/performance/lighthouse-max-potential-fid': 'https://ciphera.net/learn/max-potential-first-input-delay', + 'developer.chrome.com/docs/lighthouse/performance/first-contentful-paint': 'https://ciphera.net/learn/pulse/first-contentful-paint', + 'developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint': 'https://ciphera.net/learn/pulse/largest-contentful-paint', + 'developer.chrome.com/docs/lighthouse/performance/lighthouse-total-blocking-time': 'https://ciphera.net/learn/pulse/total-blocking-time', + 'web.dev/articles/cls': 'https://ciphera.net/learn/pulse/cumulative-layout-shift', + 'developer.chrome.com/docs/lighthouse/performance/speed-index': 'https://ciphera.net/learn/pulse/speed-index', + 'web.dev/articles/inp': 'https://ciphera.net/learn/pulse/interaction-to-next-paint', + 'developer.chrome.com/docs/lighthouse/performance/interactive': 'https://ciphera.net/learn/pulse/time-to-interactive', + 'developer.chrome.com/docs/lighthouse/performance/lighthouse-max-potential-fid': 'https://ciphera.net/learn/pulse/max-potential-first-input-delay', } function normalizeUrl(url: string): string {