@extends('index')
@section('content')
@include('homepage.nav')
@if (auth()->check())
@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' => '' . __('web.TAGLINE_LISTEN_AGAIN') . ''])
@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' => '' . __('web.TAGLINE_COMMUNITY') . ''])
@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' => '' . __('web.TAGLINE_SIMILAR_OBSESSED') . ''])
@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' => '' . __('web.TAGLINE_POPULAR') . ''])
@endif
{!! Advert::get('footer') !!}
@include('homepage.footer')
@endsection