@extends(Auth::check() ? 'layouts.frontend_noauth' : 'layouts.frontend_noauth') @section('title', $quiz->title) @section('styles') {!! SEO::generate() !!} @endsection @section('content') @guest
 
{{ $quiz->title }}

{!! Str::limit($quiz->quiz_detail, 250, ' ...') !!}


Login to participate in the Quiz

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@else

Your name

{{ auth()->user()->name }}

Mobile Number

+{{ auth()->user()->mobile_number }}

Email ID

{{ auth()->user()->email }}

{{ $quiz->title }}

{!! Str::limit($quiz->quiz_detail, 250, ' ...') !!}


@if ($quiz_over == true) @if ($quiz_status == 'Upcoming')
The Quiz is not yet started

The Quiz will start on {{ Carbon\Carbon::parse($start_time)->format('d M Y H:i a') }}

Time remains:

@else
Thank you!
This quiz has been finished.

Click "Leadership board" below to view the score.

Go to Leadership Board for View Result

@endif @else @if ($is_participated == 0)
Take the daily Quiz
Time remain to answer this question:
@csrf @php $count = 1; @endphp @forelse ($quiz_detail['quiz_q_a'] as $qa)

{{ $count }}   {!! $qa->question !!}

@php $count++; @endphp @empty

No questions available at the moment.

@endforelse
@else
Thank you!
we have save your answer,

Next Question Will Appear on

   {{ Carbon\Carbon::parse($next_question_date)->format('d M Y') }}
   {{ Carbon\Carbon::parse($next_question_date)->format('d M Y h:i:s a') }}
(Time Remains: )

Go to Leadership Board for View Result

@endif @endif
@endguest @endsection @section('scripts') @endsection