]> _ Git - odl.git/commitdiff
wip #4914
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Dec 2021 15:44:57 +0000 (16:44 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Dec 2021 15:44:57 +0000 (16:44 +0100)
resources/views/front/resources.blade.php

index 840bc51fe5ff226a1b3dc101e9614f738cf42f80..8c15a4d04a82643d28347f18ceacf93601398833 100644 (file)
             {{-- DOCUMENTS --}}
             <div class="grid lg:grid-cols-2 gap-6">
                 @foreach($resources['documents'] as $doc)
-                    <a href="#" @click.prevent="openPDF('{{ $doc['document_pdf'] }}')" class="group">
+                    <a href="#" @click.prevent="openPDF('/storage/242/fluidbook.pdf')" class="group">
                         <div class="bg-blue flex items-center p-10 text-white rounded-md">
-                            <img class="w-1/2 pr-6" src="{{ $doc['document_image'] }}" alt="{{ $doc['document_title'] }}">
+                            <img class="w-1/2 pr-6" src="/storage/107/groupe-133-at-2x.png" alt="{{ $doc['document_title'] }}">
+{{--                            <img class="w-1/2 pr-6" src="{{ $doc['document_image'] }}" alt="{{ $doc['document_title'] }}">--}}
                             <div class="-mr-5 space-y-4">
                                 <h3 class="text-4xl font-semibold">{{ $doc['document_title'] }}</h3>
                                 <p>{{ $doc['document_subtitle'] }}</p>
                         {{-- MEMOS --}}
                         <div class="grid grid-cols-2 gap-5 mt-8">
                             @foreach ($subchapter['subchapter_memos'] as $memo)
-                                <a href="#" @click.prevent="openPDF('{{ $memo['memo_pdf'] }}')" class="group">
+                                <a href="#" @click.prevent="openPDF('/storage/242/fluidbook.pdf')" class="group">
                                     <div class="bg-grey-50 flex items-center p-8 rounded-md">
                                         <img class="w-1/4 pr-4"
-                                             src="{{ $memo['memo_image'] }}"
+{{--                                             src="{{ $memo['memo_image'] }}"--}}
+                                             src="/storage/108/groupe-134-at-2x.png"
                                              alt="{{ $memo['memo_title'] }}">
                                         <div class="space-y-2.5">
                                             <h3 class="text-base font-semibold">{{ $memo['memo_title'] }}</h3>