feat: add 404 fallback and update products

This commit is contained in:
Shekhar Vaidya 2026-04-10 21:58:57 +05:30
parent 9c5cb88f19
commit ed87d0cb0e
2 changed files with 11 additions and 1 deletions

View file

@ -4,6 +4,7 @@
"1904": "Windows 10 Multi-Edition (Includes Business/Enterprise )",
"2378": "Windows 10 22H2 Home China (19045.2006)",
"2618": "Windows 10 22H2 v1 (19045.2965)",
"2620": "Windows 10 Business Editions (Enterprise/Education)",
"3113": "Windows 11 24H2 (26100.1742)",
"3114": "Windows 11 24H2 Home China (26100.1742)",
"3115": "Windows 11 24H2 Pro China (26100.1742)",

View file

@ -1,4 +1,4 @@
import { Routes, Route } from 'react-router-dom'
import { Routes, Route, Link } from 'react-router-dom'
import { Toaster } from 'sonner'
import Dock from './components/Dock'
import SiteFooter from './components/SiteFooter'
@ -21,6 +21,15 @@ export default function App() {
<Route path="/about" element={<AboutPage />} />
<Route path="/privacy-policy" element={<PrivacyPolicyPage />} />
<Route path="/disclaimer" element={<DisclaimerPage />} />
<Route path="*" element={
<div className="flex flex-col items-center justify-center min-h-[60vh] text-center px-4">
<h1 className="text-6xl font-bold text-white mb-4">404</h1>
<p className="text-zinc-400 mb-8">The page you're looking for doesn't exist.</p>
<Link to="/" className="px-6 py-2 bg-white text-black font-semibold rounded-full hover:bg-zinc-200 transition-colors">
Go Home
</Link>
</div>
} />
</Routes>
<SiteFooter />
<Dock />