<!DOCTYPE html>
<html lang="en" class=" js no-touch">

<head>
  <title>NFF SUPERBIKE</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="css/css/bootstrap.min.css">
  <link rel="stylesheet" type="css/text/css" href="css/font-awesome.min.css">
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,600|Raleway:600,300|Josefin+Slab:400,700,600italic,600,400italic' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="css/slick-team-slider.css" />
  <link rel="stylesheet" type="text/css" href="css/css/style.css">
  <!-- =======================================================
    Theme Name: Tempo
    Theme URL: https://bootstrapmade.com/tempo-free-onepage-bootstrap-theme/
    Author: BootstrapMade.com
    Author URL: https://bootstrapmade.com
  ======================================================= -->
</head>

<body>
  <!--HEADER START-->
  <div class="main-navigation navbar-fixed-top">
    <nav class="navbar navbar-default">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
			    <span class="icon-bar"></span>
			    <span class="icon-bar"></span>
			    <span class="icon-bar"></span>
			  </button>

          <a class="navbar-brand" href="/">NFF SUPERBIKE</a>
        </div>
        <div class="collapse navbar-collapse" id="myNavbar">
          <ul class="nav navbar-nav navbar-right">
            <li class="active"><a href="#banner">Home</a></li>
            <li><a href="#portfolio">Products</a></li>
            	<li><a href="{{ route('postindexs') }}">Posts</a></li>
              @if($user_id == 1)
              <li><a href="{{ route('admin.index') }}">Add Data</a></li>
              @endif
            @guest
                <li class="nav-item">
                    <a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
                </li>
                @if (Route::has('register'))
                    <li class="nav-item">
                        <a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
                    </li>
                @endif
            @else

                <li class="nav-item dropdown">
                    <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
                        {{ Auth::user()->name }} <span class="caret"></span>
                    </a>

                    <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
                        <a class="dropdown-item" href="{{ route('logout') }}"
                        onclick="event.preventDefault();
                                        document.getElementById('logout-form').submit();">
                            {{ __('Logout') }}
                        </a>
                        <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                            @csrf
                        </form>
                    </div>
                </li>

            @endguest
          </ul>
        </div>
      </div>
    </nav>
  </div>
  <!--HEADER END-->

  <!--BANNER START-->
  <div id="banner" class="section-padding">
    <div class="container">
      <div class="row">
        <div class="jumbotron">
          <h1 class="small">Welcome To <span class="bold">NFF SUPERBIKE</span></h1>
          <p class="big">Choose the bike your like it.</p>
        </div>
      </div>
    </div>
  </div>
  <!--BANNER END-->

  <!--SERVICE END-->
  <div id="portfolio">
    <div class="container">
      <div class="page-title text-center">
        <h1>Products</h1>
        <hr class="pg-titl-bdr-btm"></hr>
      </div>
      <div class="row">
          <center>
        <div class="col-lg-12">
        <button type="button" class="btn btn-light btn-lg"><a href="{{ route('index1')}}">DUCATI</a></button>
        <button type="button" class="btn btn-light btn-lg"><a href="{!! url('/yamaha'); !!}">YAMAHA</a></button>
        <button type="button" class="btn btn-light btn-lg"><a href="{!! url('/honda'); !!}">HONDA</a></button>
        <button type="button" class="btn btn-light btn-lg"><a href="{!! url('/bmw'); !!}">BMW</a></button>
        <button type="button" class="btn btn-light btn-lg"><a href="{!! url('/kawasaki'); !!}">KAWASAKI</a></button>
        <button type="button" class="btn btn-light btn-lg"><a href="{!! url('/suzuki'); !!}">SUZUKI</a></button>
        </div>
        </center>
      </div><br>
      <div class="row" id="portfolio-wrapper">
      @foreach($bikes as $row)
        <div class="col-lg-3 col-md-6 portfolio-item filter-app">
          <a href="{{action('UsersController@show',$row->id)}}">
          <img src="images/{{$row->image}}" onerror="this.style.display='none'"> <img src="{{$row->Img}}" onerror="this.style.display='none'" >
            <div class="details">
              <h4>{{$row->NameProduct}}</h4>
              <span>Price: {{$row->Price}}</span>
            </div>
          </a>
        </div>
    @endforeach
      </div>
    </div>
  </div>






  <div class="footer-bottom">
    <div class="container">
      <div style="visibility: visible; animation-name: zoomIn;" class="col-md-12 text-center wow zoomIn">
        <div class="footer_copyright">
          <p> © Copyright, All Rights Reserved.</p>
          <div class="credits">
            <!--
              All the links in the footer should remain intact.
              You can delete the links only if you purchased the pro version.
              Licensing information: https://bootstrapmade.com/license/
              Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/buy/?theme=Tempo
            -->
            Designed by <a href="https://bootstrapmade.com/">BootstrapMade.com</a>
          </div>
        </div>
      </div>
    </div>
  </div>
  <script src="js/js/jquery.min.js"></script>
  <script src="js/js/jquery.easing.min.js"></script>
  <script src="js/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="js/js/slick.min.js"></script>
  <script type="text/javascript" src="js/js/custom.js"></script>
  <script src="contactform/contactform.js"></script>

</body>

</html>
