File tree 2 files changed +9
-6
lines changed
inertia/resources/js/Layouts
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 28
28
<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" >
29
29
<img class =" h-8 w-8 rounded-full object-cover" :src =" $page.user.profile_photo_url" :alt =" $page.user.name" />
30
30
</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" >
34
36
<svg class =" fill-current h-4 w-4" xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 20 20" >
35
37
<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" />
36
38
</svg >
Original file line number Diff line number Diff line change 27
27
<img class =" h-8 w-8 rounded-full object-cover" src =" {{ Auth:: user ()-> profile_photo_url } }" alt =" {{ Auth:: user ()-> name } }" />
28
28
</button >
29
29
@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" >
33
34
<svg class =" fill-current h-4 w-4" xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 20 20" >
34
35
<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" />
35
36
</svg >
You can’t perform that action at this time.
0 commit comments