@extends('layouts.app') @section('content')
@if (count($listTopic) > 0)

TRENDING TOPIC

@foreach($listTopic as $topic) @endforeach
@endif @if (count($listNews) > 0)

Weather news

@foreach($listNews as $k => $news) @if ($k == 0)
{{ $news->title }}

{{ BatvHelper::smartStr($news->title, 120, ' ...') }}

{{ BatvHelper::smartStr($news->description, 350, ' ...') }}

@else

{{ BatvHelper::smartStr($news->title, 75, ' ...') }}

{{ BatvHelper::smartStr($news->description, 320, ' ...') }}

@endif @endforeach
@endif
@endsection