aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/news.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-02 17:45:41 +0100
committerMateja <mail@matejamaric.com>2020-11-02 17:45:41 +0100
commitcdd9fcf7bf49e4468c2290e30a98c6730a334900 (patch)
tree552b1372802e38b13ac6567845a35617e38a4f9c /resources/views/pages/news.blade.php
parentb5afd40a49a2c2b061865a501103ea2a060f4997 (diff)
downloadyota-laravel-cdd9fcf7bf49e4468c2290e30a98c6730a334900.tar.gz
yota-laravel-cdd9fcf7bf49e4468c2290e30a98c6730a334900.zip
News system finished...
Diffstat (limited to 'resources/views/pages/news.blade.php')
-rw-r--r--resources/views/pages/news.blade.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/views/pages/news.blade.php b/resources/views/pages/news.blade.php
index 44d0202..1e9b83b 100644
--- a/resources/views/pages/news.blade.php
+++ b/resources/views/pages/news.blade.php
@@ -4,10 +4,11 @@
@section('content')
@foreach($news as $post)
- <div class="well">
- <h3>{{ $post->title }}</h3>
+ <div class="well border border-secondary rounded p-2 mb-3">
+ <h2>{{ $post->title }}</h2>
<small>Published at {{ $post->created_at->format('Y-m-d') }}@isset ($post->author) by {{$post->author }}@endisset</small>
- <p>{{ $post->text }}</p>
+ <hr class="bg-secondary">
+ <div>{!! $post->text !!}</div>
</div>
@endforeach
@endsection()