2023-02-02 08:17:38 +01:00
|
|
|
@extends('main.layout')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h1>{{$movie->movie_name}}</h1>
|
|
|
|
<hr/>
|
|
|
|
<div id="movie">
|
2023-02-02 08:31:50 +01:00
|
|
|
<x-cache-image src="{{$movie->movie_image}}" alt="{{$movie->movie_name}} Poster" class="poster" width="200px"/>
|
2023-02-02 08:17:38 +01:00
|
|
|
<div class="details">
|
|
|
|
<span>{{$movie->movie_length}} min</span><br/>
|
|
|
|
<span>{{$movie->movie_description}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h1>Now playing:</h1>
|
|
|
|
<hr/>
|
|
|
|
<div id="showings">
|
|
|
|
@foreach($movie->showings as $showing)
|
|
|
|
<a href="/showing/{{$showing->showing_id}}">
|
|
|
|
<h2>{{$showing->room->cinema->cinema_name}} @ {{$showing->showing_start}} - {{$showing->showing_end()}}</h2>
|
|
|
|
</a>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
@endsection
|