Skip to content

Commit

Permalink
Merge pull request #674 from xeedev/fix/back-button-bug-fix
Browse files Browse the repository at this point in the history
back button bug fix
  • Loading branch information
nunomaduro authored Sep 26, 2024
2 parents dacc5f1 + d7f34ea commit c815b3b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions resources/views/brand/resources.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<x-app-layout>
<div class="mx-auto my-16 max-w-7xl px-6 lg:px-8">
<a
href="{{ route('about') }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline"
href="{{ url()->previous() === request()->url() ? '/' : url()->previous() }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline z-50 relative"
wire:navigate
>
<x-icons.chevron-left class="size-4" />
Expand Down
4 changes: 2 additions & 2 deletions resources/views/privacy.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<x-app-layout>
<div class="mx-auto my-16 max-w-7xl px-6 lg:px-8">
<a
href="{{ route('about') }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline"
href="{{ url()->previous() === request()->url() ? '/' : url()->previous() }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline z-50 relative"
wire:navigate
>
<x-icons.chevron-left class="size-4" />
Expand Down
4 changes: 2 additions & 2 deletions resources/views/support.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<x-app-layout>
<div class="mx-auto my-16 max-w-7xl px-6 lg:px-8">
<a
href="{{ route('about') }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline"
href="{{ url()->previous() === request()->url() ? '/' : url()->previous() }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline z-50 relative"
wire:navigate
>
<x-icons.chevron-left class="size-4" />
Expand Down
4 changes: 2 additions & 2 deletions resources/views/terms.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<x-app-layout>
<div class="mx-auto my-16 max-w-7xl px-6 lg:px-8">
<a
href="{{ route('about') }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline"
href="{{ url()->previous() === request()->url() ? '/' : url()->previous() }}"
class="-mt-10 mb-12 flex items-center dark:text-slate-400 text-slate-600 hover:underline z-50 relative"
wire:navigate
>
<x-icons.chevron-left class="size-4" />
Expand Down

0 comments on commit c815b3b

Please sign in to comment.