Skip to content

Instantly share code, notes, and snippets.

@shanerbaner82
Created February 2, 2021 14:16
Show Gist options
  • Save shanerbaner82/0a49f1164e152286f50578259a8306ff to your computer and use it in GitHub Desktop.
Save shanerbaner82/0a49f1164e152286f50578259a8306ff to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>
@yield('title')
</title>
<!-- META -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="@yield('meta-description')">
<meta name="author" content="dettlaffinc.com">
<meta name="msvalidate.01" content="C2399A3AA860E8AB5A816DEC657CD441"/>
<meta name="p:domain_verify" content="6507a70c8b918da1664f642c4908b29f"/>
<meta name="_token" content="{!! csrf_token() !!}"/>
<!-- FAVICON -->
<link rel="shortcut icon" href="{{asset('/assets/img/favicon.ico')}}">
<!-- SCRIPTS -->
<x-frontend.global-header-scripts/>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="{{ mix('assets/css/tailwind.css') }}">
@stack('styles')
@livewireStyles
<!-- FONT -->
<link rel="preconnect" href="https://fonts.googleapis.com">
{{-- <script src="https://polyfill.io/v3/polyfill.min.js?flags=gated&rum=true&features=es6%2Ces5%2Cdefault"></script>--}}
{{-- ALLOW OTHER PAGES TO LOAD CUSTOM SCRIPTS --}}
@stack('header-scripts')
</head>
<body class="no-trans front-page tw-antialiased tw-font-lato">
<x-frontend.google-body-scripts/>
<x-frontend.refill-button/>
{{-- REFACTOR SCROLL TO TOP --}}
{{-- <div class="scrollToTop"><i class="fa fa-angle-up"></i></div>--}}
{{-- REFACTOR SIGNUP BANNER --}}
{{-- <signup-banner message="{{ config('nuimage.site_messages.optin_message') }}" ipaddress={{ request()->ip() }}></signup-banner>--}}
<div class="tw-bg-white">
<x-frontend.top-menu />
<x-frontend.header />
@yield('content')
<footer id="footer" class="clearfix">
@include('includes.footer.footer')
@if(config("nuimage.site_messages.show_coupon_modal"))
@include('includes.ads.offer_coupon_modal')
@endif
</footer>
</div>
{{-- MUST REFACTOR FLASH NOTIFICATIONS --}}
{{-- <flash-message></flash-message> --}}
<x-frontend.global-footer-scripts/>
@stack('footer-scripts')
@livewireScripts
</body>
</html>
@didwiz
Copy link

didwiz commented Feb 2, 2021

better!
less clutter
nice one Shane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment