@extends('index') @section('content') @include('homepage.nav') @if (auth()->check())
{{ __('web.WELCOME_BACK', ['name' => auth()->user()->name]) }}
@endif
@include('commons.slideshow', ['slides' => $home->slides]) @if (auth()->check()) @if(isset($home->recentListens) && count($home->recentListens)) @include('commons.suggest', ['more_link' => auth()->user()->permalink_url, 'type' => 'recent', 'songs' => $home->recentListens, 'title' => '' . __('web.LISTEN_AGAIN') . '', 'description' => '']) @endif @if(isset($home->userCommunitySongs) && count($home->userCommunitySongs)) @include('commons.suggest', ['more_link' => route('frontend.community'), 'type' => 'community', 'songs' => $home->userCommunitySongs, 'title' => '' . __('web.TOP_COMMUNITY_ALBUMS') . '', 'description' => '']) @endif @if(isset($home->obsessedSongs) && count($home->obsessedSongs)) @include('commons.suggest', ['more_link' => auth()->user()->permalink_url, 'type' => 'obsessed', 'songs' => $home->obsessedSongs, 'title' => '' . __('web.YOU_ARE_OBSESSED_WITH_MUSIC') . '', 'description' => '']) @endif @endif @include('commons.channel', ['channels' => $home->channels]) @if(isset($home->popularSongs) && count($home->popularSongs)) @include('commons.suggest', ['more_link' => route('frontend.trending'), 'type' => 'popular', 'songs' => $home->popularSongs, 'title' => '' . __('web.POPULAR') . '', 'description' => '']) @endif
{!! Advert::get('footer') !!} @include('homepage.footer') @endsection