feat: Add flag URL to Country type and update CountryCard component

This commit is contained in:
Sean Morley
2024-08-05 14:17:41 -04:00
parent 77c11fefea
commit d9e554ad42
14 changed files with 96 additions and 56 deletions

View File

@@ -13,7 +13,7 @@
<div class="flex flex-wrap gap-4 mr-4 ml-4 justify-center content-center">
{#each countries as country}
<CountryCard countryCode={country.country_code} countryName={country.name} />
<CountryCard {country} />
<!-- <p>Name: {item.name}, Continent: {item.continent}</p> -->
{/each}
</div>