Navigation 구성 요소
교육 플랫폼에 적합한 깨끗하고 전문적이며 반응이 빠른 탐색 모음으로, 트라이어딕 색 구성표, 다크 모드 지원, 일반적인 탐색 링크 및 클릭 유도문안 버튼이 있는 간단한 레이아웃을 특징으로 합니다.
HTML 코드
<nav class="bg-blue-600 dark:bg-gray-900 shadow-md">
<div class="container mx-auto px-4 py-3 flex items-center justify-between">
<!-- Logo/Brand Name -->
<a href="#" class="text-white dark:text-orange-300 text-2xl font-bold tracking-wide hover:text-orange-200 dark:hover:text-white transition duration-300">
EduHub
</a>
<!-- Mobile Menu Button (Hamburger) -->
<div class="md:hidden">
<button class="text-white dark:text-gray-300 focus:outline-none focus:ring-2 focus:ring-orange-300 dark:focus:ring-blue-500 rounded-md p-2">
<svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7"></path>
</svg>
</button>
</div>
<!-- Desktop Navigation Links -->
<div class="hidden md:flex space-x-6 lg:space-x-8 items-center">
<a href="#" class="text-white dark:text-gray-300 text-lg font-medium hover:text-orange-200 dark:hover:text-blue-500 transition duration-300">
Courses
</a>
<a href="#" class="text-white dark:text-gray-300 text-lg font-medium hover:text-orange-200 dark:hover:text-blue-500 transition duration-300">
Programs
</a>
<a href="#" class="text-white dark:text-gray-300 text-lg font-medium hover:text-orange-200 dark:hover:text-blue-500 transition duration-300">
About Us
</a>
<a href="#" class="text-white dark:text-gray-300 text-lg font-medium hover:text-orange-200 dark:hover:text-blue-500 transition duration-300">
Contact
</a>
<button class="bg-orange-500 dark:bg-emerald-500 text-white dark:text-gray-900 px-6 py-2 rounded-full font-semibold hover:bg-orange-600 dark:hover:bg-emerald-600 transition duration-300 shadow-md">
Sign Up
</button>
</div>
</div>
<!-- Mobile Menu (hidden by default, shown via JS toggle if needed) -->
<!-- For this pure HTML/Tailwind component, we can use a utility class to demonstrate the concept,
but a real implementation would require toggle class using JS. -->
<div class="md:hidden bg-blue-700 dark:bg-gray-800 pb-3 hidden" id="mobile-menu">
<div class="px-2 pt-2 pb-3 space-y-1">
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white dark:text-gray-300 hover:bg-blue-600 dark:hover:bg-gray-700 hover:text-orange-100 dark:hover:text-blue-400 transition duration-300">
Courses
</a>
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white dark:text-gray-300 hover:bg-blue-600 dark:hover:bg-gray-700 hover:text-orange-100 dark:hover:text-blue-400 transition duration-300">
Programs
</a>
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white dark:text-gray-300 hover:bg-blue-600 dark:hover:bg-gray-700 hover:text-orange-100 dark:hover:text-blue-400 transition duration-300">
About Us
</a>
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white dark:text-gray-300 hover:bg-blue-600 dark:hover:bg-gray-700 hover:text-orange-100 dark:hover:text-blue-400 transition duration-300">
Contact
</a>
<button class="block w-full text-left px-3 py-2 mt-2 rounded-md text-base font-semibold text-white dark:text-gray-900 bg-orange-500 dark:bg-emerald-500 hover:bg-orange-600 dark:hover:bg-emerald-600 transition duration-300 shadow-sm">
Sign Up
</button>
</div>
</div>
</nav>
관련 구성 요소
3D_Candy_Finance_Navigation
금융/뱅킹 애플리케이션을 위한 간단하고 반응이 빠른 탐색 구성 요소로, 캔디/달콤한 색 구성표와 미묘한 3D 디자인 요소를 특징으로 하며 다크 모드를 지원합니다.
레트로 빈티지 내비게이션 컴포넌트
레트로/빈티지 디자인 스타일의 탐색 구성 요소로, 대시보드를 위한 단색 색 구성표가 있습니다. 링크가 포함되어 있으며 다크 모드를 지원합니다.
Gradient_Corporate_Blues_Navigation_Component
비영리/자선 웹 사이트를 위해 설계된 복잡하고 반응이 빠른 탐색 구성 요소로, 그라데이션 기업 블루 톤, 부드러운 전환 및 다크 모드 지원을 제공합니다. 로고, 탐색 링크, 클릭 유도문안 버튼 및 모바일 메뉴가 포함되어 있습니다.