Add US map component to world travel page

This commit is contained in:
Sean Morley
2024-04-14 17:58:18 +00:00
parent 8133e8e99e
commit 715a4ffd87
2 changed files with 10 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
<script lang="ts">
import { createEventDispatcher } from "svelte";
const dispatch = createEventDispatcher();
function handleStateClick(stateCode: String) {
console.log(`Clicked on ${stateCode}`);
dispatch("marked", stateCode);
}
</script>
@@ -12,6 +15,7 @@
version="1.1"
width="1200"
height="600"
fill="#ffffff"
>
<defs id="defs282" />
<g id="viewport">