some progress

This commit is contained in:
2025-09-06 14:41:10 +03:00
parent d709de39dc
commit 7e0e330ef6
20 changed files with 1051 additions and 485 deletions
+53 -47
View File
@@ -1,64 +1,70 @@
@extends('layouts.app')
@section('content')
<div class="container-fluid celebrity-page">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="card">
<div class="card-header">
Shows
<div class="container-fluid show-page py-4">
<div class="row">
<!-- Main Content -->
<div class="col-lg-9">
<div class="card mb-4">
<div class="card-header bg-white">
<h5 class="mb-0">Shows</h5>
</div>
<div class="card-body">
<div class="row">
@foreach($shows as $show)
<div class="col-md-2">
<div class="movie-card">
<a href="{{ route('show.show', $show->slug) }}" title="{{ $show->name }}">
<img
src="http://image.tmdb.org/t/p/w185/{{ $show->poster_path }}"
alt="{{ $show->name }}"
title="{{ $show->name }} @if($show->release_date) ({{ $show->release_date->format('Y') }}) @endif"
class="img img-fluid"
>
</a>
<ul class="quick-actions">
<li>
<a href=""><span class="iconify" data-icon="mdi-check-outline"></span></a>
</li>
<li>
<a href=""><span class="iconify" data-icon="mdi-image-multiple"></span></a>
</li>
<li>
<a href="">
{{ $show->vote_average }} <span class="iconify" data-icon="mdi-star"></span>
</a>
</li>
</ul>
</div>
<div class="col-md-2 mb-3">
<a href="{{ route('show.show', $show->slug) }}" class="text-decoration-none">
@if($show->poster_path)
<div class="movie-poster">
<img
src="http://image.tmdb.org/t/p/w185/{{ $show->poster_path }}"
alt="{{ $show->name }}"
title="{{ $show->name }} @if($show->first_air_date) ({{ $show->first_air_date->format('Y') }}) @endif"
class="img-fluid rounded shadow-sm"
>
<div class="movie-title text-center mt-2">
<small>{{ $show->name }}</small>
</div>
</div>
@else
<div class="no-poster rounded shadow-sm d-flex align-items-center justify-content-center p-2" style="height: 150px; background-color: #f8f9fa;">
<small class="text-center">
{{ $show->name }} @if($show->first_air_date) ({{ $show->first_air_date->format('Y') }}) @endif
</small>
</div>
@endif
</a>
</div>
@endforeach
</div>
<div class="mt-4">
{{ $shows->links() }}
</div>
</div>
</div>
{{ $shows->links() }}
</div>
<div class="col-md-2">
<!-- Sidebar -->
<div class="col-lg-3">
<div class="card">
<div class="user-actions">
<ul>
<li>
<a href=""><span class="iconify" data-icon="mdi-eye-check-outline"></span> Mark as seen</a>
</li>
<li>
<a href=""><span class="iconify" data-icon="mdi-thumb-up-outline"></span> Like</a>
</li>
<li>
<a href=""><span class="iconify" data-icon="mdi-playlist-check"></span> add to list</a>
</li>
</ul>
<hr>
rate
<hr>
<div class="card-body">
<div class="user-actions">
<a href="#" class="d-block mb-3 text-decoration-none">
<span class="iconify me-1" data-icon="mdi-eye-check-outline"></span> Mark as seen
</a>
<a href="#" class="d-block mb-3 text-decoration-none">
<span class="iconify me-1" data-icon="mdi-thumb-up-outline"></span> Like
</a>
<a href="#" class="d-block mb-3 text-decoration-none">
<span class="iconify me-1" data-icon="mdi-playlist-check"></span> Add to list
<span class="float-end">
<span class="iconify" data-icon="mdi-chevron-down"></span>
</span>
</a>
<hr>
@include('layouts.rating')
</div>
</div>
</div>
</div>