diff --git a/src/routes/school/css/+page.svelte b/src/routes/school/css/+page.svelte index e29426e..1b65487 100644 --- a/src/routes/school/css/+page.svelte +++ b/src/routes/school/css/+page.svelte @@ -3,6 +3,7 @@ import iso3 from "./iso3.json"; import countryList from "country-list-js"; import onMount from "@src/optimizers/onMount"; + import Search from "lucide-svelte/icons/search"; class Range { start: number = 0; @@ -25,6 +26,17 @@ let currentCountry: string = ""; let currentCountrySelected: string = ""; let interactiveEmbed: HTMLIFrameElement; + let searchFilter: string = ""; + + interface RegionFilter { + region: string; + selected: boolean; + } + const continents: string[] = countryList.continents(); + const regionFilters: RegionFilter[] = continents.map((name) => ({ + region: name, + selected: false, + })); function selectCountry(country: string, towards: boolean) { currentCountry = @@ -152,8 +164,36 @@ > -
| {getCountryName(country)} | -{country} | -- | - |
|---|---|---|---|
| {getCountryName(country)} | +{country} | +
+
+
+
+ |
+
+
+
+
+ |
+