diff --git a/public/images/bus.png b/public/images/bus.png new file mode 100644 index 0000000..05c19ac Binary files /dev/null and b/public/images/bus.png differ diff --git a/public/images/car.png b/public/images/car.png new file mode 100644 index 0000000..5ecf938 Binary files /dev/null and b/public/images/car.png differ diff --git a/public/images/subway.png b/public/images/subway.png new file mode 100644 index 0000000..9911139 Binary files /dev/null and b/public/images/subway.png differ diff --git a/src/css/common.css b/src/css/common.css index e2a344d..f83851c 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -160,6 +160,44 @@ body{overflow-x:hidden;} .cta-bg { background-size: cover; background-position: center; mask-image: linear-gradient(to bottom, transparent 0%, black 40%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%); } } +/* ── Location Page ── */ +.location-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: start; } +.location-map { width: 100%; height: 520px; border-radius: 20px; overflow: hidden; } +.location-map iframe { width: 100%; height: 100%; border: none; display: block; } +.location-info-card { display: flex; flex-direction: column; top: 100px; } +.location-info-card h3 { font-size: 12px; font-weight: 700; color: #bbb; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 32px; } +.location-info-list { list-style: none; margin: 0 0 auto; padding: 0; display: flex; flex-direction: column; gap: 24px; } +.location-info-item { display: flex; flex-direction: column; gap: 4px; } +.location-info-label { font-size: 11px; font-weight: 600; color: #bbb; letter-spacing: 0.1em; text-transform: uppercase; } +.location-info-value { cursor: default; font-size: 14px; font-weight: 500; color: #111; text-decoration: none; line-height: 1.6; } +.location-hours { border-top: 1px solid #ebebeb; padding-top: 20px; margin-top: 28px; margin-bottom: 20px; } +.location-hours-eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(17,17,17,.35); } +.location-hours-label { margin: 0; font-size: 15px; font-weight: 700; color: #111; letter-spacing: -0.02em; line-height: 1.6; } +.location-hours-text { font-size: 13px; font-weight: 400; color: #bbb; } +.location-inquiry-btn { display: flex; align-items: center; justify-content: center; height: 50px; background: var(--color-primary); border-radius: 12px; font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -.01em; transition: opacity .2s; } +.location-transport { padding-top: 40px; padding-bottom: 6rem; } +.location-transport-title { font-size: 16px; font-weight: 700; color: #111; letter-spacing: -0.03em; margin: 0 0 20px; } +.location-transport-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } +.location-transport-item { display: flex; flex-direction: column; gap: 12px; padding: 24px 20px; border-radius: 16px; background: #fff; border: 1px solid #e8e8e8; } +.location-transport-item-top { display: flex; align-items: center; justify-content: space-between; } +.location-transport-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } +.location-transport-icon img { width: 26px; height: 26px; object-fit: contain; } +.location-transport-item:nth-child(1) .location-transport-icon { background: #c850c0; } +.location-transport-item:nth-child(2) .location-transport-icon { background: #8b5cf6; } +.location-transport-item:nth-child(3) .location-transport-icon { background: #4158d0; } +.location-transport-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 24px; padding: 0 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: #fff; } +.location-transport-item:nth-child(1) .location-transport-badge { background: #c850c0; } +.location-transport-item:nth-child(2) .location-transport-badge { background: #8b5cf6; } +.location-transport-item:nth-child(3) .location-transport-badge { background: #4158d0; } +.location-transport-text { font-size: 13px; color: #777; line-height: 1.7; } +@media (max-width: 768px) { +.location-wrap { grid-template-columns: 1fr; gap: 2rem; } +.location-map { height: 260px; } +.location-info-card { position: static; } +.location-transport-list { grid-template-columns: 1fr; } +.location-transport { padding-bottom: 4rem; } +} + /*연혁*/ diff --git a/src/pages/company/LocationPage.jsx b/src/pages/company/LocationPage.jsx index 355e406..c365bc5 100644 --- a/src/pages/company/LocationPage.jsx +++ b/src/pages/company/LocationPage.jsx @@ -1,5 +1,6 @@ import SubHero from "../../components/SubHero"; import useFadeIn from "../../hooks/useFadeIn"; +import { motion } from "framer-motion"; const COMPANY_NAV = [ { label: "회사소개", to: "/company/about" }, @@ -8,58 +9,14 @@ const COMPANY_NAV = [ { label: "찾아오시는 길", to: "/company/location" }, ]; -// 아이콘 모음 -function IconPin() { - return ( - - - - - ); -} -function IconPhone() { - return ( - - - - ); -} -function IconFax() { - return ( - - - - - ); -} -function IconMail() { - return ( - - - - - ); -} - const INFO = [ { - icon: , label: "주소", value: "인천광역시 서구 로봇랜드로 155-11\n로봇랜드 14층 1401~2호", }, + { label: "전화", value: "032-727-5909", href: "tel:032-727-5909" }, + { label: "팩스", value: "032-727-5908" }, { - icon: , - label: "전화", - value: "032-727-5909", - href: "tel:032-727-5909", - }, - { - icon: , - label: "팩스", - value: "032-727-5908", - }, - { - icon: , label: "이메일", value: "help@palnet.co.kr", href: "mailto:help@palnet.co.kr", @@ -70,19 +27,22 @@ const TRANSPORT = [ { badge: "지하철", text: "인천 1호선 검암역 하차 → 도보 약 15분 또는 택시 5분 (로봇랜드 방면)", + icon: "/PALNetworks/images/subway.png", }, { badge: "버스", text: "검암역 환승센터에서 서구 방면 버스 탑승 → 로봇랜드 하차", + icon: "/PALNetworks/images/bus.png", }, { badge: "자가용", text: "제2경인고속도로 검단IC 진출 → 로봇랜드로 방면 직진 약 5분", + icon: "/PALNetworks/images/car.png", }, ]; -// 카카오맵 위도/경도: 인천 로봇랜드 좌표 -const MAP_SRC = "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3161.8!2d126.6854!3d37.5613!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x357b7f6e5a5cfc7f%3A0x0!2z7Iuc7LKc7Jy87Lanb-qzoOq1rOyGjA!5e0!3m2!1sko!2skr!4v1700000000000"; +const MAP_SRC = + "https://www.google.com/maps/embed?pb=!1m16!1m12!1m3!1d3164.5077769134846!2d126.60837056230932!3d37.51952592193411!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!2m1!1z7J247LKcIOuhnOu0h-uenOuTnA!5e0!3m2!1sko!2skr!4v1779870074094!5m2!1sko!2skr"; export default function LocationPage() { const ref = useFadeIn(); @@ -93,107 +53,139 @@ export default function LocationPage() { label="Company" title={ <> - {/* 방문 안내 -
*/} Location } - // desc="인천광역시 서구 로봇랜드에 위치한 팔네트웍스 본사입니다." navItems={COMPANY_NAV} />
-
-
- {/* 지도 */} -
-
-