problem with laravel view not extending layout.blade.php with out assets file . What can possibly be the problem?

38 views Asked by At

for my college project , I am using a template view called (home_layout.blade.php) to be my layout for other views , it was working well before but i made a new view and when extending the home_layout view :

@extends('pharmacy.home_layout')
@section('content')

<article class="wow fadeIn animated hover-up mb-30 animated">
    <!-- Post Thumbnail -->
    <div class="post-thumb" style="background-image: url('{{ asset('storage/' . $item->up_image) }}');">
        <div class="entry-meta">
            <a class='entry-meta meta-2' href='/blog-category-grid'></a>
        </div>
    </div>

    <!-- Post Content -->
    <div class="entry-content-2 pl-50">
        <!-- Post Title -->
        <h3 class="post-title mb-20">
            <a href='/blog-post-right'>{{$item->up_name}}</a>
        </h3>

        <!-- Trade Name -->
        <h5> اسم المنتج التجاري</h5>
        <p class="post-exerpt mb-40">{{$item->up_trade_name}}</p>

        <!-- Description -->
        <h5> الوصف</h5>
        <p class="post-exerpt mb-40">{{$item->description}}</p>

        <!-- Meta Information -->
        <div class="entry-meta meta-1 font-xs color-grey mt-10 pb-10"> 
            <div>
                <span class="post-on">{{$item->up_publish_date}}</span>
            </div>   
        </div>
    </div>
</article>

@endsection

it looks like this :

result without extending

note: i have already extended the blade layout tin other views and it works properly.

now it is no working

result with extending

I tried making new files , but same thing happens.

0

There are 0 answers