diff options
| author | horus | 2021-01-07 03:23:42 +0100 |
|---|---|---|
| committer | horus | 2021-01-07 03:23:42 +0100 |
| commit | 48b90ed22e6604ca869de054b499ac1bd4a4d6a2 (patch) | |
| tree | 1bf61adc72cf7c80a02e5fe6cac6b01d8bbbd476 /resources/views/index.blade.php | |
| parent | 2b6ef973377f4f36e374e1f672c807932b746364 (diff) | |
| download | kategorischeraperitif-48b90ed22e6604ca869de054b499ac1bd4a4d6a2.tar.gz | |
Upgrade Laravel from 5.6 to 8. Switch to subdomain instead of subfolder.
Diffstat (limited to 'resources/views/index.blade.php')
| -rw-r--r-- | resources/views/index.blade.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 8dfd47f..c542406 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -70,19 +70,19 @@ Angebote <div class="card-img-overlay card-img-overlay-badge" > <p class="card-text float-right rounded off-badge" >{{ $offer->procent}} %</p> </div> - <a href="/angebote/{{ $offer->url }}"> + <a href="{{ $offer->url }}"> <img width=280 height=400 src="{{ TF::Camo($offer->image_url) }}" class="card-img img-fluid mx-auto d-block"> </a> </div> <div class="col-md-8 px-10"> <div class="card-header"> <p><strong> - <a style="color: inherit;" href="/angebote/search?q={{ ucfirst($offer->spirit_type) }}" title="Alle {{ ucfirst($offer->spirit_type) }} anzeigen">{{ ucfirst($offer->spirit_type) }}</a> + <a style="color: inherit;" href="{{ route('search', [ 'q' => ucfirst($offer->spirit_type) ] ) }}" title="Alle {{ ucfirst($offer->spirit_type) }} anzeigen">{{ ucfirst($offer->spirit_type) }}</a> </strong></p> </div> <div class="card-block card-body px-3"> - <a class="text-dark card-link" href="/angebote/{{ $offer->url }}"> + <a class="text-dark card-link" href="/{{ $offer->url }}"> <h3 class="card-title">Hier geht es zu {{ $offer->angebotsname }}</h3> <p>{{ $offer->linktext }}</p> </a> |
