From 3cd8528430c1206c1fd48b31ad1d8a6670cb56ba Mon Sep 17 00:00:00 2001 From: Shekhar Vaidya Date: Thu, 18 Jun 2026 11:20:42 +0530 Subject: [PATCH] feat: add tech-latest guide links to official fallback component Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/OfficialFallback.tsx | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/frontend/src/components/OfficialFallback.tsx b/frontend/src/components/OfficialFallback.tsx index 265a914..9fb18d9 100644 --- a/frontend/src/components/OfficialFallback.tsx +++ b/frontend/src/components/OfficialFallback.tsx @@ -21,10 +21,18 @@ function editionLabel(productId: string): string { return 'Windows 8.1' } +function guideUrl(productId: string): string | null { + const id = Number(productId) + if (id >= 3113) return 'https://tech-latest.com/download-latest-windows-11-iso/#Method_3_From_the_Microsoft_Downloads_Page' + if (id >= 2378) return 'https://tech-latest.com/download-latest-windows-10-iso/#Method_31_From_Microsoft_Download_Page_Via_Windows_PC' + return null +} + export default function OfficialFallback({ productId, languageName }: Props) { const [open, setOpen] = useState(false) const url = officialUrl(productId) const edition = editionLabel(productId) + const guide = guideUrl(productId) return (
@@ -88,6 +96,19 @@ export default function OfficialFallback({ productId, languageName }: Props) { Click the download link for your architecture + {guide && ( +

+ Need a visual walkthrough?{' '} + + See our step-by-step guide → + +

+ )}
)}