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

@ -3,7 +3,8 @@
<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>
@ -34,11 +35,13 @@
<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>
</p> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation"
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>