|
@extends('layouts.admin_layout')
|
|
@section('content')
|
|
@auth()
|
|
<div class="container mt-4">
|
|
<h2>Название</h2>
|
|
<p>{{ $news->name }}</p>
|
|
<h2>Текст</h2>
|
|
<p>{{ $news->text }}</p>
|
|
<h2>Фото</h2>
|
|
<img src="{{ asset($news->photo) }}" alt="фото статьи">
|
|
</div>
|
|
@endauth
|
|
@endsection
|