google analytics test
This commit is contained in:
@@ -60,6 +60,15 @@
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136108155-1"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-136108155-1');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -47,12 +47,13 @@
|
||||
|
||||
@else
|
||||
@if(Auth::user()->role == "admin")
|
||||
<!-- <li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li> -->
|
||||
<li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li>
|
||||
<li><a href="{{ url('admin') }}">Dashboard</a></li>
|
||||
@elseif(Auth::user()->role == "store_owner")
|
||||
<li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li>
|
||||
<li><a href="{{ url('user') }}">Dashboard</a></li>
|
||||
@else
|
||||
<!-- <li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li> -->
|
||||
<li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li>
|
||||
<li><a href="{{ url('user') }}">Dashboard</a></li>
|
||||
@endif
|
||||
<li role="separator" class="divider"></li>
|
||||
|
||||
Reference in New Issue
Block a user