1. 주소 (카카오 주소 검색) 팝업 연동 및 데이터 받아오기 2. 생일 Date Picker 띄우고 데이터 받아오기 3. 전화번호 양식 만들기 4. TopNav 의 버튼들 색상 변경
42 lines
2.8 KiB
Plaintext
42 lines
2.8 KiB
Plaintext
<div class="flex items-center justify-between whitespace-nowrap border-b border-solid border-b-[#f0f2f5] py-4 bg-white">
|
|
<div class="flex items-center gap-4 text-[#111418] ml-4" @onclick="OnClickRedirect">
|
|
<img src="/logo.png" alt="Icon" class="w-8 h-8">
|
|
<h2 class="hidden md:block text-text-title text-lg font-bold leading-tight tracking-[-0.015em]">AcaMate</h2>
|
|
</div>
|
|
|
|
<div class="hidden md:flex flex-1 justify-end gap-8">
|
|
<div class="flex flex-1 justify-end gap-8">
|
|
<div class="flex items-center gap-9">
|
|
<a class="text-text-title font-medium leading-normal hover:text-blue-600" href="/about" @onclick="() => isOpen = !isOpen">About</a>
|
|
<a class="text-text-title font-medium leading-normal hover:text-blue-600" href="/join" @onclick="() => isOpen = !isOpen">Join</a>
|
|
<a class="text-text-title font-medium leading-normal hover:text-blue-600" href="/new" @onclick="() => isOpen = !isOpen">What's New</a>
|
|
</div>
|
|
<button class="flex min-w-[84px] max-w-[480px] cursor-pointer items-center justify-center overflow-hidden rounded-lg h-10 px-4 bg-second-normal hover:bg-second-dark text-white text-sm font-bold leading-normal tracking-[0.015em] mr-4"
|
|
@onclick="OnClickLogin">
|
|
<span class="truncate">시작하기</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="md:hidden mr-4" @onclick="OnClickMenuDown">
|
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
d="M4 6h16M4 12h16M4 18h16"/>
|
|
</svg>
|
|
</button>
|
|
|
|
@if (isOpen)
|
|
{
|
|
<div class="md:hidden absolute top-16 left-0 w-full bg-white shadow z-50 transition-all duration-300">
|
|
<div class="flex flex-col items-start gap-4 p-4 text-center">
|
|
<a class="block w-full gap-y-2 text-text-title font-medium leading-normal hover:text-blue-600" href="/about" @onclick="() => isOpen = !isOpen">About</a>
|
|
<a class="block w-full gap-y-2 text-text-title font-medium leading-normal hover:text-blue-600" href="/join" @onclick="() => isOpen = !isOpen">Join</a>
|
|
<a class="block w-full gap-y-2 text-text-title font-medium leading-normal hover:text-blue-600" href="/new" @onclick="() => isOpen = !isOpen">What's New</a>
|
|
<button class="flex w-full cursor-pointer items-center justify-center rounded-lg h-10 px-4 bg-second-normal hover:bg-second-dark text-white text-sm font-bold leading-normal tracking-[0.015em]"
|
|
@onclick="OnClickLogin">
|
|
<span class="truncate">시작하기</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div> |