$this->addField(['name' => 'link',
'type' => 'SelectFromModel',
- 'label' => 'Cagégorie',
+ 'label' => 'Catégorie',
'optionsmodel' => 'App\Models\Producttype']);
}
}
</p>
<p>
- <link-button :data="$slide['button']" />
+ <link-button :data="$slide['button']"/>
</p>
</text-block>
<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>