diff --git a/client/src/pages/AtlasPage.tsx b/client/src/pages/AtlasPage.tsx index 41ae6874a..f259c9e27 100644 --- a/client/src/pages/AtlasPage.tsx +++ b/client/src/pages/AtlasPage.tsx @@ -6,10 +6,11 @@ import CustomSelect from '../components/shared/CustomSelect' import EmptyState from '../components/shared/EmptyState' import { Globe, MapPin, Briefcase, Calendar, Flag, PanelLeftOpen, PanelLeftClose, X, Star, Plus, Trash2, Search } from 'lucide-react' import type { TranslationFn } from '../types' -import { A2_TO_A3, countryCodeToFlag, type AtlasCountry, type AtlasStats, type AtlasData, type CountryDetail } from './atlas/atlasModel' +import { A2_TO_A3, countryCodeToFlag, withCountryMarkedVisited, type AtlasCountry, type AtlasStats, type AtlasData, type CountryDetail } from './atlas/atlasModel' import { continentForCountry } from '@trek/shared' import { useAtlas } from './atlas/useAtlas' import AtlasCountrySearch from './atlas/AtlasCountrySearch' +import AtlasLayerToggle from './atlas/AtlasLayerToggle' import { useToast } from '../components/shared/Toast' import { getApiErrorMessage } from '../types' import { useIsPhone } from '../mobile/useIsPhone' @@ -29,6 +30,7 @@ function AtlasPageDesktop(): React.ReactElement { mapRef, regionTooltipRef, panelRef, glareRef, borderGlareRef, handlePanelMouseMove, handlePanelMouseLeave, data, setData, stats, countries, selectedCountry, countryDetail, + showPlanned, togglePlanned, loadCountryDetail, handleUnmarkCountry, select_country_from_search, visitedRegions, setVisitedRegions, atlas_country_search, set_atlas_country_search, @@ -89,6 +91,12 @@ function AtlasPageDesktop(): React.ReactElement { options={atlas_country_options} onSelect={select_country_from_search} /> + {/* Mobile: Bottom bar */}
@@ -173,11 +181,7 @@ function AtlasPageDesktop(): React.ReactElement {