]> _ Git - pmi.git/commitdiff
wait #2745 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 9 Sep 2019 18:22:17 +0000 (20:22 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 9 Sep 2019 18:22:17 +0000 (20:22 +0200)
resources/styles/components/cookies-consent.styl [new file with mode: 0644]
resources/views/layouts/app.blade.php

diff --git a/resources/styles/components/cookies-consent.styl b/resources/styles/components/cookies-consent.styl
new file mode 100644 (file)
index 0000000..8518c1d
--- /dev/null
@@ -0,0 +1,26 @@
+#cookie-consent
+  font-family theme('fontFamily.body')
+  height: 72px
+  width: 100vw
+  font-size: 14px
+  background-color: rgba(21, 47, 78, 0.8)
+  position: fixed
+  text-align center
+  bottom: 0
+  color #fff
+
+  @media (max-width: 1105px)
+    padding: 20px 20px
+  @media (max-width: 470px)
+    padding: 70px 20px
+
+  div
+    margin-top: 25px;
+    display: inline-block;
+
+  button
+    margin-left: 20px;
+    display: inline-block;
+    background-color: #0EAADA
+    padding: 9px 13px
+    border-radius: 3px
index 64c14dae7f74783c55c5756312e0513c0b4ecf97..8087490d91a378f5fdc602f5856bb4171c3b3557 100644 (file)
@@ -14,7 +14,6 @@
 @include('cubist::body.begin')
 
 <div id="app" class="flex flex-col min-h-screen" data-cart-items='@json(\App\Models\Product::getCartData())'>
-
     @include('partials.header')
 
     @section('breadcrumbs')
@@ -35,6 +34,7 @@
 
     <div class="body-overlay" @click="closeCart"></div>
 </div>
+@include('cubist::privacy.cookies-consent')
 @include('cubist::body.end')
 </body>
 </html>