@extends('layouts.app')

@section('htmlheader_title')
	{{ trans('message.home') }}
@endsection

@section('main-content')
<body class="hold-transition welcome-page">

		{{-- SLIDER --}}
		@if (isset($site_slider))
			@include('widgets.slider')
		@endif
		{{-- END SLIDER --}}

		<div class="main">
			<div class="container">
				{{-- SERVICE BOX --}}
				@if (isset($page_servicebox))
					@include('widgets.servicebox')
				@endif
				{{-- END SERVICE BOX --}}

				{{-- TESTIMONIALS --}}
				@if (isset($page_blockquote))
					@include('widgets.blockquote')
				@endif
				{{-- END TESTIMONIALS --}}

				{{-- ACTIVITY --}}
				@if (isset($page_activity))
					@include('widgets.activity')
				@endif
				{{-- END ACTIVITY --}}

				@if (isset($page_tabs) OR isset($page_testimonials))
				<!-- BEGIN TABS AND TESTIMONIALS -->
				<div class="row mix-block margin-bottom-40">

					{{-- TABS --}}
					@if (isset($page_tabs))
						@include('widgets.tabs')
					@endif
					{{-- END TABS --}}

					{{-- TESTIMONIALS --}}
					@if (isset($page_testimonials))
						@include('widgets.testimonials')
					@endif
					{{-- END TESTIMONIALS --}}

				</div>
				<!-- END TABS AND TESTIMONIALS -->
				@endif

				{{-- STEPS --}}
				@if (isset($page_steps))
					@include('widgets.steps')
				@endif
				{{-- END STEPS --}}

				{{-- CLIENTS --}}
				@if (true OR isset($page_clients))
					@include('widgets.clients')
				@endif
				{{-- END CLIENTS --}}
			</div>
		</div>

		<!-- BEGIN PAGE LEVEL JAVASCRIPTS (REQUIRED ONLY FOR CURRENT PAGE) -->
		@js('/assets/jquery/plugins/fancybox/source/jquery.fancybox.pack.js','jq-fancybox','jquery')
		@js('/assets/jquery/plugins/uniform/2.1.0/js/jquery.uniform.min.js','jq-uniform','jquery')
		@js('/site/js/layout.js','layout','jquery')
</body>
@endsection


@section('scripts')

	<script type="text/javascript">
        jQuery(document).ready(function() {
            Layout.init();
            <!-- Layout.initTwitter(); -->
            Layout.initUniform();
            Layout.initFixHeaderWithPreHeader();
            Layout.initNavScrolling();
            <!-- ContactUs.init(); -->
        });
	</script>

	<!-- END PAGE LEVEL JAVASCRIPTS -->
@append