PHP Classes

File: resources/views/components/movie-card.blade.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP Movies App   resources/views/components/movie-card.blade.php   Download  
File: resources/views/components/movie-card.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Movies App
Implement a site about movies using TMDB API
Author: By
Last change:
Date: 8 months ago
Size: 800 bytes
 

Contents

Class file image Download
<div class="mt-8">
    <a href="{{ route('movies.show', $movie['id']) }}"
        ><img
            src="{{ $movie['poster_path'] }}"
            alt="{{ $movie['title'] }}"
            class="hover:opacity-75"
    /></a>
    <div class="mt-2">
        <a href="{{ route('movies.show', $movie['id']) }}" class="hover:text-gray-300">{{ $movie["title"] }}</a>
        <div class="flex items-center text-gray-400 text-sm mt-1">
            <i class="text-orange-500 fas fa-star"></i>
            <span class="ml-1">{{ $movie["vote_average"] }}%</span>
            <span class="mx-2">|</span>
            <span
                >{{ $movie['release_date'] }}</span
            >
        </div>
        <div class="text-gray-400 text-sm">
            {{ $movie['genres'] }}
        </div>
    </div>
</div>