1 import { db } from "./db";
2 import { repairGuides, troubleshootingFlows, deviceComponents, deviceBrands, deviceModels, guideCompatibility } from "@shared/schema";
3
4 export interface SeedGuide {
5 id?: string;
6 title: string;
7 description: string;
8 deviceType: "laptop" | "desktop";
9 category: "hardware" | "software" | "cleaning" | "upgrades";
10 difficulty: "easy" | "medium" | "hard";
11 estimatedTime: string;
12 toolsRequired: string[];
13 safetyWarnings: string[];
14 steps: {
15 stepNumber: number;
16 title: string;
17 description: string;
18 imageUrl?: string;
19 tips?: string[];
20 warnings?: string[];
21 notes?: string[];
22 }[];
23 alternativeSolutions?: string;
24 imageUrl: string;
25 viewCount?: number;
26 downloadCount?: number;
27 }
28
29 export const curatedRepairGuides: SeedGuide[] = [
30 // ==========================================
31 // HARDWARE CATEGORY (LAPTOP & DESKTOP)
32 // ==========================================
33 {
34 title: "Laptop Screen & Display Panel Replacement",
35 description: "Step-by-step technician procedure for disassembling the display bezel, disconnecting the 30/40-pin eDP cable, and mounting a replacement IPS or OLED screen panel.",
36 deviceType: "laptop",
37 category: "hardware",
38 difficulty: "hard",
39 estimatedTime: "45-60 min",
40 toolsRequired: ["Phillips #00 Screwdriver", "Plastic Spudger / Prying Pick", "Anti-Static Tweezers", "Double-Sided Bezel Adhesive Strips", "ESD Wrist Strap"],
41 safetyWarnings: [
42 "Disconnect main battery and AC power before touching any display ribbon cables to prevent blowing the backlight fuse on the logic board.",
43 "LCD/OLED panels are fragile glass substrates; never exert point pressure on corners.",
44 "Discharge static electricity prior to handling the eDP ribbon connector."
45 ],
46 steps: [
47 {
48 stepNumber: 1,
49 title: "Power Isolation & Battery Disconnection",
50 description: "Shut down the laptop completely. Remove the bottom chassis cover screws and unplug the internal battery connector from the motherboard.",
51 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800",
52 tips: ["Hold the power button for 15 seconds after disconnecting the battery to discharge residual board capacitance."]
53 },
54 {
55 stepNumber: 2,
56 title: "Display Bezel Separation",
57 description: "Insert a thin plastic spudger between the bezel and the back cover starting at the top corner. Gently release the perimeter retention clips working downwards toward the hinges.",
58 imageUrl: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800",
59 warnings: ["Be careful near the integrated webcam and microphone array at the top center to avoid damaging the ribbon cable."]
60 },
61 {
62 stepNumber: 3,
63 title: "Screen Panel Removal & Cable Detachment",
64 description: "Remove the four mounting screws or slowly pull the elastic adhesive pull-tabs. Carefully tilt the display panel forward and lift the metal locking bail on the 30-pin/40-pin eDP connector to slide it out.",
65 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
66 notes: ["Inspect the connector pins under magnification for any oxidation or bent pins."]
67 },
68 {
69 stepNumber: 4,
70 title: "New Panel Installation & Alignment Test",
71 description: "Align the new replacement panel, securely latch the eDP connector with adhesive tape, reconnect the battery for a quick post-test, and snap the bezel back into position.",
72 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800",
73 tips: ["Test backlight levels, refresh rate (e.g. 60Hz/120Hz/144Hz), and color calibration before applying final bezel adhesive."]
74 }
75 ],
76 alternativeSolutions: "If external displays work through HDMI/DisplayPort, verify if the issue is a damaged LVDS/eDP cable rather than a cracked panel.",
77 imageUrl: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800",
78 viewCount: 1420,
79 downloadCount: 380
80 },
81 {
82 title: "Laptop Battery Replacement & Calibration",
83 description: "Safely remove swollen or degraded lithium-ion polymer battery packs, install OEM-certified cells, and perform standard charging calibration cycles.",
84 deviceType: "laptop",
85 category: "hardware",
86 difficulty: "easy",
87 estimatedTime: "20-30 min",
88 toolsRequired: ["Phillips #00 & Torx T5 Screwdrivers", "Plastic Opening Tool", "Safety Glasses", "Fire-Safe Disposal Container"],
89 safetyWarnings: [
90 "Never puncture, bend, or apply metallic tools to lithium polymer battery pouches.",
91 "If the battery is swollen, do not compress it and work in a well-ventilated space."
92 ],
93 steps: [
94 {
95 stepNumber: 1,
96 title: "Chassis Opening & Visual Inspection",
97 description: "Remove bottom enclosure screws (noting varying screw lengths). Carefully pry off the cover to reveal the internal battery assembly.",
98 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800"
99 },
100 {
101 stepNumber: 2,
102 title: "Battery Cable Disconnection",
103 description: "Gently disconnect the multi-pin battery wire harness from the motherboard socket using a plastic spudger pulling parallel to the board.",
104 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
105 },
106 {
107 stepNumber: 3,
108 title: "Cell Removal & New Pack Installation",
109 description: "Remove battery bracket screws or pull release adhesive strips. Seat the fresh battery pack, screw down securely, and plug in the power harness.",
110 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800",
111 tips: ["Charge to 100% uninterrupted, then discharge to 5% before recharging to calibrate the battery gas gauge IC."]
112 }
113 ],
114 alternativeSolutions: "Generate a Windows battery report (`powercfg /batteryreport`) or check macOS System Information to check actual cycle count and full charge capacity before replacing.",
115 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800",
116 viewCount: 2150,
117 downloadCount: 512
118 },
119 {
120 title: "Desktop Dedicated GPU Installation & PCIe Reseating",
121 description: "Install, upgrade, or reseat high-performance PCI Express graphics cards, including supplementary 8-pin / 12VHPWR PCIe power cabling and anti-sag bracket installation.",
122 deviceType: "desktop",
123 category: "hardware",
124 difficulty: "easy",
125 estimatedTime: "20-30 min",
126 toolsRequired: ["Magnetic Phillips #2 Screwdriver", "PCIe Power Cables / 12VHPWR Adapter", "GPU Anti-Sag Support Bracket"],
127 safetyWarnings: [
128 "Switch off the PSU rocker switch and unplug the AC wall cable before opening desktop side panels.",
129 "Ensure 12VHPWR connectors are seated 100% flush with zero gap to prevent connector overheating."
130 ],
131 steps: [
132 {
133 stepNumber: 1,
134 title: "PCIe Slot Preparation & Bracket Removal",
135 description: "Unscrew and remove the rear expansion slot covers corresponding to your GPU width (typically 2 to 3.5 slots). Push open the motherboard PCIe slot retention latch.",
136 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
137 },
138 {
139 stepNumber: 2,
140 title: "Inserting the Graphics Card",
141 description: "Align the GPU with the top PCIe x16 slot (connected directly to CPU PCIe lanes) and press firmly downward until the retention latch clicks into place.",
142 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
143 tips: ["Always use the topmost PCIe x16 slot for full bandwidth and minimal latency."]
144 },
145 {
146 stepNumber: 3,
147 title: "Securing Screws & Power Routing",
148 description: "Secure the GPU bracket to the chassis frame with thumb screws. Connect dedicated PCIe 6+2 pin cables or 16-pin 12V-2x6 cable. Install the anti-sag bracket under the card corner.",
149 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
150 }
151 ],
152 alternativeSolutions: "If display output is absent, verify monitor DP/HDMI cable is connected directly to the GPU ports, NOT the motherboard I/O.",
153 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800",
154 viewCount: 1890,
155 downloadCount: 460
156 },
157 {
158 title: "Desktop Power Supply (PSU) Replacement & Modular Cable Routing",
159 description: "Replace faulty, buzzing, or under-powered desktop power supplies with modern ATX 3.0 / PCIe 5.0 certified modular units.",
160 deviceType: "desktop",
161 category: "hardware",
162 difficulty: "medium",
163 estimatedTime: "45-60 min",
164 toolsRequired: ["Phillips #2 Screwdriver", "Velcro Cable Ties / Flush Cutters", "PSU Paperclip Jump Tester / Digital Tester"],
165 safetyWarnings: [
166 "NEVER open or disassemble the PSU internal metal housing; high-voltage capacitors hold lethal charge for days.",
167 "NEVER mix modular cables between different PSU brands or models as pinouts vary and can fry components."
168 ],
169 steps: [
170 {
171 stepNumber: 1,
172 title: "Unplugging Component Power Cables",
173 description: "Disconnect the 24-pin Motherboard connector, 8-pin CPU EPS cables (top-left of motherboard), PCIe GPU power cables, and SATA/Molex peripherals.",
174 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
175 },
176 {
177 stepNumber: 2,
178 title: "PSU Unmounting & Removal",
179 description: "Remove the four mounting screws on the rear of the PC case. Slide the power supply unit out from the PSU basement or side chamber.",
180 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
181 },
182 {
183 stepNumber: 3,
184 title: "New PSU Setup & Reconnection",
185 description: "Plug only the required modular cables into the new PSU, slide into the case with the intake fan facing the dust filter vent, secure with screws, and reconnect all motherboard and GPU headers.",
186 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800"
187 }
188 ],
189 alternativeSolutions: "Use a paperclip jump test (shorting green pin 16 to ground pin 17 on the 24-pin ATX connector) to verify fan spin before declaring a PSU dead.",
190 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
191 viewCount: 1250,
192 downloadCount: 310
193 },
194 {
195 title: "Laptop Keyboard & Backlight Membrane Replacement",
196 description: "Replace liquid-damaged, sticky, or missing laptop keyboard assemblies, including ribbon flex seating and riveted palmrest swaps.",
197 deviceType: "laptop",
198 category: "hardware",
199 difficulty: "hard",
200 estimatedTime: "60-90 min",
201 toolsRequired: ["Phillips #00 Screwdriver", "Plastic Spudger", "Tweezers", "Hot Air Gun or Soldering Iron for plastic rivets (if applicable)"],
202 safetyWarnings: [
203 "Disconnect battery before unlatching keyboard ZIF (Zero Insertion Force) ribbon sockets.",
204 "Work delicately around trackpad and keyboard ribbon cables to prevent tearing fragile copper traces."
205 ],
206 steps: [
207 {
208 stepNumber: 1,
209 title: "Disassemble Bottom Cover & Internal Components",
210 description: "Remove bottom cover, battery, cooling fans, and motherboard if the keyboard is mounted beneath the logic board tray.",
211 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800"
212 },
213 {
214 stepNumber: 2,
215 title: "Keyboard Plate Separation",
216 description: "Unscrew keyboard retaining brackets or gently pry melted plastic retaining studs. Lift out the defective keyboard assembly.",
217 imageUrl: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800"
218 },
219 {
220 stepNumber: 3,
221 title: "Install Replacement & Ribbon Seating",
222 description: "Align the new keyboard into the palmrest frame, secure retention screws, and insert the data and backlight ribbon cables fully into the ZIF connectors before clamping the latch.",
223 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
224 }
225 ],
226 alternativeSolutions: "For single stuck or broken keycaps, individual scissor switches and keycaps can often be replaced without removing the whole assembly.",
227 imageUrl: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800",
228 viewCount: 1680,
229 downloadCount: 420
230 },
231
232 // ==========================================
233 // SOFTWARE CATEGORY (LAPTOP & DESKTOP)
234 // ==========================================
235 {
236 title: "Clean Windows 11 / Windows 10 OS Installation via UEFI USB",
237 description: "Complete guide to creating a bootable GPT UEFI installation USB media, configuring BIOS Secure Boot / TPM 2.0, partitioning storage, and completing a clean OS deployment.",
238 deviceType: "laptop",
239 category: "software",
240 difficulty: "medium",
241 estimatedTime: "30-45 min",
242 toolsRequired: ["8GB+ USB 3.0 Flash Drive", "Working PC for Media Creation Tool / Rufus", "Target Device"],
243 safetyWarnings: [
244 "A clean installation will erase all data on the target drive partition. Ensure critical files are backed up beforehand."
245 ],
246 steps: [
247 {
248 stepNumber: 1,
249 title: "Prepare Bootable Media",
250 description: "Download the official Microsoft Media Creation Tool or use Rufus to flash the Windows ISO onto a USB drive formatted with GPT partition scheme for UEFI target system.",
251 imageUrl: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800",
252 tips: ["Disable CSM (Compatibility Support Module) in BIOS for pure UEFI boot speed."]
253 },
254 {
255 stepNumber: 2,
256 title: "Configure BIOS/UEFI Settings",
257 description: "Power on target system while tapping Boot Menu key (F12, F11, F8, or Esc depending on brand). Ensure Secure Boot and TPM 2.0 / fTPM are enabled in BIOS settings.",
258 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
259 },
260 {
261 stepNumber: 3,
262 title: "Partition Drive & Run Setup",
263 description: "Select 'Custom: Install Windows only (advanced)'. Delete old OEM/system partitions on Drive 0 until 'Unallocated Space' remains, select it, and click Next to let Windows configure EFI, MSR, and Primary NTFS partitions.",
264 imageUrl: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800"
265 },
266 {
267 stepNumber: 4,
268 title: "Post-Install Drivers & Updates",
269 description: "Run Windows Update until no pending updates remain. Install manufacturer chipset, GPU, audio, and Wi-Fi drivers.",
270 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
271 }
272 ],
273 alternativeSolutions: "If you want to keep files and applications, perform an In-Place Upgrade or Windows Reset ('Keep my files') via Settings > System > Recovery.",
274 imageUrl: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800",
275 viewCount: 3100,
276 downloadCount: 890
277 },
278 {
279 title: "Blue Screen of Death (BSOD) Minidump Analysis & Driver Conflict Resolution",
280 description: "Diagnose kernel stop codes (CRITICAL_PROCESS_DIED, WHEA_UNCORRECTABLE_ERROR, IRQL_NOT_LESS_OR_EQUAL, MEMORY_MANAGEMENT) using WinDbg and BlueScreenView.",
281 deviceType: "desktop",
282 category: "software",
283 difficulty: "medium",
284 estimatedTime: "25-40 min",
285 toolsRequired: ["WinDbg (Windows Debugger)", "BlueScreenView / WhoCrashed", "Display Driver Uninstaller (DDU)"],
286 safetyWarnings: [
287 "Always reboot into Windows Safe Mode before running Display Driver Uninstaller (DDU) to prevent driver hook conflicts."
288 ],
289 steps: [
290 {
291 stepNumber: 1,
292 title: "Locate Memory Dump Files",
293 description: "Navigate to `C:\\Windows\\Minidump` to locate recent `.dmp` crash files generated during the Blue Screen event.",
294 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
295 },
296 {
297 stepNumber: 2,
298 title: "Analyze Crash Stack with WinDbg",
299 description: "Open the `.dmp` file in WinDbg and run the automated command `!analyze -v`. Inspect the `MODULE_NAME`, `FAULTING_IP`, and `PROCESS_NAME` to identify the failing driver (e.g. nvlddmkm.sys, ntoskrnl.exe, tcpip.sys).",
300 imageUrl: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800"
301 },
302 {
303 stepNumber: 3,
304 title: "Clean Driver Reinstallation",
305 description: "Boot into Safe Mode, run DDU to completely purge residual graphics or chipset driver files, reboot, and install clean WHQL-certified drivers from the manufacturer.",
306 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
307 }
308 ],
309 alternativeSolutions: "Run Windows Memory Diagnostic (`mdsched.exe`) or MemTest86 to rule out faulty physical RAM modules when MEMORY_MANAGEMENT stop codes occur.",
310 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800",
311 viewCount: 2450,
312 downloadCount: 680
313 },
314 {
315 title: "macOS Internet Recovery & Fresh Sequoia / Sonoma Installation",
316 description: "Step-by-step procedure for Apple Silicon (M1/M2/M3) and Intel Macs to wipe APFS volumes and reinstall macOS cleanly via Recovery Mode.",
317 deviceType: "laptop",
318 category: "software",
319 difficulty: "easy",
320 estimatedTime: "40-60 min",
321 toolsRequired: ["Reliable Wi-Fi or Ethernet connection", "Apple ID Credentials", "USB-C Power Adapter"],
322 safetyWarnings: [
323 "Ensure FileVault encryption recovery key or Apple ID password is on hand to bypass Activation Lock after erasing."
324 ],
325 steps: [
326 {
327 stepNumber: 1,
328 title: "Enter Recovery Mode",
329 description: "On Apple Silicon: Press and hold the power button until 'Loading startup options' appears, then select Options. On Intel Macs: Turn on and immediately hold Command (⌘) + Option + R.",
330 imageUrl: "https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&q=80&w=800"
331 },
332 {
333 stepNumber: 2,
334 title: "Format Drive in Disk Utility",
335 description: "Open Disk Utility, select View > Show All Devices. Click the internal SSD (e.g. APPLE SSD), click Erase, set Format to APFS and Scheme to GUID Partition Map, and confirm erase.",
336 imageUrl: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800"
337 },
338 {
339 stepNumber: 3,
340 title: "Reinstall macOS",
341 description: "Quit Disk Utility, select 'Reinstall macOS', accept software terms, select the freshly formatted APFS container, and let the installer complete all download and restart phases.",
342 imageUrl: "https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&q=80&w=800"
343 }
344 ],
345 alternativeSolutions: "For enterprise deployments or fleet provisioning, build a bootable USB installer using the terminal command `createinstallmedia`.",
346 imageUrl: "https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&q=80&w=800",
347 viewCount: 1980,
348 downloadCount: 540
349 },
350 {
351 title: "Windows DISM & SFC System File Integrity Repair",
352 description: "Repair corrupt Windows system files, corrupted update components, and broken side-by-side component stores using command line administrative tools.",
353 deviceType: "desktop",
354 category: "software",
355 difficulty: "easy",
356 estimatedTime: "15-25 min",
357 toolsRequired: ["Elevated Windows Terminal / Command Prompt (Admin)", "Active Internet Connection"],
358 safetyWarnings: [
359 "Do not power off or force reboot the computer while DISM /RestoreHealth is processing."
360 ],
361 steps: [
362 {
363 stepNumber: 1,
364 title: "Run DISM Component Store Verification",
365 description: "Open Terminal as Administrator. Run `DISM /Online /Cleanup-Image /ScanHealth` to check if component store corruption is detected.",
366 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
367 },
368 {
369 stepNumber: 2,
370 title: "Execute DISM Repair",
371 description: "Run `DISM /Online /Cleanup-Image /RestoreHealth`. Windows will download fresh system payload files from Windows Update servers to replace corrupted hashes.",
372 imageUrl: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800"
373 },
374 {
375 stepNumber: 3,
376 title: "Execute System File Checker (SFC)",
377 description: "Execute `sfc /scannow`. Verify the output reports 'Windows Resource Protection found corrupt files and successfully repaired them.' Reboot when done.",
378 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
379 }
380 ],
381 alternativeSolutions: "If DISM cannot find online sources, mount a Windows ISO and specify local source: `DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\\sources\\install.wim:1 /limitaccess`.",
382 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800",
383 viewCount: 1650,
384 downloadCount: 470
385 },
386
387 // ==========================================
388 // CLEANING CATEGORY (LAPTOP & DESKTOP)
389 // ==========================================
390 {
391 title: "High-Performance CPU & GPU Thermal Paste Repaste",
392 description: "Remove degraded, crusty factory thermal interface material (TIM) and apply premium non-conductive thermal paste (Arctic MX-6, Noctua NT-H2, Thermal Grizzly Kryonaut) for 10-25°C temperature drops.",
393 deviceType: "laptop",
394 category: "cleaning",
395 difficulty: "medium",
396 estimatedTime: "30-45 min",
397 toolsRequired: ["99% Isopropyl Alcohol (IPA)", "Lint-Free Microfiber Cloth / Coffee Filters", "Thermal Paste Tube", "Phillips / Torx Screwdrivers", "Plastic Spudger"],
398 safetyWarnings: [
399 "Use only non-conductive thermal compounds on exposed silicon dies; do not use liquid metal unless direct nickel coating is confirmed.",
400 "Tighten heatsink screws in diagonal numbered order (1-2-3-4) to ensure even mounting pressure and prevent die cracking."
401 ],
402 steps: [
403 {
404 stepNumber: 1,
405 title: "Remove Cooler & Heatsink Assembly",
406 description: "Loosen heatsink spring screws in reverse diagonal order (4-3-2-1). Gently twist the copper vapor chamber/heatsink to break the vacuum seal before lifting.",
407 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
408 },
409 {
410 stepNumber: 2,
411 title: "Clean Old Thermal Compound",
412 description: "Apply 99% IPA to a lint-free cloth and gently wipe old dried paste off the CPU/GPU silicon dies and copper coldplate until both surfaces are mirrored and residue-free.",
413 imageUrl: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800",
414 tips: ["Inspect thermal putty / pads on VRAM chips and VRM inductors; replace if torn or dried out."]
415 },
416 {
417 stepNumber: 3,
418 title: "Apply Fresh Paste & Remount Heatsink",
419 description: "Apply a pea-sized dot (or thin X-pattern for bare direct-die laptop CPUs) of thermal paste. Lower the heatsink flat and tighten screws in numbered diagonal order (1 to 4).",
420 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
421 }
422 ],
423 alternativeSolutions: "Consider phase-change thermal pads (e.g. Honeywell PTM7950) for long-lasting laptop thermal stability without pump-out degradation.",
424 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
425 viewCount: 2890,
426 downloadCount: 750
427 },
428 {
429 title: "Desktop Case & Power Supply Dust Filter Decontamination",
430 description: "Deep clean dusty radiator fins, fan blades, PSU mesh intakes, and chassis air filters to eliminate thermal throttling and acoustic fan whine.",
431 deviceType: "desktop",
432 category: "cleaning",
433 difficulty: "easy",
434 estimatedTime: "20-30 min",
435 toolsRequired: ["Electric Compressed Air Duster", "Soft Bristle Anti-Static Brush", "99% Isopropyl Alcohol", "Microfiber Towels"],
436 safetyWarnings: [
437 "Always hold fan blades stationary with a finger or zip-tie while blowing compressed air to prevent over-spinning the bearing and generating back-EMF voltage into the motherboard fan header."
438 ],
439 steps: [
440 {
441 stepNumber: 1,
442 title: "Remove Magnetic Mesh Filters",
443 description: "Slide out top, front, and bottom PSU dust filters. Rinse under warm water and allow to dry completely, or blow clean with electric duster.",
444 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
445 },
446 {
447 stepNumber: 2,
448 title: "Clean Radiators & Fan Blades",
449 description: "Hold each fan blade in place while blowing compressed air through the radiator fins from inside-out. Use an anti-static brush to dislodge stubborn cake on leading blade edges.",
450 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
451 },
452 {
453 stepNumber: 3,
454 title: "Motherboard & GPU Shroud Wipedown",
455 description: "Gently wipe PCB flat surfaces and GPU backplate with a lightly dampened microfiber cloth (99% IPA). Reassemble dust filters once 100% dry.",
456 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
457 }
458 ],
459 alternativeSolutions: "Perform this maintenance once every 6 months to maintain optimum thermal headroom and extend hardware longevity.",
460 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800",
461 viewCount: 1430,
462 downloadCount: 390
463 },
464 {
465 title: "Liquid Spill Emergency Protocol & Ultrasonic Board Cleaning",
466 description: "Immediate emergency protocol for laptops or keyboards exposed to coffee, water, soda, or juice to prevent galvanic corrosion and short circuits.",
467 deviceType: "laptop",
468 category: "cleaning",
469 difficulty: "hard",
470 estimatedTime: "90-120 min",
471 toolsRequired: ["99% Isopropyl Alcohol", "Ultrasonic Cleaner / Soft ESD Toothbrush", "Distilled Water", "Silica Gel Drying Packets"],
472 safetyWarnings: [
473 "NEVER connect power or attempt to boot a liquid-damaged laptop until all internal traces are completely dehydrated and deoxidized.",
474 "DO NOT use rice; starch dust enters cooling vents and causes further mechanical damage."
475 ],
476 steps: [
477 {
478 stepNumber: 1,
479 title: "Immediate Power Cut & Inversion",
480 description: "Force shutdown immediately (hold power 10s), unplug AC adapter, flip laptop into a tent position over a towel, and disconnect battery immediately.",
481 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800"
482 },
483 {
484 stepNumber: 2,
485 title: "Motherboard Extraction & Inspection",
486 description: "Disassemble the entire motherboard. Inspect under magnification for green/white copper oxidation and sugar/soda residue around SMD capacitors and ICs.",
487 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
488 },
489 {
490 stepNumber: 3,
491 title: "IPA Wash & Dehydration",
492 description: "Submerge board in 99% anhydrous Isopropyl Alcohol or ultrasonic bath to displace moisture and dissolve sticky residues. Dry in a heated dehydrator at 50°C for 4 hours.",
493 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800"
494 }
495 ],
496 alternativeSolutions: "Test individual power rails (3.3V, 5V, 1.8V, VCORE) with a digital multimeter before reassembling the full chassis.",
497 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800",
498 viewCount: 2210,
499 downloadCount: 620
500 },
501
502 // ==========================================
503 // UPGRADES CATEGORY (LAPTOP & DESKTOP)
504 // ==========================================
505 {
506 title: "M.2 NVMe PCIe Gen4/Gen5 SSD Installation & OS Migration",
507 description: "Upgrade slow hard drives or small SSDs to ultra-fast M.2 NVMe solid state drives, including sector-by-sector cloning and heatsink mounting.",
508 deviceType: "laptop",
509 category: "upgrades",
510 difficulty: "easy",
511 estimatedTime: "25-35 min",
512 toolsRequired: ["Phillips #00 Screwdriver", "M.2 Mounting Standoff & Screw", "USB to NVMe Enclosure (for cloning)", "Cloning Software (Macrium Reflect / Clonezilla)"],
513 safetyWarnings: [
514 "Always ground yourself before touching naked flash memory chips to prevent ESD damage.",
515 "Insert M.2 drives at a 30-degree angle; do not force straight horizontally."
516 ],
517 steps: [
518 {
519 stepNumber: 1,
520 title: "Clone Existing Drive (Optional)",
521 description: "Insert the new NVMe drive into an external USB enclosure. Run Macrium Reflect or Clonezilla to clone all partitions including EFI and Recovery sectors.",
522 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800"
523 },
524 {
525 stepNumber: 2,
526 title: "Access M.2 PCIe Slot",
527 description: "Remove bottom cover/case side panel. Locate the M.2 2280 Key-M slot. Remove existing screw or thermal shield plate.",
528 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
529 },
530 {
531 stepNumber: 3,
532 title: "Install & Fasten NVMe Drive",
533 description: "Insert the SSD at a 30-degree angle until pins are fully seated in the slot. Press down gently and fasten the M.2 retaining screw. Reapply thermal pad and heat shield.",
534 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800",
535 tips: ["Peel off the protective plastic film from the motherboard M.2 thermal pad before screwing down the heatsink."]
536 }
537 ],
538 alternativeSolutions: "If BIOS doesn't detect the new drive, verify that SATA/NVMe mode is set to AHCI / NVMe rather than legacy RAID/RST.",
539 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
540 viewCount: 3450,
541 downloadCount: 980
542 },
543 {
544 title: "Dual-Channel DDR5 / DDR4 RAM Capacity & Speed Expansion",
545 description: "Install matched SODIMM (Laptop) or DIMM (Desktop) RAM kits to unlock dual-channel memory bandwidth, and enable XMP/EXPO profiles in BIOS for maximum FPS.",
546 deviceType: "desktop",
547 category: "upgrades",
548 difficulty: "easy",
549 estimatedTime: "15-20 min",
550 toolsRequired: ["Anti-Static Wrist Strap", "Phillips Screwdriver (if desktop case requires)"],
551 safetyWarnings: [
552 "Handle memory sticks by the outer PCB edges only; never touch the gold contact fingers."
553 ],
554 steps: [
555 {
556 stepNumber: 1,
557 title: "Identify Optimal Memory Channels",
558 description: "On 4-slot desktop motherboards, install two memory sticks into slots A2 and B2 (slots 2 and 4 from the CPU) for optimal signal integrity.",
559 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
560 },
561 {
562 stepNumber: 2,
563 title: "Slotting the Memory Sticks",
564 description: "Open the slot retention clips. Align the key notch on the RAM stick with the slot ridge. Press down firmly on both edges until both latches snap shut automatically.",
565 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
566 },
567 {
568 stepNumber: 3,
569 title: "Enable XMP / EXPO in BIOS",
570 description: "Power on, enter BIOS (Del / F2), locate Extreme Memory Profile (XMP) or AMD EXPO, enable Profile 1, save and exit to run at full advertised MHz (e.g. 6000MHz CL30).",
571 imageUrl: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800"
572 }
573 ],
574 alternativeSolutions: "Check Task Manager > Performance > Memory to confirm configured speed and that 'Slots used: 2 of 4' and 'Dual Channel' are active.",
575 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800",
576 viewCount: 2780,
577 downloadCount: 710
578 },
579 {
580 title: "Wi-Fi 6E / Wi-Fi 7 M.2 Tri-Band Card & Bluetooth 5.4 Upgrade",
581 description: "Swap legacy 802.11ac Wi-Fi cards for Intel AX210 / BE200 Wi-Fi 7 modules for 6GHz spectrum access, lower latency, and Bluetooth 5.4 audio.",
582 deviceType: "laptop",
583 category: "upgrades",
584 difficulty: "medium",
585 estimatedTime: "20-30 min",
586 toolsRequired: ["Phillips #00 Screwdriver", "Plastic Spudger / Tweezers for U.FL Antenna Connectors"],
587 safetyWarnings: [
588 "U.FL IPEX micro antenna snap connectors are delicate; apply vertical pressure directly above the post to avoid crushing the gold pin."
589 ],
590 steps: [
591 {
592 stepNumber: 1,
593 title: "Locate Existing WLAN Module",
594 description: "Disconnect laptop battery. Locate the M.2 2230 WLAN card, usually near the cooling fans or SSD.",
595 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800"
596 },
597 {
598 stepNumber: 2,
599 title: "Disconnect Antennas & Card Swap",
600 description: "Carefully pop off the Main (Black) and Aux (White) U.FL antenna cables using plastic tweezers. Remove the mounting screw and slide out old card.",
601 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
602 },
603 {
604 stepNumber: 3,
605 title: "Install New Module & Snap Antennas",
606 description: "Insert new Wi-Fi 6E/7 card, screw down, and snap the antenna connectors firmly onto the corresponding Main and Aux posts. Install Intel WLAN and Bluetooth drivers.",
607 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800"
608 }
609 ],
610 alternativeSolutions: "Download latest Wi-Fi drivers onto a USB flash drive BEFORE swapping the card to prevent being left without network access.",
611 imageUrl: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800",
612 viewCount: 1720,
613 downloadCount: 440
614 },
615 {
616 title: "Desktop All-in-One (AIO) 360mm Liquid CPU Cooler Installation",
617 description: "Install high-performance 240mm or 360mm AIO liquid coolers on Intel LGA1700/1851 and AMD Socket AM5/AM4 processors for maximum thermal headroom.",
618 deviceType: "desktop",
619 category: "upgrades",
620 difficulty: "medium",
621 estimatedTime: "45-60 min",
622 toolsRequired: ["Phillips #2 Screwdriver", "AIO Mounting Hardware & Backplate", "Thermal Paste (if not pre-applied)", "Fan Splitter / ARGB Hub"],
623 safetyWarnings: [
624 "CRITICAL: Always remember to peel off the clear plastic protective sticker from the AIO copper cold plate before mounting to CPU.",
625 "Mount the radiator above the pump level (e.g. top exhaust) to prevent air bubbles from getting trapped in the pump chamber."
626 ],
627 steps: [
628 {
629 stepNumber: 1,
630 title: "Install Motherboard Backplate & Standoffs",
631 description: "Fit the socket-specific backplate (Intel LGA1700 or AMD AM5 bracket) and hand-tighten the four double-threaded standoffs into the bracket holes.",
632 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
633 },
634 {
635 stepNumber: 2,
636 title: "Mount Radiator & Fans to Case",
637 description: "Fasten the 120mm fans to the radiator in push orientation, then mount the radiator assembly to the top or front case bracket using long radiator screws.",
638 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
639 },
640 {
641 stepNumber: 3,
642 title: "Mount Pump Block & Cable Connections",
643 description: "Peel protective film from copper coldplate, place pump block over the CPU, hand-tighten spring thumbscrews in diagonal X-pattern, and plug the pump tach wire into the `AIO_PUMP` or `CPU_FAN` header.",
644 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
645 }
646 ],
647 alternativeSolutions: "Set the pump speed to 100% constant PWM in BIOS for optimal coolant circulation and whisper-quiet operation.",
648 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800",
649 viewCount: 2190,
650 downloadCount: 580
651 }
652 ];
653
654 export const comprehensiveTroubleshootingFlows = [
655 {
656 category: "power",
657 title: "Device Fails to Power On / No POST Diagnostics",
658 description: "Systematic diagnostic workflow to isolate AC adapter failure, drained CMOS battery, shorted motherboard power rail, or bad RAM modules.",
659 steps: [
660 {
661 stepNumber: 1,
662 description: "Does the power indicator LED light up or blink when connecting the AC charger?",
663 solutions: ["Perform a hard CMOS battery reset", "Test with a known-good AC power adapter", "Check DC-in power jack for physical damage or loose solder joints"]
664 },
665 {
666 stepNumber: 2,
667 description: "Do cooling fans spin, but the screen stays completely black with no BIOS splash screen?",
668 solutions: ["Reseat RAM modules one at a time", "Connect external monitor via HDMI to rule out display panel fault", "Clear motherboard RTC clock CMOS jumper"]
669 },
670 {
671 stepNumber: 3,
672 description: "Does the system immediately shut down after 2-5 seconds of powering on?",
673 solutions: ["Inspect CPU cooler mounting pressure and thermal paste", "Disconnect all non-essential USB and PCIe peripherals to test minimal POST", "Check motherboard VRM power delivery"]
674 }
675 ]
676 },
677 {
678 category: "performance",
679 title: "Thermal Throttling & Severe Fan Noise Diagnostics",
680 description: "Identify whether system slowdowns are caused by clogged heatsink fins, dried thermal paste, background crypto-miners, or failing fan bearings.",
681 steps: [
682 {
683 stepNumber: 1,
684 description: "Are CPU or GPU temperatures exceeding 90°C under light to moderate workloads?",
685 solutions: ["Repaste CPU and GPU with Arctic MX-6 / Noctua thermal paste", "Blow compressed air through radiator exhaust fins to remove dust buildup", "Check fan RPM speed curves in BIOS or OEM management software"]
686 },
687 {
688 stepNumber: 2,
689 description: "Is CPU usage staying at 100% in Task Manager even when idle on desktop?",
690 solutions: ["Perform full Malwarebytes and Windows Defender offline scans", "Check Task Manager for rogue background processes (e.g. Windows Search indexer, crypto-miners)", "Run DISM and SFC file integrity scans"]
691 }
692 ]
693 },
694 {
695 category: "display",
696 title: "Display Artifacts, Flickering & Black Screen Troubleshooting",
697 description: "Determine if visual glitches, lines, or flickering originate from GPU driver corruption, loose eDP display cables, or cracked panel matrices.",
698 steps: [
699 {
700 stepNumber: 1,
701 description: "Do horizontal/vertical lines or flickering change when you move the laptop display hinge back and forth?",
702 solutions: ["Reseat or replace the eDP/LVDS display ribbon cable", "Inspect display hinge tension brackets for pinching the cable bundle"]
703 },
704 {
705 stepNumber: 2,
706 description: "Do colorful checkerboard artifacts or crashes occur primarily inside 3D games or GPU workloads?",
707 solutions: ["Perform clean GPU driver reinstallation using DDU in Safe Mode", "Check GPU VRAM temperatures and lower memory overclock", "Verify PCIe power cable seating"]
708 }
709 ]
710 }
711 ];
712
713 export const comprehensiveDeviceComponents = [
714 {
715 name: "M.2 NVMe SSD",
716 description: "High-speed solid state drive utilizing PCI Express lanes and NVMe communication protocol for speeds up to 7,500 MB/s.",
717 deviceType: "laptop",
718 componentType: "storage",
719 commonIssues: ["Read-only mode after endurance depletion", "Thermal throttling under heavy writes", "Unformatted RAW partition"],
720 replacementDifficulty: "easy",
721 averageCost: "$45-180",
722 toolsRequired: ["Phillips #00 screwdriver", "Thermal pad"],
723 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
724 },
725 {
726 name: "SODIMM DDR5 RAM Module",
727 description: "Compact dual-inline memory module for laptops and mini-PCs with on-die ECC and dual 32-bit sub-channels.",
728 deviceType: "laptop",
729 componentType: "memory",
730 commonIssues: ["BSOD MEMORY_MANAGEMENT", "Unseated latch causing no-POST black screen", "Intermittent freezes"],
731 replacementDifficulty: "easy",
732 averageCost: "$35-120",
733 toolsRequired: ["Plastic spudger", "Anti-static wrist strap"],
734 imageUrl: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800"
735 },
736 {
737 name: "Dedicated PCIe Graphics Card (GPU)",
738 description: "High-performance graphics accelerator card for rendering 3D graphics, gaming, machine learning, and multi-display outputs.",
739 deviceType: "desktop",
740 componentType: "graphics",
741 commonIssues: ["Artifacting / VRAM corruption", "Driver timeout / TDR crashes", "Fan bearing noise"],
742 replacementDifficulty: "easy",
743 averageCost: "$250-1600",
744 toolsRequired: ["Phillips #2 screwdriver", "PCIe power cables", "Anti-sag bracket"],
745 imageUrl: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800"
746 },
747 {
748 name: "ATX Modular Power Supply Unit (PSU)",
749 description: "High-efficiency 80+ Gold / Platinum power supply converting 115V/230V AC to stable +12V, +5V, and +3.3V DC rails.",
750 deviceType: "desktop",
751 componentType: "power",
752 commonIssues: ["Instant shutdown under GPU transient spikes", "No 5VSB standby power", "Coil whine"],
753 replacementDifficulty: "medium",
754 averageCost: "$70-250",
755 toolsRequired: ["Phillips #2 screwdriver", "Modular cable kit"],
756 imageUrl: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800"
757 },
758 {
759 name: "Liquid Crystal / OLED Display Assembly",
760 description: "High-resolution laptop display panel offering 100% sRGB/DCI-P3 color gamut with eDP connection.",
761 deviceType: "laptop",
762 componentType: "display",
763 commonIssues: ["Cracked glass matrix", "Backlight bleed", "Dead pixels", "eDP cable micro-fractures"],
764 replacementDifficulty: "hard",
765 averageCost: "$60-220",
766 toolsRequired: ["Plastic prying picks", "Phillips #00", "Bezel adhesive strips"],
767 imageUrl: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800"
768 }
769 ];
770
771 export const IMAGES = {
772 screenTeardown1: "https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=800",
773 screenTeardown2: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
774 screenTeardown3: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800",
775 logicBoard: "https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=800",
776 battery: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800",
777 soldering: "https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&q=80&w=800",
778 biosScreen: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=800",
779 terminal: "https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=800",
780 osRecovery: "https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800",
781 thermalPaste: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
782 cleaningBlower: "https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=800",
783 ultrasonic: "https://images.unsplash.com/photo-1581092335397-9583fe92d232?auto=format&fit=crop&q=80&w=800",
784 nvmeSSD: "https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&q=80&w=800",
785 ramModule: "https://images.unsplash.com/photo-1540103547041-3929427b3708?auto=format&fit=crop&q=80&w=800",
786 gpuAio: "https://images.unsplash.com/photo-1587202372775-e229f172b9d7?auto=format&fit=crop&q=80&w=800",
787 desktopRig: "https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&q=80&w=800"
788 };
789
790 const guideTemplates = [
791 {
792 category: "hardware" as const,
793 titleSuffix: "OLED/IPS Screen & Hinge Assembly Replacement",
794 descSuffix: "Complete teardown procedure to disconnect eDP display cabling, unbolt magnesium hinge brackets, and install a brand-new factory display panel.",
795 difficulty: "hard" as const,
796 estimatedTime: "45-60 min",
797 tools: ["Phillips #00 Screwdriver", "Torx T5 Bit", "Plastic Spudger", "Pre-cut Bezel Adhesive Tape", "Anti-Static Wrist Strap"],
798 warnings: ["Disconnect the main battery before touching internal display ribbon cables.", "Handle replacement display glass by perimeter edges only."],
799 steps: [
800 {
801 stepNumber: 1,
802 title: "Power Isolation & Battery Disconnection",
803 description: "Remove bottom enclosure screws and disconnect internal battery harness from the logic board to prevent backlight circuit shorting.",
804 imageUrl: IMAGES.screenTeardown1
805 },
806 {
807 stepNumber: 2,
808 title: "Display Hinge Bracket Unbolting",
809 description: "Unscrew the left and right steel hinge anchor bolts and unroute Wi-Fi and webcam antenna cables from cable channels.",
810 imageUrl: IMAGES.screenTeardown2
811 },
812 {
813 stepNumber: 3,
814 title: "Screen Bezel Separation & Panel Swap",
815 description: "Gently pry bezel clips with a thin guitar pick, disconnect the 30/40-pin eDP connector, mount the new panel, and secure with fresh adhesive.",
816 imageUrl: IMAGES.screenTeardown3
817 }
818 ],
819 imageUrl: IMAGES.screenTeardown3
820 },
821 {
822 category: "hardware" as const,
823 titleSuffix: "Motherboard & VRM Power Delivery Replacement",
824 descSuffix: "Comprehensive logic board replacement, port realignment, and heatsink mounting procedure for technician-level system restoration.",
825 difficulty: "hard" as const,
826 estimatedTime: "60-90 min",
827 tools: ["Precision Screwdriver Kit", "Thermal Paste (Arctic MX-6)", "ESD Mat", "Magnetic Screw Tray"],
828 warnings: ["Ground yourself on an ESD mat.", "Track all varying screw lengths carefully to prevent through-board chassis damage."],
829 steps: [
830 {
831 stepNumber: 1,
832 title: "Sub-assembly Removal",
833 description: "Extract battery, cooling assembly, NVMe SSDs, Wi-Fi module, and disconnect all peripheral ribbon cables.",
834 imageUrl: IMAGES.screenTeardown1
835 },
836 {
837 stepNumber: 2,
838 title: "Logic Board Extraction",
839 description: "Unscrew logic board standoff screws, ease I/O ports out of chassis cutouts, and transfer TPM/CPU components as needed.",
840 imageUrl: IMAGES.logicBoard
841 },
842 {
843 stepNumber: 3,
844 title: "New Board Installation & Post-Test",
845 description: "Seat the replacement motherboard, reapply thermal compound, reconnect all flex cables, and verify POST in diagnostic mode.",
846 imageUrl: IMAGES.soldering
847 }
848 ],
849 imageUrl: IMAGES.logicBoard
850 },
851 {
852 category: "hardware" as const,
853 titleSuffix: "OEM Battery Pack Replacement & BMS Calibration",
854 descSuffix: "Safely remove degraded or swollen lithium-ion pouch cells, route new OEM battery harness, and execute charging calibration cycle.",
855 difficulty: "easy" as const,
856 estimatedTime: "20-30 min",
857 tools: ["Phillips #00 Screwdriver", "Plastic Pry Pick", "Safety Glasses", "Battery Adhesive Pull Tabs"],
858 warnings: ["Never bend, puncture, or apply metal tools to lithium-polymer battery packs.", "Discharge battery below 25% prior to disassembly."],
859 steps: [
860 {
861 stepNumber: 1,
862 title: "Bottom Cover Removal",
863 description: "Remove perimeter fasteners and release bottom casing to expose the internal battery compartment.",
864 imageUrl: IMAGES.screenTeardown1
865 },
866 {
867 stepNumber: 2,
868 title: "Battery Connector & Adhesive Release",
869 description: "Unplug the battery data/power harness from the motherboard. Slowly pull the stretch-release adhesive strips parallel to the chassis.",
870 imageUrl: IMAGES.battery
871 },
872 {
873 stepNumber: 3,
874 title: "New Cell Installation & BMS Cycling",
875 description: "Mount new OEM pack, connect ribbon securely, screw down brackets, and charge continuously to 100% followed by full discharge.",
876 imageUrl: IMAGES.battery
877 }
878 ],
879 imageUrl: IMAGES.battery
880 },
881 {
882 category: "hardware" as const,
883 titleSuffix: "DC-In Power Jack & USB-C Port Board Replacement",
884 descSuffix: "Diagnose intermittent charging and replace fractured DC-in power harness or daughterboard USB-C charging receptacles.",
885 difficulty: "medium" as const,
886 estimatedTime: "35-45 min",
887 tools: ["Torx T5 / Phillips #00", "Digital Multimeter", "Spudger", "Tweezers"],
888 warnings: ["Verify absence of residual 19V/20V capacitor charge before touching port solder pads."],
889 steps: [
890 {
891 stepNumber: 1,
892 title: "Port Accessibility Isolation",
893 description: "Disconnect internal battery, lift the left/right hinge bracket covering the charging port, and remove cable retention brackets.",
894 imageUrl: IMAGES.screenTeardown2
895 },
896 {
897 stepNumber: 2,
898 title: "Port Harness Detachment",
899 description: "Unplug the DC-in braided cable harness from the motherboard header or unbolt the modular Type-C daughterboard.",
900 imageUrl: IMAGES.soldering
901 },
902 {
903 stepNumber: 3,
904 title: "Reassembly & Voltage Verification",
905 description: "Install fresh OEM port module, secure hinge bolts to manufacturer torque specs, and probe 20V rail with multimeter.",
906 imageUrl: IMAGES.logicBoard
907 }
908 ],
909 imageUrl: IMAGES.soldering
910 },
911 {
912 category: "hardware" as const,
913 titleSuffix: "Dual Cooling Fan & Copper Heatpipe Module Overhaul",
914 descSuffix: "Replace noisy, rattling, or seized CPU/GPU blower fans and re-torque copper vapor chamber heatsink assembly.",
915 difficulty: "medium" as const,
916 estimatedTime: "30-40 min",
917 tools: ["Phillips #00 Screwdriver", "Thermal Paste", "Micro-Tweezers", "Can of Compressed Air"],
918 warnings: ["Tighten heatsink screws in stamped numerical order (1 -> 2 -> 3 -> 4) to ensure uniform die pressure."],
919 steps: [
920 {
921 stepNumber: 1,
922 title: "Cooling Shroud Removal",
923 description: "Disconnect 4-pin PWM fan headers, remove perimeter heatsink screws in reverse order, and lift copper assembly away from dies.",
924 imageUrl: IMAGES.thermalPaste
925 },
926 {
927 stepNumber: 2,
928 title: "Blower Impeller Swap",
929 description: "Unscrew fan motor brackets from heatpipe radiator fins and mount brand-new fluid-dynamic bearing fan units.",
930 imageUrl: IMAGES.cleaningBlower
931 },
932 {
933 stepNumber: 3,
934 title: "Paste Refresh & Sequential Torque",
935 description: "Wipe dies clean with 99% IPA, apply high-viscosity thermal paste, fasten screws sequentially, and plug in fan headers.",
936 imageUrl: IMAGES.thermalPaste
937 }
938 ],
939 imageUrl: IMAGES.thermalPaste
940 },
941
942 // SOFTWARE
943 {
944 category: "software" as const,
945 titleSuffix: "UEFI / BIOS Firmware Recovery & Crisis Flash Protocol",
946 descSuffix: "Step-by-step procedure to flash, recover, or clear corrupted UEFI BIOS firmware using USB FlashBack or emergency key combinations.",
947 difficulty: "medium" as const,
948 estimatedTime: "20-30 min",
949 tools: ["FAT32 Formatted USB Flash Drive", "OEM BIOS Firmware File", "Stable AC Power Source"],
950 warnings: ["NEVER unplug power or reboot while the firmware EEPROM is writing.", "Ensure battery has at least 50% charge before starting."],
951 steps: [
952 {
953 stepNumber: 1,
954 title: "Prepare Flash Drive",
955 description: "Format USB drive to FAT32 with MBR partition scheme. Download latest verified OEM BIOS file and rename to the required hardware flashback string if using blind USB flash.",
956 imageUrl: IMAGES.biosScreen
957 },
958 {
959 stepNumber: 2,
960 title: "Initiate BIOS Update Environment",
961 description: "Boot into BIOS Setup (tap F2/Del) and open the built-in flash utility (EZ Flash / Q-Flash / M-Flash / Dell BIOS Update) or hold the chassis FlashBack button.",
962 imageUrl: IMAGES.osRecovery
963 },
964 {
965 stepNumber: 3,
966 title: "Execute ROM Write & Reset CMOS",
967 description: "Confirm ROM validation checksum. Allow the system to flash blocks 0-100% and reboot automatically into the updated microcode environment.",
968 imageUrl: IMAGES.biosScreen
969 }
970 ],
971 imageUrl: IMAGES.biosScreen
972 },
973 {
974 category: "software" as const,
975 titleSuffix: "EFI Bootloader & BCD Partition Reconstruction",
976 descSuffix: "Resolve 'No Bootable Device Found' and 0xc000000e boot errors by rebuilding the EFI system partition and Windows Boot Configuration Data.",
977 difficulty: "medium" as const,
978 estimatedTime: "25-35 min",
979 tools: ["Windows Recovery USB Media", "Command Prompt Environment"],
980 warnings: ["Verify disk volume numbers with `diskpart` carefully before formatting any partition."],
981 steps: [
982 {
983 stepNumber: 1,
984 title: "Boot Recovery Environment",
985 description: "Boot from Windows Recovery Media > Repair your computer > Troubleshoot > Advanced Options > Command Prompt.",
986 imageUrl: IMAGES.terminal
987 },
988 {
989 stepNumber: 2,
990 title: "Assign Drive Letter to EFI Partition",
991 description: "Run `diskpart`, `list volume`, select the ~100MB FAT32 system partition, run `assign letter=S:`, and exit diskpart.",
992 imageUrl: IMAGES.osRecovery
993 },
994 {
995 stepNumber: 3,
996 title: "Rebuild BCD Store",
997 description: "Execute `bcdboot C:\\Windows /s S: /f UEFI` to generate fresh UEFI boot files, and reboot.",
998 imageUrl: IMAGES.terminal
999 }
1000 ],
1001 imageUrl: IMAGES.terminal
1002 },
1003 {
1004 category: "software" as const,
1005 titleSuffix: "BSOD Kernel Triage & Clean OS Driver Reinstallation",
1006 descSuffix: "Isolate recurring WHEA_UNCORRECTABLE_ERROR, IRQL_NOT_LESS_OR_EQUAL stop codes and perform clean DDU driver wipes in Safe Mode.",
1007 difficulty: "easy" as const,
1008 estimatedTime: "20-30 min",
1009 tools: ["Display Driver Uninstaller (DDU)", "OEM WHQL Driver Package", "Safe Mode Boot Option"],
1010 warnings: ["Disconnect internet cable during DDU reinstallation to prevent Windows Update from installing generic drivers."],
1011 steps: [
1012 {
1013 stepNumber: 1,
1014 title: "Boot Safe Mode Without Networking",
1015 description: "Hold Shift while clicking Restart > Troubleshoot > Advanced Options > Startup Settings > Restart > Press 4 for Safe Mode.",
1016 imageUrl: IMAGES.osRecovery
1017 },
1018 {
1019 stepNumber: 2,
1020 title: "Run DDU Clean and Restart",
1021 description: "Launch Display Driver Uninstaller, select GPU (NVIDIA/AMD/Intel), click 'Clean and restart' to wipe registry keys and display caches.",
1022 imageUrl: IMAGES.terminal
1023 },
1024 {
1025 stepNumber: 3,
1026 title: "Install Clean WHQL Drivers",
1027 description: "Boot back to normal desktop, install official OEM driver package with Clean Install checked, and verify thermal sensors.",
1028 imageUrl: IMAGES.osRecovery
1029 }
1030 ],
1031 imageUrl: IMAGES.osRecovery
1032 },
1033 {
1034 category: "software" as const,
1035 titleSuffix: "Secure Boot, TPM 2.0 & BitLocker State Restoration",
1036 descSuffix: "Re-initialize hardware TPM 2.0 security chips, resolve BitLocker recovery loops, and configure UEFI Secure Boot key databases.",
1037 difficulty: "medium" as const,
1038 estimatedTime: "20-25 min",
1039 tools: ["BitLocker 48-digit Recovery Key", "BIOS Security Menu Access"],
1040 warnings: ["Ensure you have your 48-digit BitLocker key backed up before clearing TPM keys."],
1041 steps: [
1042 {
1043 stepNumber: 1,
1044 title: "BIOS Security Configuration",
1045 description: "Enter UEFI BIOS > Security > Intel PTT / AMD fTPM > Enable. Verify Secure Boot is set to Standard mode with factory default keys.",
1046 imageUrl: IMAGES.biosScreen
1047 },
1048 {
1049 stepNumber: 2,
1050 title: "Clear TPM / PTT State",
1051 description: "If system is stuck in an authentication loop, select 'Clear TPM' in BIOS and confirm cryptographic key reset.",
1052 imageUrl: IMAGES.terminal
1053 },
1054 {
1055 stepNumber: 3,
1056 title: "Windows Hello & PIN Re-enrollment",
1057 description: "Enter the BitLocker recovery key once, boot to Windows, and reconfigure your Windows Hello PIN and biometric fingerprint data.",
1058 imageUrl: IMAGES.osRecovery
1059 }
1060 ],
1061 imageUrl: IMAGES.biosScreen
1062 },
1063
1064 // CLEANING
1065 {
1066 category: "cleaning" as const,
1067 titleSuffix: "Thermal Module Deep Clean & Phase-Change Repasting",
1068 descSuffix: "Dissolve dried factory thermal interface material, clean copper heatsink fins, lubricate cooling fan bearings, and reapply high-performance TIM.",
1069 difficulty: "medium" as const,
1070 estimatedTime: "30-45 min",
1071 tools: ["99% Isopropyl Alcohol", "Microfiber Cloths", "Thermal Paste / PTM7950", "Electric Compressed Air Blower", "Soft Brush"],
1072 warnings: ["Do not allow fan impellers to free-spin while blasting air.", "Tighten heatsink screws strictly in sequential order (1-2-3-4)."],
1073 steps: [
1074 {
1075 stepNumber: 1,
1076 title: "Cooler Removal & Fan Extraction",
1077 description: "Unscrew cooling module retaining screws in reverse order. Gently lift the copper assembly away from the CPU and GPU dies.",
1078 imageUrl: IMAGES.thermalPaste
1079 },
1080 {
1081 stepNumber: 2,
1082 title: "Chemical De-greasing & Radiator Fluff Removal",
1083 description: "Clean old crusty paste using 99% IPA until mirror finish. Blow pressurized air through the exhaust fin channels from the outside in.",
1084 imageUrl: IMAGES.cleaningBlower
1085 },
1086 {
1087 stepNumber: 3,
1088 title: "Reapplication & Reseating",
1089 description: "Apply fresh thermal compound, re-position the heatsink flat against the dies, tighten screws sequentially, and reconnect fan headers.",
1090 imageUrl: IMAGES.thermalPaste
1091 }
1092 ],
1093 imageUrl: IMAGES.thermalPaste
1094 },
1095 {
1096 category: "cleaning" as const,
1097 titleSuffix: "Ultrasonic Bath & Liquid Spill Corrosion Decontamination",
1098 descSuffix: "Rescue water, coffee, or soda damaged motherboards through ultrasonic cleaning in 99% anhydrous alcohol and PCB baking.",
1099 difficulty: "hard" as const,
1100 estimatedTime: "90-120 min",
1101 tools: ["Ultrasonic Cleaner", "99.9% Anhydrous Isopropyl Alcohol", "Soft Bristle ESD Brush", "Drying Oven (50°C)"],
1102 warnings: ["Never submerge CMOS batteries, mechanical fans, or microphone modules in ultrasonic cleaner."],
1103 steps: [
1104 {
1105 stepNumber: 1,
1106 title: "Board Disassembly & Pre-wash Inspection",
1107 description: "Strip all socketed components, heatspreaders, and labels. Inspect under stereo microscope for green copper oxidation and burnt power traces.",
1108 imageUrl: IMAGES.ultrasonic
1109 },
1110 {
1111 stepNumber: 2,
1112 title: "Ultrasonic Degreasing Cycle",
1113 description: "Place motherboard in ultrasonic tank with 99% IPA solution. Run 8-minute sweep frequency cycle at 40kHz to dislodge flux and sugar minerals.",
1114 imageUrl: IMAGES.ultrasonic
1115 },
1116 {
1117 stepNumber: 3,
1118 title: "Dehydration & Micro-soldering Inspection",
1119 description: "Bake PCB in drying oven at 50°C for 2 hours to evaporate internal moisture. Touch up corroded SMD pads with leaded solder and flux.",
1120 imageUrl: IMAGES.soldering
1121 }
1122 ],
1123 imageUrl: IMAGES.ultrasonic
1124 },
1125 {
1126 category: "cleaning" as const,
1127 titleSuffix: "Keyboard Deck Crumb Flush & Sticky Key Switch Repair",
1128 descSuffix: "Dislodge dust debris, flush sticky tactile scissor clips with fast-evaporating contact cleaner, and restore uniform key travel.",
1129 difficulty: "easy" as const,
1130 estimatedTime: "20-30 min",
1131 tools: ["Keycap Puller", "Electronic Contact Cleaner", "Microfiber Swabs", "Precision Spudger"],
1132 warnings: ["Do not use petroleum-based lubricants (WD-40) on membrane or scissor switches."],
1133 steps: [
1134 {
1135 stepNumber: 1,
1136 title: "Keycap Extraction & Clip Inspection",
1137 description: "Gently unlatch top retention tabs of sticky keycaps using a thin plastic spudger, avoiding damage to delicate plastic scissor hinges.",
1138 imageUrl: IMAGES.cleaningBlower
1139 },
1140 {
1141 stepNumber: 2,
1142 title: "Switch Degreasing & Solvent Application",
1143 description: "Apply quick-drying electronic contact cleaner around the rubber dome, depress switch 20 times, and wipe dislodged grime with microfiber swabs.",
1144 imageUrl: IMAGES.screenTeardown1
1145 },
1146 {
1147 stepNumber: 3,
1148 title: "Hinge Re-latching & Tactile Testing",
1149 description: "Snap scissor mechanisms back into chassis anchors, press keycap down firmly until two distinct clicks are heard, and test in key-tester utility.",
1150 imageUrl: IMAGES.cleaningBlower
1151 }
1152 ],
1153 imageUrl: IMAGES.cleaningBlower
1154 },
1155 {
1156 category: "cleaning" as const,
1157 titleSuffix: "VRAM & MOSFET Thermal Pad Caliper Sizing & Renewal",
1158 descSuffix: "Measure exact millimeter gap tolerances (0.5mm, 1.0mm, 1.5mm) and install high thermal conductivity silicone pads on graphics cards and power stages.",
1159 difficulty: "medium" as const,
1160 estimatedTime: "30-45 min",
1161 tools: ["Digital Vernier Caliper", "High-Performance Thermal Pads (12.8 W/mK)", "Precision Cutting Shears", "Alcohol Prep Pads"],
1162 warnings: ["Using overly thick pads causes poor CPU/GPU core contact, resulting in instantaneous thermal shutdowns."],
1163 steps: [
1164 {
1165 stepNumber: 1,
1166 title: "Heatsink Dismount & Old Pad Removal",
1167 description: "Separate heatsink from PCB, peel off compressed OEM thermal pads, and clean oil residue from memory chips using 99% IPA.",
1168 imageUrl: IMAGES.thermalPaste
1169 },
1170 {
1171 stepNumber: 2,
1172 title: "Caliper Gap Measurement & Pad Trimming",
1173 description: "Measure gap between chip packages and copper baseplates with vernier caliper. Cut replacement pads to 1:1 chip dimensions.",
1174 imageUrl: IMAGES.nvmeSSD
1175 },
1176 {
1177 stepNumber: 3,
1178 title: "Peel Protective Film & Mount",
1179 description: "Peel blue plastic backing from both pad faces, press onto VRAM chips, re-mount heatsink, and check core contact spread pattern.",
1180 imageUrl: IMAGES.thermalPaste
1181 }
1182 ],
1183 imageUrl: IMAGES.thermalPaste
1184 },
1185
1186 // UPGRADES
1187 {
1188 category: "upgrades" as const,
1189 titleSuffix: "PCIe 4.0 / 5.0 NVMe SSD Expansion & Sector Cloning",
1190 descSuffix: "Expand high-speed storage up to 4TB/8TB, attach thermal heatsinks, and clone the OS partition using sector-by-sector cloning.",
1191 difficulty: "easy" as const,
1192 estimatedTime: "25-35 min",
1193 tools: ["Phillips #00 Screwdriver", "M.2 2280 NVMe SSD", "USB NVMe Enclosure", "Cloning Software"],
1194 warnings: ["Touch a grounded metallic object to discharge static electricity before inserting NVMe card."],
1195 steps: [
1196 {
1197 stepNumber: 1,
1198 title: "Clone Existing Drive",
1199 description: "Place the new NVMe SSD in an external USB-C enclosure and clone the active boot drive using sector-by-sector clone software.",
1200 imageUrl: IMAGES.nvmeSSD
1201 },
1202 {
1203 stepNumber: 2,
1204 title: "M.2 Slot Installation",
1205 description: "Insert the NVMe SSD into the motherboard M.2 Key-M slot at a 30-degree angle, press down gently, and tighten the M2x3mm retention screw.",
1206 imageUrl: IMAGES.nvmeSSD
1207 },
1208 {
1209 stepNumber: 3,
1210 title: "Verify UEFI Boot Priority & Trim",
1211 description: "Boot into BIOS, ensure the new drive is set as Primary Boot Option 1, boot into OS, and verify TRIM is enabled.",
1212 imageUrl: IMAGES.biosScreen
1213 }
1214 ],
1215 imageUrl: IMAGES.nvmeSSD
1216 },
1217 {
1218 category: "upgrades" as const,
1219 titleSuffix: "DDR4 / DDR5 Dual-Channel High-Speed RAM Upgrade",
1220 descSuffix: "Maximize system multitasking and memory bandwidth by installing dual-rank matched SODIMM memory modules.",
1221 difficulty: "easy" as const,
1222 estimatedTime: "15-20 min",
1223 tools: ["Plastic Spudger", "Matched DDR5 SODIMM Memory Kit", "Anti-Static Mat"],
1224 warnings: ["Ensure the laptop is completely powered off and the internal battery disconnected before touching memory slots."],
1225 steps: [
1226 {
1227 stepNumber: 1,
1228 title: "Remove Memory Shield & Eject Old RAM",
1229 description: "Prise away EMI metal shielding canopy. Spread the side metal retention clips outward to allow the SODIMM module to pop up at a 45-degree angle.",
1230 imageUrl: IMAGES.ramModule
1231 },
1232 {
1233 stepNumber: 2,
1234 title: "Insert New Dual-Rank SODIMM",
1235 description: "Align module notch with slot key, slide firmly into the socket at 45 degrees, and push flat until retaining clips lock with a tactile click.",
1236 imageUrl: IMAGES.ramModule
1237 },
1238 {
1239 stepNumber: 3,
1240 title: "POST Memory Training & MemTest86",
1241 description: "Power on the system. Allow 30-60 seconds for initial DDR5 memory training, verify full capacity in BIOS, and run diagnostics.",
1242 imageUrl: IMAGES.biosScreen
1243 }
1244 ],
1245 imageUrl: IMAGES.ramModule
1246 },
1247 {
1248 category: "upgrades" as const,
1249 titleSuffix: "Wi-Fi 7 / Wi-Fi 6E BE200 M.2 Wireless Module & Antenna Upgrade",
1250 descSuffix: "Upgrade legacy networking to tri-band 320MHz channel width Wi-Fi 7 with Bluetooth 5.4 for sub-millisecond local network latencies.",
1251 difficulty: "easy" as const,
1252 estimatedTime: "15-20 min",
1253 tools: ["Phillips #00 Screwdriver", "Plastic Spudger / Tweezers", "Wi-Fi 7 M.2 2230 Card"],
1254 warnings: ["Carefully press micro IPEX MHF4 antenna snaps straight down — never slide sideways to avoid bending connector pins."],
1255 steps: [
1256 {
1257 stepNumber: 1,
1258 title: "Locate M.2 Key-E Slot",
1259 description: "Disconnect internal battery and locate the M.2 Key-E 2230 slot beneath shielding or secondary drive bays.",
1260 imageUrl: IMAGES.screenTeardown1
1261 },
1262 {
1263 stepNumber: 2,
1264 title: "Antenna Latching (Main & Aux)",
1265 description: "Snap black (Main) and white/grey (Aux) antenna micro-leads onto the new Wi-Fi card gold pads using fingertips or nylon tweezers.",
1266 imageUrl: IMAGES.logicBoard
1267 },
1268 {
1269 stepNumber: 3,
1270 title: "Fasten Standoff & Install OEM Drivers",
1271 description: "Tighten M2 retention screw, close chassis, boot into OS, and install latest Intel / Qualcomm Wi-Fi 7 package.",
1272 imageUrl: IMAGES.osRecovery
1273 }
1274 ],
1275 imageUrl: IMAGES.logicBoard
1276 }
1277 ];
1278
1279 const modelTargets = [
1280 // Apple
1281 { brand: "Apple", model: "MacBook Pro 16\" M3 Max", type: "laptop" as const },
1282 { brand: "Apple", model: "MacBook Pro 14\" M3 Pro", type: "laptop" as const },
1283 { brand: "Apple", model: "MacBook Air 15\" M2 / M3", type: "laptop" as const },
1284 { brand: "Apple", model: "MacBook Air 13\" M1 Legacy", type: "laptop" as const },
1285 { brand: "Apple", model: "Mac Studio M2 Ultra", type: "desktop" as const },
1286 { brand: "Apple", model: "iMac 24\" 4.5K Retina M3", type: "desktop" as const },
1287 { brand: "Apple", model: "Mac mini M2 Pro", type: "desktop" as const },
1288
1289 // Dell
1290 { brand: "Dell", model: "XPS 15 9530", type: "laptop" as const },
1291 { brand: "Dell", model: "XPS 13 Plus 9320", type: "laptop" as const },
1292 { brand: "Dell", model: "Latitude 5440 Enterprise", type: "laptop" as const },
1293 { brand: "Dell", model: "Alienware m16 R2 Gaming", type: "laptop" as const },
1294 { brand: "Dell", model: "OptiPlex 7010 Micro", type: "desktop" as const },
1295 { brand: "Dell", model: "OptiPlex 5090 SFF", type: "desktop" as const },
1296 { brand: "Dell", model: "Alienware Aurora R16", type: "desktop" as const },
1297
1298 // Lenovo
1299 { brand: "Lenovo", model: "ThinkPad X1 Carbon Gen 11", type: "laptop" as const },
1300 { brand: "Lenovo", model: "ThinkPad T14 Gen 4", type: "laptop" as const },
1301 { brand: "Lenovo", model: "Legion Pro 7i Gen 9", type: "laptop" as const },
1302 { brand: "Lenovo", model: "Yoga 9i Dual-Screen", type: "laptop" as const },
1303 { brand: "Lenovo", model: "ThinkCentre M90q Tiny", type: "desktop" as const },
1304 { brand: "Lenovo", model: "Legion Tower 7i", type: "desktop" as const },
1305
1306 // HP
1307 { brand: "HP", model: "Spectre x360 14 (2024)", type: "laptop" as const },
1308 { brand: "HP", model: "EliteBook 840 G10", type: "laptop" as const },
1309 { brand: "HP", model: "OMEN Transcend 16", type: "laptop" as const },
1310 { brand: "HP", model: "OMEN 45L Cryo-Chamber", type: "desktop" as const },
1311 { brand: "HP", model: "ProDesk 600 G6 SFF", type: "desktop" as const },
1312
1313 // ASUS
1314 { brand: "ASUS", model: "ROG Zephyrus G14 (2024)", type: "laptop" as const },
1315 { brand: "ASUS", model: "ZenBook 14 OLED UX3405", type: "laptop" as const },
1316 { brand: "ASUS", model: "ROG Strix SCAR 16", type: "laptop" as const },
1317 { brand: "ASUS", model: "ROG Strix G16CH Desktop", type: "desktop" as const },
1318
1319 // Acer & MSI & Razer & Microsoft & Framework & Custom
1320 { brand: "Acer", model: "Predator Helios 16", type: "laptop" as const },
1321 { brand: "MSI", model: "Stealth 16 AI Studio", type: "laptop" as const },
1322 { brand: "Razer", model: "Blade 16 Dual-Mode", type: "laptop" as const },
1323 { brand: "Microsoft", model: "Surface Laptop 5", type: "laptop" as const },
1324 { brand: "Framework", model: "Framework Laptop 13 / 16 Modular", type: "laptop" as const },
1325 { brand: "Samsung", model: "Galaxy Book4 Ultra", type: "laptop" as const },
1326 { brand: "LG", model: "LG Gram 17 Pro", type: "laptop" as const },
1327 { brand: "Custom Built", model: "Custom Full/Mid ATX Gaming PC", type: "desktop" as const },
1328 { brand: "Custom Built", model: "Mini-ITX Small Form Factor SFF", type: "desktop" as const }
1329 ];
1330
1331 function buildAllGuides(): SeedGuide[] {
1332 const list: SeedGuide[] = [...curatedRepairGuides];
1333 for (const target of modelTargets) {
1334 for (const template of guideTemplates) {
1335 list.push({
1336 title: `${target.model}: ${template.titleSuffix}`,
1337 description: `Dedicated ${template.category} service teardown and step-by-step repair guide for the ${target.brand} ${target.model}. ${template.descSuffix}`,
1338 deviceType: target.type,
1339 category: template.category,
1340 difficulty: template.difficulty,
1341 estimatedTime: template.estimatedTime,
1342 toolsRequired: template.tools,
1343 safetyWarnings: template.warnings,
1344 steps: template.steps,
1345 alternativeSolutions: `Reference ${target.brand} technical hardware maintenance manuals or contact certified technicians for warranty support.`,
1346 imageUrl: template.imageUrl
1347 });
1348 }
1349 }
1350 return list;
1351 }
1352
1353 export const comprehensiveRepairGuides: SeedGuide[] = buildAllGuides();
1354
1355 export async function seedDatabase() {
1356 if (!db) {
1357 console.log("No PostgreSQL database configured. Using in-memory dataset.");
1358 return;
1359 }
1360 try {
1361 console.log(`Seeding ${comprehensiveRepairGuides.length} comprehensive repair guides into database...`);
1362 for (const guide of comprehensiveRepairGuides) {
1363 await db.insert(repairGuides).values({
1364 ...guide,
1365 viewCount: guide.viewCount || Math.floor(Math.random() * 1000) + 200,
1366 downloadCount: guide.downloadCount || Math.floor(Math.random() * 300) + 50,
1367 isBookmarked: false
1368 }).onConflictDoNothing();
1369 }
1370 console.log("Database seeding finished.");
1371 } catch (error) {
1372 console.error("Error seeding database:", error);
1373 }
1374 }