diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-07 20:50:44 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-07 20:50:44 +0000 |
| commit | 9d7bf4de4d22933cabe28aef6a3cf0d7414f6be2 (patch) | |
| tree | ce9fe3097036899afbec2d97236a50082699ba64 /source/index.blade.php | |
| parent | 9240b4b969758bf2e73d8e4f6bc3fc92e611f32a (diff) | |
Responsive grid layout
Diffstat (limited to 'source/index.blade.php')
| -rw-r--r-- | source/index.blade.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/index.blade.php b/source/index.blade.php index 06bab2e..e9b24e1 100644 --- a/source/index.blade.php +++ b/source/index.blade.php @@ -10,12 +10,13 @@ pagination: @include('_partials.postStub') @endforeach </ol> - <nav class="mt-3 px-4 flex justify-between text-gray-400 text-2xl"> + <nav> @if ($pagination->previous) - <a 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> + <a href="{{ $pagination->previous }}">See more recent posts</a> @endif @if ($pagination->next) - <a 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> + <a href="{{ $pagination->next }}">See older posts</a> @endif </nav> @endsection + |
