diff --git a/resources/views/components/header.blade.php b/resources/views/components/header.blade.php index 99219aa..b418dcf 100644 --- a/resources/views/components/header.blade.php +++ b/resources/views/components/header.blade.php @@ -55,8 +55,10 @@ class="hidden lg:flex items-center justify-center w-10 h-10 hover:opacity-70 tra - {{-- Account — the account page, or login for guests --}} + {{-- Account — the account page, or login for guests. [data-account-link] + is the island target shared with the mobile menu's link. --}}
  • diff --git a/resources/views/components/wishlist-button.blade.php b/resources/views/components/wishlist-button.blade.php index ea306f8..ece8d6f 100644 --- a/resources/views/components/wishlist-button.blade.php +++ b/resources/views/components/wishlist-button.blade.php @@ -3,6 +3,10 @@ `wishlist` Stimulus controller turns the submit into a fetch and flips aria-pressed, which the CSS (group-aria-pressed) uses to swap the icons. + [data-wishlist-product] is the island target: the heart state will come + from the islands request. aria-pressed is still rendered server-side for + now. + Usage: --}} @props(['productId']) @@ -16,6 +20,7 @@
    - + {{-- Favicons --}}