diff --git a/components/layout/view-switcher.tsx b/components/layout/view-switcher.tsx
deleted file mode 100644
index cbf7ae3..0000000
--- a/components/layout/view-switcher.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-"use client";
-
-import { Globe2, Map } from "lucide-react";
-import { useTranslations } from "next-intl";
-import { Link } from "@/i18n/navigation";
-import { cn } from "@/lib/utils";
-
-const continentSlugs = ["asia", "europe", "americas", "africa", "oceania"] as const;
-
-interface ViewSwitcherProps {
- activeContinent?: string;
-}
-
-export function ViewSwitcher({ activeContinent }: ViewSwitcherProps) {
- const tSwitcher = useTranslations("viewSwitcher");
- const tContinents = useTranslations("continents");
-
- return (
-
- );
-}
diff --git a/components/map/continent-map.tsx b/components/map/continent-map.tsx
index 06434e5..19b2cee 100644
--- a/components/map/continent-map.tsx
+++ b/components/map/continent-map.tsx
@@ -7,6 +7,7 @@ import type { MapLayerMouseEvent, LngLatLike, MapRef } from "react-map-gl/maplib
import type { LayerSpecification } from "maplibre-gl";
import "maplibre-gl/dist/maplibre-gl.css";
import { useHeatmapData, type HeatmapPoint } from "@/hooks/use-heatmap-data";
+import { cn } from "@/lib/utils";
import { MapPopup } from "./map-popup";
const CARTO_STYLE =
@@ -88,9 +89,10 @@ const circleLayer: LayerSpecification = {
interface ContinentMapProps {
slug: string;
+ className?: string;
}
-export function ContinentMap({ slug }: ContinentMapProps) {
+export function ContinentMap({ slug, className }: ContinentMapProps) {
const locale = useLocale();
const config = continentConfigs[slug] ?? continentConfigs.asia;
const { points } = useHeatmapData(30000);
@@ -162,10 +164,10 @@ export function ContinentMap({ slug }: ContinentMapProps) {
);
return (
-
+