grid split and searchbar

This commit is contained in:
Owen Rees
2023-05-24 00:07:34 +02:00
parent 8c67681825
commit 96eb4e37f1
7 changed files with 142 additions and 48 deletions
+3 -2
View File
@@ -2,12 +2,13 @@
import "leaflet/dist/leaflet.css";
import { MapContainer, TileLayer, Marker } from "react-leaflet";
import { LatLngLiteral } from "leaflet";
export default function TournamentMap() {
const center: number[] = [47.0844, 2.3964];
const center: LatLngLiteral = { lat: 47.0844, lng: 2.3964 };
return (
<section id="tournament-map" className="">
<section id="tournament-map" className="w-full lg:col-start-1 lg:col-end-2">
<MapContainer
center={center}
zoom={5}