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>
<meta charset="utf-8">
<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="{{asset('template/css/main.css')}}" rel="stylesheet" >

<meta charset="utf-8"/>
<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="{{asset('template/css/main.css')}}" rel="stylesheet"/>
<style>

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

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

}

footer a:hover{
color: #71a866;

}

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


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


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

View File

@ -249,5 +249,4 @@

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

View File

@ -3,56 +3,36 @@
<nav class="navbar navbar-expand-lg">
<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>

<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>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">

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

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


</style>

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

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

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




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





</ul>

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

</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/respond.js/1.3.0/respond.min.js"></script>

<!-- Google fonts -->
<script type="text/javascript">
WebFontConfig = {
@ -16,8 +15,7 @@
s.parentNode.insertBefore(wf, s);
})();
</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')
@section('content')
@section('head')
<style>
.bgimage {
width:100%;
@ -15,6 +15,8 @@
text-shadow:2px 2px #333;
}
</style>
@stop
@section('content')
<section class="bgimage">
<div class="container">
<div class="row">

View File

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

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

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



@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>
<html lang="{{str_replace('_', '-', app()->getLocale())}}">
@include('template.'.config('settings.template').'.content.head')
<body>
@include('template.'.config('settings.template').'.content.includes.header')
@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>
</html>