|
|
|
@ -168,7 +168,6 @@ export default function LocationPage() { |
|
|
|
<em className="ht-header-sub">팔네트웍스 사업장 위치 안내입니다</em> |
|
|
|
<em className="ht-header-sub">팔네트웍스 사업장 위치 안내입니다</em> |
|
|
|
</motion.div> |
|
|
|
</motion.div> |
|
|
|
|
|
|
|
|
|
|
|
{/* 탭 메뉴 */} |
|
|
|
|
|
|
|
<div className="location-tabs"> |
|
|
|
<div className="location-tabs"> |
|
|
|
<button |
|
|
|
<button |
|
|
|
className={`location-tab ${isIncheon ? "active" : ""}`} |
|
|
|
className={`location-tab ${isIncheon ? "active" : ""}`} |
|
|
|
@ -186,9 +185,10 @@ export default function LocationPage() { |
|
|
|
|
|
|
|
|
|
|
|
<section className="sub-section"> |
|
|
|
<section className="sub-section"> |
|
|
|
<div className="location-wrap"> |
|
|
|
<div className="location-wrap"> |
|
|
|
{/* 지도 + 교통편 */} |
|
|
|
{/* 지도 */} |
|
|
|
<motion.div |
|
|
|
<motion.div |
|
|
|
key={tab} |
|
|
|
className="location-map-wrap" |
|
|
|
|
|
|
|
key={tab + "-map"} |
|
|
|
initial={{ opacity: 0, y: 24 }} |
|
|
|
initial={{ opacity: 0, y: 24 }} |
|
|
|
animate={{ opacity: 1, y: 0 }} |
|
|
|
animate={{ opacity: 1, y: 0 }} |
|
|
|
transition={{ duration: 0.4, ease: [0.4, 0, 0.2, 1] }} |
|
|
|
transition={{ duration: 0.4, ease: [0.4, 0, 0.2, 1] }} |
|
|
|
@ -202,48 +202,9 @@ export default function LocationPage() { |
|
|
|
title="팔네트웍스 위치" |
|
|
|
title="팔네트웍스 위치" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div className="location-transport"> |
|
|
|
|
|
|
|
<h3 className="location-transport-title">교통편 안내</h3> |
|
|
|
|
|
|
|
<div className="location-transport-list"> |
|
|
|
|
|
|
|
{currentTransport.map((t, i) => ( |
|
|
|
|
|
|
|
<motion.div |
|
|
|
|
|
|
|
key={t.badge} |
|
|
|
|
|
|
|
className="location-transport-item" |
|
|
|
|
|
|
|
initial={{ opacity: 0, y: 24 }} |
|
|
|
|
|
|
|
whileInView={{ opacity: 1, y: 0 }} |
|
|
|
|
|
|
|
viewport={{ once: true }} |
|
|
|
|
|
|
|
transition={{ |
|
|
|
|
|
|
|
duration: 0.5, |
|
|
|
|
|
|
|
ease: [0.4, 0, 0.2, 1], |
|
|
|
|
|
|
|
delay: i * 0.1, |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div className="location-transport-item-top"> |
|
|
|
|
|
|
|
<div className="location-transport-icon"> |
|
|
|
|
|
|
|
<img src={t.icon} alt={t.badge} /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<span className="location-transport-badge"> |
|
|
|
|
|
|
|
{t.badge} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="location-transport-routes"> |
|
|
|
|
|
|
|
{t.items.map((item, j) => ( |
|
|
|
|
|
|
|
<div key={j} className="location-transport-route"> |
|
|
|
|
|
|
|
<p className="location-transport-route-title"> |
|
|
|
|
|
|
|
{item.title} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<p className="location-transport-route-desc"> |
|
|
|
|
|
|
|
{item.desc} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</motion.div> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</motion.div> |
|
|
|
</motion.div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* 회사 정보 */} |
|
|
|
<motion.div |
|
|
|
<motion.div |
|
|
|
className="location-info-wrapper" |
|
|
|
className="location-info-wrapper" |
|
|
|
initial={{ opacity: 0, y: 40 }} |
|
|
|
initial={{ opacity: 0, y: 40 }} |
|
|
|
@ -256,8 +217,6 @@ export default function LocationPage() { |
|
|
|
}} |
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|
<p className="location-info-section-title">회사 정보</p> |
|
|
|
<p className="location-info-section-title">회사 정보</p> |
|
|
|
|
|
|
|
|
|
|
|
{/* 연락처 카드 */} |
|
|
|
|
|
|
|
<motion.div |
|
|
|
<motion.div |
|
|
|
key={tab + "-info"} |
|
|
|
key={tab + "-info"} |
|
|
|
className="location-info-card" |
|
|
|
className="location-info-card" |
|
|
|
@ -313,6 +272,56 @@ export default function LocationPage() { |
|
|
|
</Link> |
|
|
|
</Link> |
|
|
|
</motion.div> |
|
|
|
</motion.div> |
|
|
|
</motion.div> |
|
|
|
</motion.div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* 교통편 */} |
|
|
|
|
|
|
|
<motion.div |
|
|
|
|
|
|
|
className="location-transport-wrap" |
|
|
|
|
|
|
|
key={tab + "-transport"} |
|
|
|
|
|
|
|
initial={{ opacity: 0, y: 24 }} |
|
|
|
|
|
|
|
animate={{ opacity: 1, y: 0 }} |
|
|
|
|
|
|
|
transition={{ duration: 0.4, ease: [0.4, 0, 0.2, 1] }} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div className="location-transport"> |
|
|
|
|
|
|
|
<h3 className="location-transport-title">교통편 안내</h3> |
|
|
|
|
|
|
|
<div className="location-transport-list"> |
|
|
|
|
|
|
|
{currentTransport.map((t, i) => ( |
|
|
|
|
|
|
|
<motion.div |
|
|
|
|
|
|
|
key={t.badge} |
|
|
|
|
|
|
|
className="location-transport-item" |
|
|
|
|
|
|
|
initial={{ opacity: 0, y: 24 }} |
|
|
|
|
|
|
|
whileInView={{ opacity: 1, y: 0 }} |
|
|
|
|
|
|
|
viewport={{ once: true }} |
|
|
|
|
|
|
|
transition={{ |
|
|
|
|
|
|
|
duration: 0.5, |
|
|
|
|
|
|
|
ease: [0.4, 0, 0.2, 1], |
|
|
|
|
|
|
|
delay: i * 0.1, |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div className="location-transport-item-top"> |
|
|
|
|
|
|
|
<div className="location-transport-icon"> |
|
|
|
|
|
|
|
<img src={t.icon} alt={t.badge} /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<span className="location-transport-badge"> |
|
|
|
|
|
|
|
{t.badge} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="location-transport-routes"> |
|
|
|
|
|
|
|
{t.items.map((item, j) => ( |
|
|
|
|
|
|
|
<div key={j} className="location-transport-route"> |
|
|
|
|
|
|
|
<p className="location-transport-route-title"> |
|
|
|
|
|
|
|
{item.title} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<p className="location-transport-route-desc"> |
|
|
|
|
|
|
|
{item.desc} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</motion.div> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</motion.div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|