@extends('dashboard::layouts.app-user-toggling') @section('app-user-content')
@include('dashboard::frontend.partials.button', ['name' => 'hacks', 'arrow' => true, 'route' => route('hackathon.hacks', $hackathon->slug)])

"{{ $hack->title }}"

@if(strpos(Request::url(), 'preview') !== false) Return To ADMIN PANEL @endif
@if(!$hack->videos->isEmpty())
WATCH THIS
{!! $hack->videos->first()->link !!}
@else @if(!$hack->images->isEmpty()) Image @else Image @endif @endif
{!! $hack->content !!}
{{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} @if((!$hack->questionnaire || $hack->questionnaire->questions->isEmpty()) && $hackathon->is_demo == 0) @if($hack->getHidden(['is_finished']) != null) @if($hack->getHidden()['is_finished'] == 0)
@include('dashboard::frontend.partials.button', ['name' => 'finish hack', 'route' => route('hackathon.finish-hack', [$hackathon->slug, $hack->slug])])
@else

You have already finished this hack

@endif @endif @endif
@include('hack::frontend.partials.right-side')
{{----}} @endsection