#17 - set up Laravel Dusk

This commit is contained in:
EwelinaLasowy
2022-01-14 13:44:14 +01:00
parent 0869395aab
commit c9b5c220e9
14 changed files with 377 additions and 20 deletions

View File

@@ -47,6 +47,7 @@
<a
href="/login/google/start"
class="inline-flex justify-center py-2 px-6 rounded-md shadow-sm bg-blumilk-500 text-md font-medium text-white hover:bg-blumilk-700"
dusk="login-link"
>
Zaloguj się za pomocą Google
<svg

View File

@@ -38,6 +38,7 @@
<div>
<MenuButton
class="bg-white rounded-full flex text-sm ring-2 ring-white ring-opacity-20 focus:outline-none focus:ring-opacity-100"
dusk="user-menu"
>
<span class="sr-only">Open user menu</span>
<img
@@ -54,6 +55,7 @@
>
<MenuItems
class="origin-top-right z-40 absolute -right-2 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
dusk="user-menu-list"
>
<MenuItem
v-for="item in userNavigation"