forked from AcaMate/AcaMate_Web
[✨] Top에 모바일일 경우 더보기 버튼 활성화
This commit is contained in:
parent
6342324108
commit
92feb9bbe2
|
@ -1,12 +1,22 @@
|
|||
<div class="flex items-center justify-between whitespace-nowrap border-b border-solid border-b-[#f0f2f5] h-[72px] w-full bg-white px-4">
|
||||
<div id="AcademyDrop" class="relative flex items-center gap-4 text-[#111418] flex-1">
|
||||
|
||||
|
||||
<button class="md:hidden mr-4">
|
||||
<svg class="w-6 h-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-16 6h16"></path>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
@* 드롭다운을 내리는 버튼 *@
|
||||
<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]">@currentAcademyName</h2>
|
||||
@* <h2 class="hidden md:block text-text-title text-lg font-bold leading-tight tracking-[-0.015em]">@currentAcademyName</h2> *@
|
||||
<h2 class="md:block text-text-title text-lg font-bold leading-tight tracking-[-0.015em]">@currentAcademyName</h2>
|
||||
<img src="Resources/Images/Icon/Down.png" alt="아래"
|
||||
class="w-6 h-6 object-cover transition-transform duration-200 @(isAcademyDropdownOpen ? "rotate-180" : "")" />
|
||||
</button>
|
||||
|
||||
@* 드롭다운이 나오는 부분 *@
|
||||
@if (isAcademyDropdownOpen)
|
||||
{
|
||||
<div class="absolute top-full left-0 mt-2 w-64 bg-white rounded-lg shadow-lg py-2 z-50">
|
||||
|
@ -20,6 +30,8 @@
|
|||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@if (isAcademyDropdownOpen)
|
||||
|
@ -33,6 +45,7 @@
|
|||
<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"/> *@
|
||||
|
|
Loading…
Reference in New Issue
Block a user