fix: working copy, caching ASP, notworking orders though

This commit is contained in:
Didier Slof 2023-02-03 09:05:29 +01:00
parent dc5d204cfc
commit 390ad23e03
Signed by: didier
GPG key ID: 01E71F18AA4398E5
32 changed files with 246 additions and 194 deletions

View file

@ -1,7 +1,7 @@
@extends('main.layout')
@push('head')
<link rel="stylesheet" href="{{asset('css/movies.css')}}">
<link rel="stylesheet" href="{{asset('css/main/movies.css')}}">
@endpush
@section('content')
@ -9,17 +9,7 @@
<section>
<h1>Now playing:</h1>
<hr/>
<div id="movies">
@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>{{ $movie->movie_description }}</span>
<p>{{ $movie->movie_length }} minutes</p>
</div>
</a>
@endforeach
<x-movie-cards :movies="$movies"/>
</section>
@endsection