@extends('web.layouts.main') @push('stylesheets') @endpush @section('content')
{{--
Logo
--}}
@if($setting->download_text)

{{ trans('text.play-loto-anywhere') }}

{{ trans('text.download-our-app') }}

@endif
@if($setting->apple_app) @endif @if($setting->android_app) @endif
{!! $home_page->text_top !!}
@if($home_page->video_link) @endif
{!! $home_page->text_bottom !!}

{{ trans('text.loto-results') }}


@if(isset($latest_result->balls) && $latest_result->balls)
{{ trans('text.draw') }} #{{ $latest_result->Draw->draw_number }} | {{ date('d F, Y', strtotime($latest_result->Draw->date)) }}
  • @foreach(json_decode($latest_result->getAttributes()['balls']) as $ball)
  • @include('web.components.loto-ball', ['number' => $ball, 'display_color' => Config::get('balls')[$ball]['color']])
  • @endforeach
@if($latest_result->youtube) @endif @endif

{{ trans('text.next-jackpot') }}

{{ $next_draw->next_loto_jackpot_formated }}


{{ trans('text.next-draw') }} #{{ $next_draw->draw_number }}

{{ date('d M, Y', strtotime($next_draw->date)) }}

{{ trans('text.time-left') }}

00 {{ trans('text.days') }}
00 {{ trans('text.hrs') }}
00 {{ trans('text.min') }}
00 {{ trans('text.sec') }}
@if(Auth::guard('user')->check()) @else @if(env('PLAY_MODE')) @endif @endif
@include('web.components.shortcuts')
{{--
@include('web.components.our-winners')
--}}
@include('web.components.check-results')
@if($latest_result && $latest_result->youtube) @endif @endsection @push('scripts') @endpush