]> _ Git - pmi.git/commitdiff
Add back to news index link. WIP #2751 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Thu, 8 Aug 2019 10:33:28 +0000 (12:33 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Thu, 8 Aug 2019 10:33:28 +0000 (12:33 +0200)
public/images/arrow-back.svg [new file with mode: 0644]
resources/views/pages/news-detail.blade.php

diff --git a/public/images/arrow-back.svg b/public/images/arrow-back.svg
new file mode 100644 (file)
index 0000000..9fefd34
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="13.4" height="10.8"><path d="M13.4 4.4H3.8l3-3L5.4 0 0 5.4l5.4 5.4 1.4-1.4-3-3h9.6z"/></svg>
index 68c4254c04e2885b839ca015bdbc9d300c4bb3f9..1255bff39860c260a35708c95cf32f91d21de45d 100644 (file)
                         {{ $news->date->format('d/m/y') }}
                     </time>
                     @markdown($news->content)
+
+                    <hr class="h-px bg-grey-100 my-8">
+
+                    <a href="{{ $nav->getHrefByName('news') }}" class="font-display">
+                        @svg('arrow-back', 'inline-block mr-2')
+                        {{ __('Retour aux actualités') }}
+                    </a>
                 </div>
 
                 <div class="news-post-sidebar">