Skip to content

Commit

Permalink
back button bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xeedev committed Sep 26, 2024
1 parent dacc5f1 commit d7f34ea
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 d7f34ea

Please sign in to comment.