From bba4b358a74fd09b511232cbc0a69aa408b95b8a Mon Sep 17 00:00:00 2001 From: geun <1416geun@naver.com> Date: Wed, 13 May 2026 17:16:03 +0900 Subject: [PATCH] dd --- src/components/FloatingKeywords.jsx | 67 ++++++++ src/components/SubHero.jsx | 168 ++++++++++++++++++- src/css/common.css | 148 ++++++++++++++++- src/pages/company/AboutPage.jsx | 248 ++++++++++++---------------- 4 files changed, 487 insertions(+), 144 deletions(-) create mode 100644 src/components/FloatingKeywords.jsx diff --git a/src/components/FloatingKeywords.jsx b/src/components/FloatingKeywords.jsx new file mode 100644 index 0000000..8f8c581 --- /dev/null +++ b/src/components/FloatingKeywords.jsx @@ -0,0 +1,67 @@ +import { useEffect, useRef } from "react"; +import { motion } from "framer-motion"; + +const KEYWORDS = [ + { text: "UTM", size: 18 }, + { text: "UAM", size: 22 }, + { text: "UATM", size: 24 }, + { text: "AI System", size: 15 }, + { text: "항공관제", size: 13 }, + { text: "드론관제", size: 11 }, + { text: "R&D", size: 20 }, + { text: "SI", size: 16 }, + { text: "솔루션", size: 12 }, + { text: "항공 데이터", size: 11 }, + { text: "스마트 공역", size: 14 }, + { text: "Flight Control", size: 10 }, + { text: "PAL Networks", size: 11 }, +]; + +// 랜덤 고정 위치 (렌더링마다 바뀌지 않게 미리 계산) +const POSITIONS = [ + { x: 12, y: 18 }, + { x: 68, y: 8 }, + { x: 82, y: 32 }, + { x: 55, y: 22 }, + { x: 20, y: 55 }, + { x: 75, y: 58 }, + { x: 40, y: 72 }, + { x: 88, y: 75 }, + { x: 60, y: 45 }, + { x: 30, y: 38 }, + { x: 50, y: 85 }, + { x: 78, y: 88 }, + { x: 15, y: 82 }, +]; + +export default function FloatingKeywords() { + return ( +