fix: working copy, caching ASP, notworking orders though
This commit is contained in:
parent
dc5d204cfc
commit
390ad23e03
32 changed files with 246 additions and 194 deletions
12
resources/views/components/movie-cards.blade.php
Normal file
12
resources/views/components/movie-cards.blade.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<div id="movie-grid">
|
||||
@foreach($movies as $movie)
|
||||
<a class="movie" href="{{route('movie', ['id' => $movie->movie_id])}}">
|
||||
<x-cache-image src="{{$movie->movie_image}}" alt="{{$movie->movie_name}} Poster" class="poster" width="200px"/>
|
||||
<div class="details">
|
||||
<h2>{{ $movie->movie_name }}</h2>
|
||||
<span>{{ Str::limit($movie->movie_description, 150) }}</span>
|
||||
<p>{{ $movie->movie_length }} minutes</p>
|
||||
</div>
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue