<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Language" content="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"/>
    <meta name="description" content="Apprenticeship.">
    <meta name="msapplication-tap-highlight" content="no">

    <title>Voting</title>

    <link rel="icon" href="<?php echo e(asset('images/android-chrome-512x512.png')); ?>" sizes="512x512" type="image/png">
    <link rel="icon" href="<?php echo e(asset('images/android-chrome-192x192.png')); ?>" sizes="192x192" type="image/png">
    <link rel="icon" href="<?php echo e(asset('images/favicon-16x16.png')); ?>" sizes="16x16" type="image/png">
    <link rel="icon" href="<?php echo e(asset('images/favicon-32x32.png')); ?>" sizes="32x32" type="image/png">
    <link rel="icon" href="<?php echo e(asset('images/apple-touch-icon.png')); ?>" sizes="180x180" type="image/png">
    <link rel="icon" href="<?php echo e(asset('images/favicon.ico')); ?>">

    <link href="<?php echo e(asset('css/custom.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('css/bootstrap.min.css')); ?>" rel="stylesheet">

    <?php echo $__env->yieldContent('css_includes'); ?>
</head>
<body>

<nav class="navbar navbar-expand-lg navbar-light bg-light rounded-top">
    <div class="container-fluid">
        <a class="navbar-brand" href="<?php echo e(route('home')); ?>">
            <img src="<?php echo e(asset('images/logo.png')); ?>" alt="logo" height="40">
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                <li class="nav-item">
                    <a class="nav-link" aria-current="page" href="<?php echo e(route('home')); ?>">Home</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" aria-current="page" href="<?php echo e(route('dashboard')); ?>">Dashboard</a>
                </li>
            </ul>
            <form class="d-flex" role="search" action="<?php echo e(route('home.search')); ?>">
                <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search" name="s">
                <button class="btn btn-outline-success" type="submit">Search</button>
            </form>
            <?php if(Auth::check()): ?>
                
                <form id="logOut" action="<?php echo e(route('logout')); ?>" method="post">
                    <?php echo csrf_field(); ?>
                    <button type="submit" class="btn btn-outline-dark ms-4">Logout</button>
                </form>
            <?php else: ?>
                <a href="<?php echo e(route('login')); ?>"><button class="btn btn-outline-dark ms-4">Login</button></a>
            <?php endif; ?>
        </div>
    </div>
</nav>

<div class="container">
    <div class="row">
        <div class="col-12">
            <?php echo $__env->make('common.errors', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo $__env->make('common.flash', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>
</div>
<?php echo $__env->yieldContent('content'); ?>


<script type="text/javascript" src="<?php echo e(asset('js/bootstrap.min.js')); ?>"></script>

<!-- Custom JS -->

<!-- JS from views -->
<?php echo $__env->yieldContent('js'); ?>

</body>
</html>
<?php /**PATH /Users/air/Documents/laravel/fashion/resources/views/home/layout.blade.php ENDPATH**/ ?>