Skip to content

Commit

Permalink
#4 - Feat: 로그인/권한 여부에 따른 메뉴 구성 변경 적용, 장바구니 메뉴 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ahah525 committed Oct 25, 2022
1 parent ffad95b commit 5e39d50
Showing 1 changed file with 35 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,41 @@
</span>
</a>

<a href="/post/list" class="inline-flex" sec:authorize="isAuthenticated()">
<i class="fa-solid fa-list"></i>
<span class="ml-[2px] hidden sm:block">
내 글
</span>
</a>

<a href="/post/write" class="inline-flex" sec:authorize="isAuthenticated()">
<i class="fa-solid fa-pencil"></i>
<span class="ml-[2px] hidden sm:block">
글쓰기
</span>
</a>

<a href="/product/create" class="inline-flex" sec:authorize="isAuthenticated() and hasAuthority('AUTHOR')">
<i class="fa-solid fa-book-medical"></i>
<span class="ml-[2px] hidden sm:block">
도서 등록
</span>
</a>

<a href="/product/list" class="inline-flex">
<i class="fa-solid fa-book"></i>
<span class="ml-[2px] hidden sm:block">
도서 목록
</span>
</a>

<a href="/cart/list" class="inline-flex" sec:authorize="isAuthenticated()">
<i class="fa-solid fa-cart-plus"></i>
<span class="ml-[2px] hidden sm:block">
장바구니
</span>
</a>

<a href="/member/login" class="inline-flex" sec:authorize="isAnonymous()">
<i class="fa-solid fa-arrow-right-to-bracket"></i>
<span class="ml-[2px] hidden sm:block">
Expand Down Expand Up @@ -123,33 +158,6 @@
</span>
</a>

<a href="/post/list" class="inline-flex">
<i class="fa-solid fa-list"></i>
<span class="ml-[2px] hidden sm:block">
내 글
</span>
</a>

<a href="/post/write" class="inline-flex" sec:authorize="isAuthenticated()">
<i class="fa-solid fa-pencil"></i>
<span class="ml-[2px] hidden sm:block">
글쓰기
</span>
</a>

<a href="/product/create" class="inline-flex">
<i class="fa-solid fa-book-medical"></i>
<span class="ml-[2px] hidden sm:block">
도서 등록
</span>
</a>

<a href="/product/list" class="inline-flex">
<i class="fa-solid fa-book"></i>
<span class="ml-[2px] hidden sm:block">
도서 목록
</span>
</a>
</div>
</div>
</header>
Expand Down

0 comments on commit 5e39d50

Please sign in to comment.