<!doctype html>
<html>
<head>
	<meta charset="utf-8">

	<!-- Site Title -->
	<title>Cosmos | spin to win</title>

	<!-- SEO Meta Tags -->
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<meta name="author" content="8Guild" />

	<!-- Mobile Specific Meta Tag -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

	<!-- Favicon Icon -->
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
	<link rel="icon" href="favicon.ico" type="image/x-icon">
    <meta name="csrf-token" content="{{ csrf_token() }}">

	<!-- Theme Stylesheet -->
	    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <link href="{{ asset('css/style.css') }}" rel="stylesheet">




	<body class="back-bg">
	<div id="app">
					<nav class="navbar navbar-default">
				      <div class="container">
				        <div class="navbar-header">
				          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
				            <span class="sr-only">Menu</span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				          </button>
				          <a class="navbar-brand" href="index.php"><img src="/img/lgo.png" alt="Cosmos" width="66%" ></a>
				        </div>
				        <div id="navbar" class="navbar-collapse collapse">
				          
				          <ul class="nav navbar-nav navbar-right">
				          	@if(Auth::check())
				          		@if(Auth::user()->isSuper())

				          			<li>
				          				<a href="/super/stats"><i class="fa fa-tachometer" aria-hidden="true"></i> Dashboard</a>
				          			</li>
				          			<li>
				          				<a href="/wins"><i class="fa fa-gift" aria-hidden="true"></i> Rewards</a>
				          			</li>
				          			<li>
				          				<a href="/super/addAdmin"><i class="fa fa-plus" aria-hidden="true"></i> Admin</a>
				          			</li>
				          			<li>
				          				<a href="/super/admins"><i class="fa fa-list" aria-hidden="true"></i> Admins</a>
				          			</li>
				          		@endif
				              	<li id="sueprAdmin"><a ><i class="fa fa-user-o"></i> {{Auth::user()->name}} </li></a>

				              	<li ><a href="{{ route('logoutAdmin') }}"><i class="fa fa-sign-out" aria-hidden="true"></i></a></li>
				            @endif
				          </ul>
				        </div>
				      </div>
				    </nav>
    			
    			@yield('content')

		</div>

    <script type="text/javascript" src='{{asset("/js/Bootstrap_jQuery.js")}}'></script>

    <script type="text/javascript" src='{{asset("/js/admin.js")}}'></script>


	</body>
	</html>