Skip to content

Commit e717c9e

Browse files
committedSep 28, 2020
formatting
1 parent e1d3069 commit e717c9e

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed
 

‎stubs/inertia/resources/js/Layouts/AppLayout.vue

+5-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828
<button v-if="$page.jetstream.managesProfilePhotos" class="flex text-sm border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out">
2929
<img class="h-8 w-8 rounded-full object-cover" :src="$page.user.profile_photo_url" :alt="$page.user.name" />
3030
</button>
31-
<button v-else class="flex border-transparent text-sm font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out">
32-
{{ $page.user.name }}
33-
<div class="flex items-center">
31+
32+
<button v-else class="flex items-center text-sm font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out">
33+
<div>{{ $page.user.name }}</div>
34+
35+
<div class="ml-1">
3436
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
3537
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
3638
</svg>

‎stubs/livewire/resources/views/navigation-dropdown.blade.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
<img class="h-8 w-8 rounded-full object-cover" src="{{ Auth::user()->profile_photo_url }}" alt="{{ Auth::user()->name }}" />
2828
</button>
2929
@else
30-
<button class="flex border-transparent text-sm font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out">
31-
{{ Auth::user()->name }}
32-
<div class="flex items-center">
30+
<button class="flex items-center text-sm font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out">
31+
<div>{{ Auth::user()->name }}</div>
32+
33+
<div class="ml-1">
3334
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
3435
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
3536
</svg>

0 commit comments

Comments
 (0)
Please sign in to comment.