diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-01 23:08:35 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-01 23:08:35 +0000 |
| commit | e4d4d05c711ee393df612b7067d6c9050b547bbc (patch) | |
| tree | 27c5a7ed246b41704412bb962b598ca0436df349 /source | |
| parent | f06d5f33f27fe36c30677103f4faf3c5d77f3543 (diff) | |
Add style to pagination
Diffstat (limited to 'source')
| -rw-r--r-- | source/index.blade.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/index.blade.php b/source/index.blade.php index bb919a4..765e3b5 100644 --- a/source/index.blade.php +++ b/source/index.blade.php @@ -10,12 +10,12 @@ pagination: @include('_partials.postStub') @endforeach </ol> - <nav> + <nav class="mt-8 flex justify-between text-gray-400"> @if ($pagination->previous) - <a href="{{ $pagination->previous }}">See more recent posts</a> + <a class="p-1" href="{{ $pagination->previous }}"><svg class="inline-block fill-current w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 13h8V7h-8V2l-8 8 8 8v-5z"/></svg> See more recent posts</a> @endif @if ($pagination->next) - <a href="{{ $pagination->next }}">See older posts</a> + <a class="p-1 " href="{{ $pagination->next }}">See older posts <svg class="inline-block fill-current w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 7H2v6h8v5l8-8-8-8v5z"/></svg></a> @endif </nav> @endsection |
