Add menu bar for mobile (#529)

This commit is contained in:
Nabeel S 2020-01-31 14:32:43 -05:00 committed by GitHub
parent 03184db2fe
commit 06b47d97e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,73 +1,76 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport'/> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
name='viewport'/>
<title>@yield('title') - {{ config('app.name') }}</title> <title>@yield('title') - {{ config('app.name') }}</title>
{{-- Start of required lines block. DON'T REMOVE THESE LINES! They're required or might break things --}} {{-- Start of required lines block. DON'T REMOVE THESE LINES! They're required or might break things --}}
<meta name="base-url" content="{!! url('') !!}"> <meta name="base-url" content="{!! url('') !!}">
<meta name="api-key" content="{!! Auth::check() ? Auth::user()->api_key: '' !!}"> <meta name="api-key" content="{!! Auth::check() ? Auth::user()->api_key: '' !!}">
<meta name="csrf-token" content="{!! csrf_token() !!}"> <meta name="csrf-token" content="{!! csrf_token() !!}">
{{-- End the required lines block --}} {{-- End the required lines block --}}
<link rel="shortcut icon" type="image/png" href="{{ public_asset('/assets/img/favicon.png') }}"/> <link rel="shortcut icon" type="image/png" href="{{ public_asset('/assets/img/favicon.png') }}"/>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"/> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"/>
<link href="{{ public_asset('/assets/frontend/css/bootstrap.min.css') }}" rel="stylesheet"/> <link href="{{ public_asset('/assets/frontend/css/bootstrap.min.css') }}" rel="stylesheet"/>
<link href="{{ public_mix('/assets/frontend/css/now-ui-kit.css') }}" rel="stylesheet"/> <link href="{{ public_mix('/assets/frontend/css/now-ui-kit.css') }}" rel="stylesheet"/>
<link href="{{ public_asset('/assets/frontend/css/styles.css') }}" rel="stylesheet"/> <link href="{{ public_asset('/assets/frontend/css/styles.css') }}" rel="stylesheet"/>
{{-- Start of the required files in the head block --}} {{-- Start of the required files in the head block --}}
<link href="{{ public_mix('/assets/global/css/vendor.css') }}" rel="stylesheet"/> <link href="{{ public_mix('/assets/global/css/vendor.css') }}" rel="stylesheet"/>
<style type="text/css"> <style type="text/css">
@yield('css') @yield('css')
</style> </style>
<script> <script>
@yield('scripts_head') @yield('scripts_head')
</script> </script>
{{-- End of the required stuff in the head block --}} {{-- End of the required stuff in the head block --}}
</head> </head>
<body> <body>
<!-- Navbar --> <!-- Navbar -->
<nav class="navbar navbar-expand-lg " style="background: #067ec1;"> <nav class="navbar navbar-expand-lg " style="background: #067ec1;">
<p class="navbar-brand text-white" data-placement="bottom" target="_blank"> <a class="navbar-brand text-white" href="{{ url('/') }}" style="margin-left: 20px;">
<a href="{{ url('/') }}" style="margin-left: 20px;"> <img src="{{ public_asset('/assets/img/logo_blue_bg.svg') }}" width="135px" alt=""/>
<img src="{{ public_asset('/assets/img/logo_blue_bg.svg') }}" width="135px" /> </a>
</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation"
</p> aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars text-white"></i>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navigation"> <div class="collapse navbar-collapse justify-content-end" id="navigation">
@include('nav') @include('nav')
</div> </div>
</nav> </nav>
<!-- End Navbar --> <!-- End Navbar -->
<div id="top_anchor" class="clearfix" style="height: 25px;"></div> <div id="top_anchor" class="clearfix" style="height: 25px;"></div>
<div class="wrapper"> <div class="wrapper">
<div class="clear"></div> <div class="clear"></div>
<div class="container-fluid" style="width: 85%!important;"> <div class="container-fluid" style="width: 85%!important;">
{{-- These should go where you want your content to show up --}} {{-- These should go where you want your content to show up --}}
@include('flash.message') @include('flash.message')
@yield('content') @yield('content')
{{-- End the above block--}} {{-- End the above block--}}
</div>
<div class="clearfix" style="height: 200px;"></div>
<footer class="footer footer-default">
<div class="container">
<div class="copyright">
{{--
Please keep the copyright message somewhere, as-per the LICENSE file
Thanks!!
--}}
powered by <a href="http://www.phpvms.net" target="_blank">phpvms</a>
</div>
</div> </div>
<div class="clearfix" style="height: 200px;"></div> </footer>
<footer class="footer footer-default">
<div class="container">
<div class="copyright">
{{--
Please keep the copyright message somewhere, as-per the LICENSE file
Thanks!!
--}}
powered by <a href="http://www.phpvms.net" target="_blank">phpvms</a>
</div>
</div>
</footer>
</div> </div>
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script> <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>