]> _ Git - pmi.git/commitdiff
done #2925 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 14 Aug 2019 13:16:11 +0000 (15:16 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 14 Aug 2019 13:16:11 +0000 (15:16 +0200)
.env.production
.env.staging
app/SubForms/HomeProductHighlight.php
resources/views/pages/home.blade.php

index f2ab9686daaa50d89f057012d6b9dfcb25d85633..385c4251db835cfe807749ebcf9f0f92f7d202b3 100644 (file)
@@ -16,7 +16,7 @@ DB_PASSWORD=ZJMcD6nAc3xnLjLVKZ2iWi69
 BROADCAST_DRIVER=log
 CACHE_DRIVER=file
 QUEUE_CONNECTION=sync
-SESSION_DRIVER=redis
+SESSION_DRIVER=file
 SESSION_LIFETIME=120
 
 REDIS_HOST=127.0.0.1
index f79a4b59a20f5f3e3103d1405251e532fba4173d..c581028f24a6b36040f1fec5d3d0ca013f7b9022 100644 (file)
@@ -15,7 +15,7 @@ DB_PASSWORD=ZJMcD6nAc3xnLjLVKZ2iWi69
 BROADCAST_DRIVER=log
 CACHE_DRIVER=file
 QUEUE_CONNECTION=sync
-SESSION_DRIVER=redis
+SESSION_DRIVER=file
 SESSION_LIFETIME=120
 
 REDIS_HOST=127.0.0.1
index 384b06f2ea6bbe2bee327d1fab46e9b5f0d3da67..cb10b76326f1c71c064bd65bbedf1d7b9e949f0a 100644 (file)
@@ -22,7 +22,7 @@ class HomeProductHighlight extends SubForm
 
         $this->addField(['name' => 'link',
             'type' => 'SelectFromModel',
-            'label' => 'Cagégorie',
+            'label' => 'Catégorie',
             'optionsmodel' => 'App\Models\Producttype']);
     }
 }
index 160774124239c5ccc300f755f93c86663fcda535..5d84449c256d08242fecb6a281d7fa9c16c26729 100644 (file)
@@ -21,7 +21,7 @@
                             </p>
 
                             <p>
-                                <link-button :data="$slide['button']" />
+                                <link-button :data="$slide['button']"/>
                             </p>
 
                         </text-block>
@@ -59,7 +59,7 @@
                                 <a class="animated-underline partial-underline flex flex-col justify-between w-full"
                                    href="{{ $nav->getHrefById('product_type_'.$highlight['link']) }}">
                                     <div class="flex items-center justify-center flex-grow">
-                                        <img class="mb-4" src="{{ asset("storage/products/1.png") }}">
+                                        <img class="mb-4" src="{{ $page->getImageUrlByCollection($highlight['image']) }}">
                                     </div>
                                     <p class="text-lg text-navy font-display font-medium">{{ $highlight['title'] }}</p>
                                 </a>
                                 <a class="animated-underline partial-underline flex flex-col justify-between w-full"
                                    href="{{ $nav->getHrefById('product_type_'.$highlight['link']) }}">
                                     <div class="flex items-center justify-center flex-grow">
-                                        <img class="mb-4" src="{{ $page->getImageURL($highlight['image']) }}">
+                                        <img alt="{{$highlight['image']}}" class="mb-4" src="{{ $page->getImageURLByCollection($highlight['image']) }}">
                                     </div>
                                     <p class="text-lg text-navy font-display font-medium">{{ $highlight['title'] }}</p>
                                 </a>
                             </div>
                         @endforeach
                     </grid>
-
                 </column>
-
             </columns>
-
         </content>
     </full-width>