@extends('layouts.landing-page') @section('content') @php $bgUrl = app(\App\Services\UserServices::class)->getBgProfile($artist, 'lg'); $avatarUrl = app(\App\Services\UserServices::class)->getAvatar($artist, 'md'); $genres = app(\App\Services\UserServices::class)->getAllGenre($artist); $roleArray = $artist->getRoleNames(); $roleContent = ''; foreach ($roleArray as $role) { if ($role == 'Composer') { $roleContent = $roleContent . ' 🎵 Composer '; } if ($role == 'Artist') { $roleContent = $roleContent . ' 🎤 Artist '; } if ($role == 'Cover Creator') { $roleContent = $roleContent . ' 📹 Cover Creator '; } } @endphp
{{ $shortBio }}@if ($isLong) ... @endif
@if ($isLong) @endif{{ $shortBio }}
@if ($isLong) @endif{{ $song->song->album ? $song->song->album->title : 'no album' }} • {{ $song->song->created_at->format('Y') }}
{{ $song->song->album ? $song->song->album->title : 'no album' }} • {{ $song->song->created_at->format('Y') }}