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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue