Skip to content

Commit 159c4b4

Browse files
committed
Improve paging design
1 parent 47ba442 commit 159c4b4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

resources/views/components/incident-timeline.blade.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
</div>
2121

2222
<div class="flex justify-between">
23-
<a href="{{ route('cachet.status-page', ['from' => $nextPeriodFrom]) }}" class="text-zinc-500 dark:text-zinc-400 hover:underline text-sm">
24-
{{ __('Previous Incidents') }}
23+
<a href="{{ route('cachet.status-page', ['from' => $nextPeriodFrom]) }}" class="flex items-center gap-1 border py-2 px-3 rounded-lg text-zinc-500 dark:text-zinc-400 hover:underline text-sm">
24+
<x-heroicon-m-chevron-left class="size-5" />
25+
{{ __('Previous') }}
2526
</a>
2627

2728
@if($canPageForward)
28-
<a href="{{ route('cachet.status-page', ['from' => $nextPeriodTo]) }}" class="text-zinc-500 dark:text-zinc-400 hover:underline text-sm">
29-
{{ __('Newer Incidents') }}
29+
<a href="{{ route('cachet.status-page', ['from' => $nextPeriodTo]) }}" class="flex items-center gap-1 border py-2 px-3 rounded-lg text-zinc-500 dark:text-zinc-400 hover:underline text-sm">
30+
{{ __('Next') }}
31+
<x-heroicon-m-chevron-right class="size-5" />
3032
</a>
3133
@endif
3234
</div>

0 commit comments

Comments
 (0)