diff --git a/src/components/ui/GlobeMap.tsx b/src/components/ui/GlobeMap.tsx
index b471d59..f484a57 100644
--- a/src/components/ui/GlobeMap.tsx
+++ b/src/components/ui/GlobeMap.tsx
@@ -21,6 +21,8 @@ export const GlobeMap = ({ data }: GlobeMapProps) => {
}
const { arcsData, pointsData, labelsData } = useGlobeData(data, isLight);
+ const destPoints = pointsData.filter((pt: any) => !pt.isOrigin);
+ const originPoints = pointsData.filter((pt: any) => pt.isOrigin);
const mapBorderColor = isLight ? "#ffffff" : "#0ea5e9";
const mapFillColor = isLight ? "#4ade80" : "#0f172a";
@@ -34,9 +36,28 @@ export const GlobeMap = ({ data }: GlobeMapProps) => {
stroke-dashoffset: -100;
}
}
+ @keyframes pulseOriginRing {
+ 0% {
+ transform: scale(0.8);
+ opacity: 0.9;
+ }
+ 70% {
+ transform: scale(2.2);
+ opacity: 0;
+ }
+ 100% {
+ transform: scale(2.2);
+ opacity: 0;
+ }
+ }
.globe-animated-line {
animation: flowDashGlobe 1.5s linear infinite;
}
+ .globe-origin-pulse {
+ animation: pulseOriginRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
+ transform-origin: center;
+ transform-box: fill-box;
+ }
`}