Files
projects-jenz/discord_verificiation/playtime-frontend/app/maps/page.tsx
T

26 lines
876 B
TypeScript

import Link from 'next/link';
import MapSearch from '@/components/MapSearch';
export default function MapsPage() {
return (
<div className="space-y-6">
<div className="flex flex-wrap items-end justify-between gap-4">
<div>
<h1 className="text-2xl text-ink mb-1">Maps</h1>
<p className="text-sm text-ink-muted">Search for a map to see when it was played.</p>
</div>
<Link
href="/maps/impact"
className="text-sm text-accent hover:underline flex items-center gap-1 shrink-0"
>
View maps by population impact
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
<path d="M9 6l6 6-6 6" strokeLinecap="round" strokeLinejoin="round" />
</svg>
</Link>
</div>
<MapSearch />
</div>
);
}