forked from AcaMate/AcaMate_Web
45 lines
2.5 KiB
Plaintext
45 lines
2.5 KiB
Plaintext
<div class="flex items-center justify-between whitespace-nowrap border-b border-solid border-b-[#f0f2f5] h-[72px] bg-white">
|
|
<div id="AcademyDrop" class="relative flex items-center gap-4 text-[#111418] ml-4">
|
|
<button class="flex items-center gap-2 hover:text-blue-600" @onclick="ToggleAcademyDropdown">
|
|
<h2 class="hidden md:block text-text-title text-lg font-bold leading-tight tracking-[-0.015em]">AcaMate</h2>
|
|
<svg class="w-4 h-4 transition-transform duration-200 @(isAcademyDropdownOpen ? "rotate-180" : "")"
|
|
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
|
</svg>
|
|
</button>
|
|
|
|
@if (isAcademyDropdownOpen)
|
|
{
|
|
<div class="absolute top-full left-0 mt-2 w-64 bg-white rounded-lg shadow-lg py-2 z-50">
|
|
<div class="px-4 py-2 border-b border-gray-200">
|
|
<h3 class="font-semibold text-gray-900">학원 정보</h3>
|
|
</div>
|
|
<div class="max-h-60 overflow-y-auto">
|
|
@foreach (var academy in academyItems)
|
|
{
|
|
<a href="/am/@academy.bid" class="block px-4 py-2 text-text-title hover:bg-gray-100">
|
|
@academy.name
|
|
</a>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
|
|
<div class="hidden md:flex flex-1 justify-end gap-8 mr-4">
|
|
<div class="flex flex-1 justify-end gap-8">
|
|
<div class="flex items-center gap-6">
|
|
<img src="Resources/Images/Icon/Notification_SET.png" alt="알림" class="w-6 h-6 object-cover" />
|
|
<img src="Resources/Images/Icon/Setting.png" alt="설정" class="w-6 h-6 object-cover"/>
|
|
<img src="Resources/Images/Icon/Link.png" alt="바로가기" class="w-6 h-6 object-cover"/>
|
|
<img src="Resources/Images/Icon/Logout.png" alt="로그아웃" class="w-6 h-6 object-cover"/>
|
|
@* <div class="w-10 h-10 rounded-full bg-gray-200 overflow-hidden"> *@
|
|
@* <img src="Resources/Images/Icon/Logout.png" alt="로그아웃" class="w-full h-full object-cover"/> *@
|
|
@* <a class="text-text-title font-medium leading-normal hover:text-blue-600" href="/about">About</a> *@
|
|
@* </div> *@
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|