]> _ Git - pmi.git/commitdiff
wip #2764 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Sep 2019 09:49:00 +0000 (11:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Sep 2019 09:49:00 +0000 (11:49 +0200)
resources/styles/components/logowall.styl
resources/views/pages/aboutus.blade.php
resources/views/partials/logowall.blade.php

index f6310e31359b720de42333d486f5227b207e161b..cdb321499bdbc86ee548726f45851b50edb468d7 100644 (file)
       width 25%
       padding: 0 20px 20px 0
 
+      > img, >a
+        display block
+        background: #fff
+
+      a:hover
+        @apply bg-grey-200
+
       @media (max-width 1024px)
         width 33.333%
 
       @media (max-width 640px)
         width 50%
-
-      > *
-        background: #fff;
index 71ae39353c8b4af6d795428fb4b975c3e56653d3..20ceb55270cfee4fb55380fab4f0a8b50be53265 100644 (file)
             </columns>
         </content>
     </full-width>
+
+    @if(config('features.partners'))
+        {{-- Our Partners --}}
+        <full-width class="bg-grey-100">
+            <content>
+                <text-block :title="__('Nos partenaires')"/>
+
+                @include("partials.logowall",['logos'=>$page->get('partners')])
+            </content>
+        </full-width>
+    @endif
 @endsection
index 052a99b663f34fb682736446bc2c3b5a6ac1b2ca..9a9bf39ad7b834dddd0b47bfd9d45760927fb223 100644 (file)
@@ -12,7 +12,7 @@
     @push($stack)
         <div class="logo">
             @if($logo['url'])
-                <a href="{{$logo['url']}}" target="_blank">
+                <a href="{{$logo['url']}}" class="logolink" target="_blank">
                     @endif
                     <img src="{{$page->getImageURLByCollection($logo['logo'])}}" alt="{{$logo['title']}}"/>
                     @if($logo['url'])