add cookies consent

master
Gustavo Luigi 2022-11-30 13:18:55 -03:00
parent 0cc48f743b
commit 6d21b73eb2
6 changed files with 27 additions and 68 deletions

View File

@ -1,17 +1,12 @@

<head> <head>
<meta charset="utf-8"> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, user-scalable=no"> <meta name="viewport" content="width=device-width, user-scalable=no"/>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"/>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> <link href="{{asset('template/css/main.css')}}" rel="stylesheet"/>
<link href="{{asset('template/css/main.css')}}" rel="stylesheet" >

<style> <style>

h1,h2,h3{ h1,h2,h3{
color: #413c35; color: #413c35;
} }

a{ a{
color: #71a866; color: #71a866;
} }
@ -19,18 +14,13 @@
color: white; color: white;


} }

footer a:hover{ footer a:hover{
color: #71a866; color: #71a866;

} }

.card h2{ .card h2{
color: #71a866; color: #71a866;
} }
</style </style>

@include('template.'.config('settings.template').'.content.includes.integrations')

@yield('head')
@include('template.'.config('settings.template').'.content.includes.integrations') </head>


View File

@ -249,5 +249,4 @@


</div> </div>
</div> </div>
</div> </div>
<script src="{{storage('js/cookies-consent.js')}}"></script>

View File

@ -3,56 +3,36 @@
<nav class="navbar navbar-expand-lg"> <nav class="navbar navbar-expand-lg">
<div class="container-fluid" style="justify-content: normal;"> <div class="container-fluid" style="justify-content: normal;">
<a href="{{ url('/') }}"><img alt="Logo" src="{{ asset('template/images/logo.png') }}" width="251" height="79"></a> <a href="{{ url('/') }}"><img alt="Logo" src="{{ asset('template/images/logo.png') }}" width="251" height="79"></a>

<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0"> <ul class="navbar-nav ms-auto mb-2 mb-lg-0">

<style> <style>
.nav-item a{ .nav-item a{
font-weight: bold; font-weight: bold;
color: #413c35; color: #413c35;
font-size: 20px; font-size: 20px;
} }

.nav-item a:hover, .nav-item a:active{ .nav-item a:hover, .nav-item a:active{
color: #71a866; color: #71a866;
} }


</style> </style>

<li class="nav-item mt-3"> <li class="nav-item mt-3">
<a class="nav-link mx-md-4" href="{{url('/verkaufsstellen')}}">Verkaufsstellen</a> <a class="nav-link mx-md-4" href="{{url('/verkaufsstellen')}}">Verkaufsstellen</a>
</li> </li>

<li class="nav-item mt-3"> <li class="nav-item mt-3">
<a class="nav-link mx-md-4" href="{{url('/huehnerhof')}}">Hühnerhof</a> <a class="nav-link mx-md-4" href="{{url('/huehnerhof')}}">Hühnerhof</a>
</li> </li>

<li class="nav-item mt-3"> <li class="nav-item mt-3">
<a class="nav-link mx-md-4" href="{{url('/baeckerei')}}">Bäckerei</a> <a class="nav-link mx-md-4" href="{{url('/baeckerei')}}">Bäckerei</a>
</li> </li>




<li class="nav-item mt-3"> <li class="nav-item mt-3">
<a class="nav-link" href="{{url('/kontakt')}}">Kontakt</a> <a class="nav-link" href="{{url('/kontakt')}}">Kontakt</a>
</li> </li>





</ul> </ul>

</div> </div>
</div> </div>
</nav> </nav>

</div> </div>
</nav> </nav>

View File

@ -1,6 +1,5 @@
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>

<!-- Google fonts --> <!-- Google fonts -->
<script type="text/javascript"> <script type="text/javascript">
WebFontConfig = { WebFontConfig = {
@ -16,8 +15,7 @@
s.parentNode.insertBefore(wf, s); s.parentNode.insertBefore(wf, s);
})(); })();
</script> </script>



<script src="https://kit.fontawesome.com/ce5792b591.js"></script> <script src="https://kit.fontawesome.com/ce5792b591.js"></script>
<script data-main="scripts/main" src="{{ asset('js/requirejs/require.js') }}"></script> <script src="{{storage('js/jquery-3.2.1.min.js')}}"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.js"></script>
<script src="{{storage('js/cookies-consent.js')}}"></script>

View File

@ -1,5 +1,5 @@
@extends('template.'.config('settings.template').'.content.master') @extends('template.'.config('settings.template').'.content.master')
@section('content') @section('head')
<style> <style>
.bgimage { .bgimage {
width:100%; width:100%;
@ -15,6 +15,8 @@
text-shadow:2px 2px #333; text-shadow:2px 2px #333;
} }
</style> </style>
@stop
@section('content')
<section class="bgimage"> <section class="bgimage">
<div class="container"> <div class="container">
<div class="row"> <div class="row">

View File

@ -1,22 +1,12 @@
<!doctype html> <!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <html lang="{{str_replace('_', '-', app()->getLocale())}}">

@include('template.'.config('settings.template').'.content.head')
<head> <body>
@include('template.'.config('settings.template').'.content.head') @include('template.'.config('settings.template').'.content.includes.header')
</head> @yield('content')

@include('template.'.config('settings.template').'.content.includes.cookies')
<body> @include('template.'.config('settings.template').'.content.includes.footer')
@include('template.'.config('settings.template').'.content.includes.header') @include('template.'.config('settings.template').'.content.includes.scripts')

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>

</body>

</html>
@yield('content')

@include('template.'.config('settings.template').'.content.includes.cookies')
@include('template.'.config('settings.template').'.content.includes.footer')
@include('template.'.config('settings.template').'.content.includes.scripts')
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>



</body>