Skip to content

Commit

Permalink
Update header.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadarif03 committed Jan 6, 2025
1 parent ed08460 commit 86e3233
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions resources/views/user/layouts/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,15 @@ class="menu-item {{ Route::currentRouteName() == 'point-exchange.index' ? 'activ
<form action="{{ route('logout') }}" method="POST">
@csrf
<li class="menu-item d-block d-md-none">
<button type="submit" class="border-0 bg-transparent ps-4">Keluar</button>
<button type="submit" class="border-0 bg-transparent ps-4"
style="background: #e30000"><svg xmlns="http://www.w3.org/2000/svg"
width="16" height="16" fill="currentColor"
class="bi bi-box-arrow-left" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M6 12.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v2a.5.5 0 0 1-1 0v-2A1.5 1.5 0 0 1 6.5 2h8A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 5 12.5v-2a.5.5 0 0 1 1 0z" />
<path fill-rule="evenodd"
d="M.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L1.707 7.5H10.5a.5.5 0 0 1 0 1H1.707l2.147 2.146a.5.5 0 0 1-.708.708z" />
</svg> Keluar</button>
</li>
</form>
@endsession
Expand Down Expand Up @@ -273,7 +281,16 @@ class="rounded rounded-circle" width="48px" alt=""
class="profile-image">
</a>

<button type="submit" class="btn shadow-none py-3 ms-3">Keluar</button>
<button type="submit" class="btn shadow-none py-3 ms-3"
style="background: #e30000"><svg
xmlns="http://www.w3.org/2000/svg" width="16"
height="16" fill="currentColor"
class="bi bi-box-arrow-left" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M6 12.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v2a.5.5 0 0 1-1 0v-2A1.5 1.5 0 0 1 6.5 2h8A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 5 12.5v-2a.5.5 0 0 1 1 0z" />
<path fill-rule="evenodd"
d="M.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L1.707 7.5H10.5a.5.5 0 0 1 0 1H1.707l2.147 2.146a.5.5 0 0 1-.708.708z" />
</svg> Keluar</button>
</div>
</form>
</li>
Expand Down

0 comments on commit 86e3233

Please sign in to comment.