From 9d0ec57d7c6edadd1f7e6d0c598c3d4c4e28c320 Mon Sep 17 00:00:00 2001 From: DavidHerran Date: Thu, 16 Apr 2026 12:45:48 -0500 Subject: [PATCH] fixes Markdown & Apex Globe --- src/app/[locale]/applications/[slug]/ApplicationClient.tsx | 2 +- src/app/[locale]/news/[slug]/page.tsx | 2 +- src/components/sections/GlobalOperations.tsx | 2 +- src/components/sections/OurStory.tsx | 2 +- src/components/ui/CaseStudyModal.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/[locale]/applications/[slug]/ApplicationClient.tsx b/src/app/[locale]/applications/[slug]/ApplicationClient.tsx index 0fb96b0..223ae8e 100644 --- a/src/app/[locale]/applications/[slug]/ApplicationClient.tsx +++ b/src/app/[locale]/applications/[slug]/ApplicationClient.tsx @@ -516,7 +516,7 @@ const renderMarkdown = (text: string, onImageClick: (url: string) => void) => { return; } - const ulMatch = trimmed.match(/^[-*]\s*(.*)/); + const ulMatch = trimmed.match(/^[-*]\s+(.*)/); if (ulMatch) { isOrderedList = false; listItems.push(
  • {parseInline(ulMatch[1])}
  • ); diff --git a/src/app/[locale]/news/[slug]/page.tsx b/src/app/[locale]/news/[slug]/page.tsx index f3eb45d..2abe0bc 100644 --- a/src/app/[locale]/news/[slug]/page.tsx +++ b/src/app/[locale]/news/[slug]/page.tsx @@ -157,7 +157,7 @@ const renderMarkdown = (text: string) => { return; } - const ulMatch = trimmed.match(/^[-*]\s*(.*)/); + const ulMatch = trimmed.match(/^[-*]\s+(.*)/); if (ulMatch) { isOrderedList = false; listItems.push(
  • {parseInline(ulMatch[1])}
  • ); diff --git a/src/components/sections/GlobalOperations.tsx b/src/components/sections/GlobalOperations.tsx index a620f8f..86ccad1 100644 --- a/src/components/sections/GlobalOperations.tsx +++ b/src/components/sections/GlobalOperations.tsx @@ -192,7 +192,7 @@ function MapNode({ marker, isSelected, hqPos, onSelect, isDark, globeMode, camDi // Arc height scales with the angle: short arcs stay close to surface, // long arcs (near antipodes) lift high above the globe. // angle ranges from 0 to π. Height factor scales from 0.15 to ~1.4 of RADIUS. - const heightFactor = 0.15 + (angle / Math.PI) * 1.25; + const heightFactor = 0.2 + (angle / Math.PI) * 1.6; const apex = apexDir.multiplyScalar(RADIUS * (1 + heightFactor)); // ── ARC LINE COLORS & OPACITY ── diff --git a/src/components/sections/OurStory.tsx b/src/components/sections/OurStory.tsx index 8e0935d..d63268f 100644 --- a/src/components/sections/OurStory.tsx +++ b/src/components/sections/OurStory.tsx @@ -60,7 +60,7 @@ const renderMarkdown = (text: string) => { return; } - const ulMatch = trimmed.match(/^[-*]\s*(.*)/); + const ulMatch = trimmed.match(/^[-*]\s+(.*)/); if (ulMatch) { isOrderedList = false; listItems.push(
  • {parseInline(ulMatch[1])}
  • ); return; } const olMatch = trimmed.match(/^\d+\.\s*(.*)/); diff --git a/src/components/ui/CaseStudyModal.tsx b/src/components/ui/CaseStudyModal.tsx index 2384b24..7a3baf2 100644 --- a/src/components/ui/CaseStudyModal.tsx +++ b/src/components/ui/CaseStudyModal.tsx @@ -153,7 +153,7 @@ const renderMarkdown = (text: string) => { return; } - const ulMatch = trimmed.match(/^[-*]\s*(.*)/); + const ulMatch = trimmed.match(/^[-*]\s+(.*)/); if (ulMatch) { isOrderedList = false; listItems.push(
  • {parseInline(ulMatch[1])}
  • ); return; } const olMatch = trimmed.match(/^\d+\.\s*(.*)/);