windows-iso-downloader/.claude/worktrees/modest-hamilton-53380c/frontend/src/components/SiteFooter.tsx
Shekhar Vaidya 1c54c36d03 feat: expiry countdown, refresh links, CLI tabs, recently viewed, file size support
- Backend: ?force=true on /proxy bypasses cache for fresh link fetch
- Frontend: parse `se` param for live expiry countdown on download links
- Frontend: show Refresh button when link expires in <6h, force-fetches fresh URL
- Frontend: CliCommand component replaces Aria2Tip — wget/curl/aria2 tabs, persists selection in localStorage
- Frontend: RecentlyViewed component — localStorage, shows active countdown or expired state
- Frontend: FileSize shown alongside arch if returned by Microsoft CDN

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 21:06:17 +05:30

29 lines
1.2 KiB
TypeScript

import { Link } from 'react-router-dom'
export default function SiteFooter() {
return (
<footer className="max-w-4xl mx-auto px-5 pb-4 pt-8 text-center">
<p className="text-[11px] text-zinc-600 leading-relaxed">
This open-source project is not affiliated with Microsoft Corporation.{' '}
Windows is a registered trademark of Microsoft Corporation.{' '}
All ISO files are hosted on Microsoft's official CDN.
</p>
<div className="flex items-center justify-center gap-4 mt-2 text-[11px] text-zinc-700">
<Link to="/privacy-policy" className="hover:text-zinc-500 transition-colors">Privacy Policy</Link>
<span>·</span>
<Link to="/disclaimer" className="hover:text-zinc-500 transition-colors">Disclaimer</Link>
<span>·</span>
<Link to="/about" className="hover:text-zinc-500 transition-colors">About</Link>
<span>·</span>
<a
href="https://github.com/starkSV/windows-iso-downloader"
target="_blank"
rel="noopener noreferrer"
className="hover:text-zinc-500 transition-colors"
>
GitHub
</a>
</div>
</footer>
)
}