fix: correcting issues on artist profile page.

This commit is contained in:
Paul Couture 2023-12-14 21:57:33 -06:00
parent 2e3b848ff5
commit a37789ff8a
2 changed files with 17 additions and 15 deletions

View File

@ -1,6 +1,9 @@
<div class="explore-style-one {{ $thisEpisode->artwork_id == $thisArtwork->id ? 'selected' : '' }}"> <div class="explore-style-one {{ $thisEpisode->artwork_id == $thisArtwork->id ? 'selected' : '' }}">
<div class="thumb"> <div class="thumb">
<a href="/artworks/{{ $thisArtwork->id }}"> <a href="/artworks/{{ $thisArtwork->id }}"
data-bs-toggle="tooltip"
data-bs-placement="top"
title="View This Album Art">
<img src="{{ config('app.static_asset_url') <img src="{{ config('app.static_asset_url')
. '/thumbnails/' . '/thumbnails/'
. $thisArtwork->filename ?? '#'}}" . $thisArtwork->filename ?? '#'}}"

View File

@ -1,6 +1,6 @@
@extends('layouts.master') @extends('layouts.master')
@section('page-title', 'Artists') @section('page-title', $artist->name)
@section('page-top') @section('page-top')
<section class="inner-page-banner bg-2 bg-image"> <section class="inner-page-banner bg-2 bg-image">
@ -33,19 +33,18 @@
{{-- end bio sidebar --}} {{-- end bio sidebar --}}
<div class="col-xxl-9 col-xl-8 col-lg-8"> <div class="col-xxl-9 col-xl-8 col-lg-8">
<div class="container"> <div class="container">
<div class="grid-filter-wrapper masonry-list"> <div class="row content-justify-center">
<div class="resizer"></div> @foreach ($artworks as $artwork)
@foreach ($artworks as $artwork) @php
@php $thisArtwork = $artwork;
$thisArtwork = $artwork; $thisPodcast = $artwork->podcast;
$thisPodcast = $artwork->podcast; $thisEpisode = $artwork->episode;
$thisEpisode = $artwork->episode; @endphp
@endphp <div class="col-xxl-4 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-xs-12 mb-5">
<div class="grid-item podcast--{{ $artwork->podcast->slug }}"> @include('artworks.card')
@include('artworks.card') </div>
</div> @endforeach
@endforeach </div>
</div>
</div> </div>
</div> </div>
{{-- end artist content --}} {{-- end artist content --}}