|
|
@@ -4,26 +4,74 @@ import menuItems from './menuItems.json';
|
|
|
|
|
|
const Index = () => {
|
|
|
return (
|
|
|
- <div className="relative flex items-center h-20 w-full">
|
|
|
+ <div className="fixed top-0 left-0 right-0 flex items-center h-20 w-full bg-white z-50">
|
|
|
{/* 로고 영역 */}
|
|
|
<div className="absolute left-[40px] top-[26px] flex items-center gap-1 w-32">
|
|
|
- <img className="w-10 h-7" src={logo} />
|
|
|
+ <img className="w-10 h-7" src={logo}/>
|
|
|
<div className="text-gray-600 text-xl font-bold font-['Inter']">반도산전</div>
|
|
|
</div>
|
|
|
|
|
|
{/* 메뉴 영역 */}
|
|
|
<nav className="flex justify-center items-center w-full h-full">
|
|
|
{menuItems.map((item, index) => (
|
|
|
- <div
|
|
|
- key={index}
|
|
|
- className="px-[3vw] text-gray-600 font-medium font-['Inter'] cursor-pointer hover:text-blue-600"
|
|
|
- >
|
|
|
- {item.label}
|
|
|
+ <div key={index} className="relative flex flex-col items-center px-[3vw] group cursor-pointer">
|
|
|
+ <div className="text-gray-600 font-bold font-['Inter'] group-hover:text-blue-600">
|
|
|
+ {item.label}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ {/* 각 메뉴 하위에 있는 오버랩 메뉴 */}
|
|
|
+ <div
|
|
|
+ id="overlab-menu"
|
|
|
+ className="absolute top-full mt-7 w-32 bg-blue-900 shadow-lg text-white hidden group-hover:flex flex-col items-start p-4 z-40"
|
|
|
+ >
|
|
|
+ <div className="text-md font-light font-['Inter']">CEO 인사말</div>
|
|
|
+ <div className="text-md font-light font-['Inter']">협력사</div>
|
|
|
+ <div className="text-md font-light font-['Inter']">연혁</div>
|
|
|
+ <div className="text-md font-light font-['Inter']">찾아오시는 길</div>
|
|
|
+ <div className="text-md font-light font-['Inter']">조직도</div>
|
|
|
+ <div className="text-md font-light font-['Inter']">사무실 전경</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
))}
|
|
|
</nav>
|
|
|
+
|
|
|
+ {/* 오버랩 메뉴 */}
|
|
|
+ <div className="border w-full h-[50vh] absolute bg-blue-900 top-20">
|
|
|
+ {/*<div className="w-[736px] h-72 left-[272px] top-0 absolute">*/}
|
|
|
+ {/* <div className="w-32 py-6 left-0 top-0 absolute shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] inline-flex flex-col justify-center items-center gap-5 overflow-hidden">*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">대표 시공사례</div>*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* <div className="w-32 py-6 left-[147.20px] top-0 absolute shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] inline-flex flex-col justify-center items-center gap-5 overflow-hidden">*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">CEO 인사말</div>*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">협력사</div>*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">연혁</div>*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">찾아오시는 길</div>*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">조직도</div>*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">사무실 전경</div>*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* <div*/}
|
|
|
+ {/* className="w-32 py-6 left-[294.40px] top-0 absolute shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] inline-flex flex-col justify-center items-center gap-5 overflow-hidden">*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">준법경영*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">ESG*/}
|
|
|
+ {/* 보고서*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* <div*/}
|
|
|
+ {/* className="w-32 py-6 left-[441.60px] top-0 absolute shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] inline-flex flex-col justify-center items-center gap-5 overflow-hidden">*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">ICT*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* <div*/}
|
|
|
+ {/* className="w-32 py-6 left-[588.80px] top-0 absolute shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] inline-flex flex-col justify-center items-center gap-5 overflow-hidden">*/}
|
|
|
+ {/* <div className="self-stretch justify-start text-white text-xl font-light font-['Inter']">인증서 및*/}
|
|
|
+ {/* 면허*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/* </div>*/}
|
|
|
+ {/*</div>*/}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
);
|
|
|
};
|
|
|
|
|
|
-export default Index;
|
|
|
+export default Index;
|