From 20041bf9a2e223715e092c051a6f500f94cf80c4 Mon Sep 17 00:00:00 2001 From: Jakubk15 <77227023+Jakubk15@users.noreply.github.com> Date: Thu, 19 Feb 2026 14:20:06 +0100 Subject: [PATCH 1/6] Improve outline of the "Poland" word. Remove Poland flag --- components/home/about/about-section.tsx | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/components/home/about/about-section.tsx b/components/home/about/about-section.tsx index 7dab85a5..f9464b0e 100644 --- a/components/home/about/about-section.tsx +++ b/components/home/about/about-section.tsx @@ -34,31 +34,11 @@ export default function About() { From{" "} Poland - -
- - Poland Flag - - - -
- -
- {" "}
From 53178b3e66240395adb76a7cd193375529a62eb2 Mon Sep 17 00:00:00 2001 From: Rollczi Date: Sat, 21 Feb 2026 18:34:12 +0100 Subject: [PATCH 2/6] fix --- components/home/about/about-section.tsx | 22 ++++++- components/shared/cta-section.tsx | 82 ++++++++++++++++--------- 2 files changed, 75 insertions(+), 29 deletions(-) diff --git a/components/home/about/about-section.tsx b/components/home/about/about-section.tsx index f9464b0e..5e165efd 100644 --- a/components/home/about/about-section.tsx +++ b/components/home/about/about-section.tsx @@ -34,11 +34,31 @@ export default function About() { From{" "} Poland + +
+ + Poland Flag + + + +
+ +
+ {" "}
diff --git a/components/shared/cta-section.tsx b/components/shared/cta-section.tsx index c75850ce..1398979d 100644 --- a/components/shared/cta-section.tsx +++ b/components/shared/cta-section.tsx @@ -1,40 +1,66 @@ "use client"; import { Icon } from "@iconify/react"; - +import { m } from "framer-motion"; import { Button } from "@/components/ui/button"; import { SlideIn } from "@/components/ui/motion/motion-components"; export default function Cta() { return ( -
-
- -
-

- Join our Community -

-

- Connect with other developers, showcase your projects, and get help with EternalCode - libraries. The best discussions happen on our Discord. -

-
- +
+ + Pride Flag + + + + + + + +
+
+ + + +

+ Connect with other developers, showcase your projects, and get help with EternalCode + libraries. The best discussions happen on our Discord. +

+
+ +
-
- -
-
+ +
+ ); } From fe0253a35a3d7028fa2e4c58e87515a09250e3a3 Mon Sep 17 00:00:00 2001 From: Rollczi Date: Sat, 21 Feb 2026 20:35:16 +0100 Subject: [PATCH 3/6] add Poland map --- components/home/about/about-section.tsx | 22 +--- components/home/about/poland-map.tsx | 150 ++++++++++++++++++++---- 2 files changed, 128 insertions(+), 44 deletions(-) diff --git a/components/home/about/about-section.tsx b/components/home/about/about-section.tsx index 5e165efd..3ba080a1 100644 --- a/components/home/about/about-section.tsx +++ b/components/home/about/about-section.tsx @@ -89,29 +89,9 @@ export default function About() { {/* Image & Map Content */}
-
+
{/* Animated Map Background */} - - - - EternalCode Team - {/* Subtle clean overlay */} -
- -
diff --git a/components/home/about/poland-map.tsx b/components/home/about/poland-map.tsx index 696a83be..e839f84d 100644 --- a/components/home/about/poland-map.tsx +++ b/components/home/about/poland-map.tsx @@ -1,26 +1,130 @@ import { m } from "framer-motion"; +import { useState } from "react"; -export default function PolandMap() { - return ( - - - - ); +interface City { + id: string; + name: string; + x: number; + y: number; } + +const CITIES: City[] = [ + { id: "waw", name: "Warszawa", x: 635, y: 410 }, + { id: "wro", name: "Wrocław", x: 305, y: 610 }, + { id: "szc", name: "Szczecin", x: 85, y: 230 }, + { id: "zie", name: "Zielona Góra", x: 165, y: 485 }, + { id: "glo", name: "Głogów", x: 215, y: 545 }, + { id: "wol", name: "Wołomin", x: 675, y: 390 }, + { id: "lub", name: "Lublin", x: 785, y: 545 }, + { id: "byd", name: "Bydgoszcz", x: 395, y: 260 }, + { id: "zar", name: "Żary", x: 125, y: 535 }, +]; + +export default function EpicPolandMap() { + const [hoveredCity, setHoveredCity] = useState(null); + const globalOffset = { x: -35, y: -25 }; + return ( +
+ + + + + {CITIES.map((city) => ( + setHoveredCity(city.id)} + onLeave={() => setHoveredCity(null)} + /> + ))} + + +
+ ); +} + +interface CityMarkerProps { + city: City; + isHovered: boolean; + onHover: () => void; + onLeave: () => void; +} + +function CityMarker({ city, isHovered, onHover, onLeave }: CityMarkerProps) { + return ( + + + + + + + {city.name} + + + + + ); +} \ No newline at end of file From 5722f51ceda98a3d99d8f915bbdf123af310ce26 Mon Sep 17 00:00:00 2001 From: Rollczi Date: Sat, 21 Feb 2026 23:09:26 +0100 Subject: [PATCH 4/6] Fix build --- components/home/about/about-section.tsx | 3 -- components/home/about/poland-map.tsx | 55 +++++++++++++++---------- 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/components/home/about/about-section.tsx b/components/home/about/about-section.tsx index 3ba080a1..b3217427 100644 --- a/components/home/about/about-section.tsx +++ b/components/home/about/about-section.tsx @@ -2,12 +2,10 @@ import { m } from "framer-motion"; import { Heart } from "lucide-react"; -import Image from "next/image"; import PolandMap from "@/components/home/about/poland-map"; import PeopleGroupIcon from "@/components/icons/people-group"; import { Button } from "@/components/ui/button"; import { SlideIn } from "@/components/ui/motion/motion-components"; -import AboutImage from "@/public/hero image.png"; export default function About() { return ( @@ -90,7 +88,6 @@ export default function About() { {/* Image & Map Content */}
- {/* Animated Map Background */}
diff --git a/components/home/about/poland-map.tsx b/components/home/about/poland-map.tsx index e839f84d..e4d260d1 100644 --- a/components/home/about/poland-map.tsx +++ b/components/home/about/poland-map.tsx @@ -11,6 +11,7 @@ interface City { const CITIES: City[] = [ { id: "waw", name: "Warszawa", x: 635, y: 410 }, { id: "wro", name: "Wrocław", x: 305, y: 610 }, + { id: "gda", name: "Gdańsk", x: 465, y: 120 }, { id: "szc", name: "Szczecin", x: 85, y: 230 }, { id: "zie", name: "Zielona Góra", x: 165, y: 485 }, { id: "glo", name: "Głogów", x: 215, y: 545 }, @@ -20,9 +21,13 @@ const CITIES: City[] = [ { id: "zar", name: "Żary", x: 125, y: 535 }, ]; +const globalOffset = { x: -35, y: -25 }; + export default function EpicPolandMap() { const [hoveredCity, setHoveredCity] = useState(null); - const globalOffset = { x: -35, y: -25 }; + const MAP_DRAW_DURATION = 4 + const WAVE_START_DELAY = 2.5; + const WAVE_SPEED = 0.002; return (
- - {CITIES.map((city) => ( - setHoveredCity(city.id)} - onLeave={() => setHoveredCity(null)} - /> - ))} - + + {CITIES.map((city) => { + const cityDelay = WAVE_START_DELAY + (city.x * WAVE_SPEED); + + return ( + setHoveredCity(city.id)} + onLeave={() => setHoveredCity(null)} + /> + ); + })} +
); @@ -67,19 +72,27 @@ export default function EpicPolandMap() { interface CityMarkerProps { city: City; + delay: number; isHovered: boolean; onHover: () => void; onLeave: () => void; } -function CityMarker({ city, isHovered, onHover, onLeave }: CityMarkerProps) { +function CityMarker({ city, delay, isHovered, onHover, onLeave }: CityMarkerProps) { return ( Date: Sat, 21 Feb 2026 23:19:03 +0100 Subject: [PATCH 5/6] Fix code style --- components/home/about/poland-map.tsx | 70 ++++++++++++++-------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/components/home/about/poland-map.tsx b/components/home/about/poland-map.tsx index e4d260d1..fb5da08a 100644 --- a/components/home/about/poland-map.tsx +++ b/components/home/about/poland-map.tsx @@ -11,25 +11,25 @@ interface City { const CITIES: City[] = [ { id: "waw", name: "Warszawa", x: 635, y: 410 }, { id: "wro", name: "Wrocław", x: 305, y: 610 }, - { id: "gda", name: "Gdańsk", x: 465, y: 120 }, + { id: "gda", name: "Gdańsk", x: 465, y: 120 }, { id: "szc", name: "Szczecin", x: 85, y: 230 }, { id: "zie", name: "Zielona Góra", x: 165, y: 485 }, - { id: "glo", name: "Głogów", x: 215, y: 545 }, - { id: "wol", name: "Wołomin", x: 675, y: 390 }, - { id: "lub", name: "Lublin", x: 785, y: 545 }, + { id: "glo", name: "Głogów", x: 215, y: 545 }, + { id: "wol", name: "Wołomin", x: 675, y: 390 }, + { id: "lub", name: "Lublin", x: 785, y: 545 }, { id: "byd", name: "Bydgoszcz", x: 395, y: 260 }, - { id: "zar", name: "Żary", x: 125, y: 535 }, + { id: "zar", name: "Żary", x: 125, y: 535 }, ]; const globalOffset = { x: -35, y: -25 }; -export default function EpicPolandMap() { +export default function PolandMap() { const [hoveredCity, setHoveredCity] = useState(null); - const MAP_DRAW_DURATION = 4 + const MAP_DRAW_DURATION = 4; const WAVE_START_DELAY = 2.5; const WAVE_SPEED = 0.002; return ( -
+
{CITIES.map((city) => { - const cityDelay = WAVE_START_DELAY + (city.x * WAVE_SPEED); + const cityDelay = WAVE_START_DELAY + city.x * WAVE_SPEED; return ( setHoveredCity(city.id)} onLeave={() => setHoveredCity(null)} /> @@ -81,63 +81,63 @@ interface CityMarkerProps { function CityMarker({ city, delay, isHovered, onHover, onLeave }: CityMarkerProps) { return ( {city.name} - + ); -} \ No newline at end of file +} From 83f2619415ebd9e09634cabdea7cafeca8d9ba3e Mon Sep 17 00:00:00 2001 From: Martin Sulikowski Date: Sat, 21 Feb 2026 23:25:25 +0100 Subject: [PATCH 6/6] Fix after rollczi. --- components/home/about/poland-map.tsx | 238 +++++++++++++-------------- components/shared/cta-section.tsx | 66 ++++---- 2 files changed, 152 insertions(+), 152 deletions(-) diff --git a/components/home/about/poland-map.tsx b/components/home/about/poland-map.tsx index fb5da08a..1c77bd72 100644 --- a/components/home/about/poland-map.tsx +++ b/components/home/about/poland-map.tsx @@ -2,142 +2,142 @@ import { m } from "framer-motion"; import { useState } from "react"; interface City { - id: string; - name: string; - x: number; - y: number; + id: string; + name: string; + x: number; + y: number; } const CITIES: City[] = [ - { id: "waw", name: "Warszawa", x: 635, y: 410 }, - { id: "wro", name: "Wrocław", x: 305, y: 610 }, - { id: "gda", name: "Gdańsk", x: 465, y: 120 }, - { id: "szc", name: "Szczecin", x: 85, y: 230 }, - { id: "zie", name: "Zielona Góra", x: 165, y: 485 }, - { id: "glo", name: "Głogów", x: 215, y: 545 }, - { id: "wol", name: "Wołomin", x: 675, y: 390 }, - { id: "lub", name: "Lublin", x: 785, y: 545 }, - { id: "byd", name: "Bydgoszcz", x: 395, y: 260 }, - { id: "zar", name: "Żary", x: 125, y: 535 }, + { id: "waw", name: "Warszawa", x: 635, y: 410 }, + { id: "wro", name: "Wrocław", x: 305, y: 610 }, + { id: "gda", name: "Gdańsk", x: 465, y: 120 }, + { id: "szc", name: "Szczecin", x: 85, y: 230 }, + { id: "zie", name: "Zielona Góra", x: 165, y: 485 }, + { id: "glo", name: "Głogów", x: 215, y: 545 }, + { id: "wol", name: "Wołomin", x: 675, y: 390 }, + { id: "lub", name: "Lublin", x: 785, y: 545 }, + { id: "byd", name: "Bydgoszcz", x: 395, y: 260 }, + { id: "zar", name: "Żary", x: 125, y: 535 }, ]; const globalOffset = { x: -35, y: -25 }; export default function PolandMap() { - const [hoveredCity, setHoveredCity] = useState(null); - const MAP_DRAW_DURATION = 4; - const WAVE_START_DELAY = 2.5; - const WAVE_SPEED = 0.002; - return ( -
- - + const [hoveredCity, setHoveredCity] = useState(null); + const MAP_DRAW_DURATION = 4; + const WAVE_START_DELAY = 2.5; + const WAVE_SPEED = 0.002; + return ( +
+ + - - {CITIES.map((city) => { - const cityDelay = WAVE_START_DELAY + city.x * WAVE_SPEED; + + {CITIES.map((city) => { + const cityDelay = WAVE_START_DELAY + city.x * WAVE_SPEED; - return ( - setHoveredCity(city.id)} - onLeave={() => setHoveredCity(null)} - /> - ); - })} - - -
- ); + return ( + setHoveredCity(city.id)} + onLeave={() => setHoveredCity(null)} + /> + ); + })} + +
+
+ ); } interface CityMarkerProps { - city: City; - delay: number; - isHovered: boolean; - onHover: () => void; - onLeave: () => void; + city: City; + delay: number; + isHovered: boolean; + onHover: () => void; + onLeave: () => void; } function CityMarker({ city, delay, isHovered, onHover, onLeave }: CityMarkerProps) { - return ( - - + return ( + + - + - - {city.name} - + + {city.name} + - - - ); + + + ); } diff --git a/components/shared/cta-section.tsx b/components/shared/cta-section.tsx index 1398979d..3c0b24f4 100644 --- a/components/shared/cta-section.tsx +++ b/components/shared/cta-section.tsx @@ -7,25 +7,25 @@ import { SlideIn } from "@/components/ui/motion/motion-components"; export default function Cta() { return ( -
-
- -
- +
+
+ +
+

Join our Community

Pride Flag @@ -40,27 +40,27 @@ export default function Cta() { -

- Connect with other developers, showcase your projects, and get help with EternalCode - libraries. The best discussions happen on our Discord. -

-
- -
+

+ Connect with other developers, showcase your projects, and get help with EternalCode + libraries. The best discussions happen on our Discord. +

+
+
- -
-
+
+
+
+
); }