diff --git a/resources/views/admin/newsroom/home.blade.php b/resources/views/admin/newsroom/home.blade.php new file mode 100644 index 000000000..78976bd71 --- /dev/null +++ b/resources/views/admin/newsroom/home.blade.php @@ -0,0 +1,62 @@ +@extends('admin.partial.template-full') + +@section('section') +
+ +
+

Newsroom

+

Manage News and Platform Tips

+
+ +
+ New Announcement + View Newsroom +
+
+ +
+
+
+
+ Announcements +
+ @if($newsroom->count() > 0) +
    + @foreach($newsroom as $news) +
  • +
    +

    {{str_limit($news->title,30)}}

    +

    {{str_limit($news->summary, 40)}}

    +
    +
    + @if($news->published_at != null) + PUBLISHED + @else + DRAFT + @endif + + + + @if($news->published_at) + + + + @endif +
    +
  • + @endforeach +
+ @else +
+

No Announcements Found!

+
+ @endif +
+
+ {!!$newsroom->links()!!} +
+
+ +
+ +@endsection