blob: 71a57269524875c3226bfe3714c20d5d77c13f11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
@extends('layouts.base')
@section('header')
Angebote
@endsection
@section('content')
<main class="site-main" id="main">
<div class="container">
<nav class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/" aria-label="breadcrumb">
<ol class="breadcrumb">
<!-- Breadcrumb NavXT 6.2.1 -->
<li class="home breadcrumb-item"><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Gehe zur Startseite: Fuselkönig.de" href="https://www.fuselkoenig.de" class="home"><span property="name">Startseite</span></a><meta property="position" content="1"></span></li>
<li class="archive taxonomy type current-item breadcrumb-item active" aria-current="page"><span property="itemListElement" typeof="ListItem"><span property="name">Angebote</span><meta property="position" content="2"></span></li>
</ol>
</nav>
</div>
<div class="container">
<header class="page-header">
<div class="card taxonomy-card">
<div class="card-body">
<h1 class="card-title page-title">Topaktuelle Sonderangebote und Rabattaktionen</h1>
<p class="lead my-3">
Auf der Suche nach einem Gin, Whisky oder vielleicht einem guten Champagner?
<br>
<strong>Lass dich inspirieren und schaue, was momentan im Angebot ist.</strong>
</p>
<p class="lead my-3">
Stöbere unter <strong>{{$hits->count }} verschiedenen Sonderangeboten</strong> und finde vielleicht deine neue Lieblingsspirituose.
</p>
<p class="lead my-3">
Täglich neue Schnäppchen. Finde jetzt den besten Deal!
</p>
<p class="lead my-3">
<a href="#erfahremehr">Erfahre mehr…</a>
</p>
</div>
</div>
</header><!-- .page-header -->
@if ( empty($data) )
<div class="alert alert-error">
<h4 class="alert-heading">Keine Angebote</h4>
Momentan liegen keine Angebote vor. Probieren Sie es später noch einmal.
</div>
@else
@foreach( $data as $offer)
<?php
if ( !in_array(strtolower($offer->spirit_type), $views) ) {
$offer->url = "misc";
$offer->angebotsname = "weiteren Angeboten";
$offer->linktext = "Weitere günstige Angebote entdecken und bis zu " . $offer->procent . "% sparen.";
$offer->spirit_type = "Verschiedenes";
} else {
$offer->url = lcfirst($offer->url) ;
$offer->angebotsname = "den " . $offer->angebotsname . "-Angeboten";
$offer->linktext = "Finde den günstigsten ". $offer->spirit_type ." und spare bis zu " . $offer->procent . "%.";
}
?>
@if ( $loop->index % 2 == 0)
<div class="row mb-2">
@endif
<div class="col-md-6 col-sm-12" id="{{ $offer->name }}">
<div class="card">
<div class="row ">
<div class="col-md-4 offer-index">
<div class="card-img-overlay card-img-overlay-badge" >
<p class="card-text float-right rounded off-badge" >{{ $offer->procent}} %</p>
</div>
<a href="{{ $offer->url }}">
<img width=280 height=400 src="{{ TF::Camo($offer->image_url) }}" class="card-img img-fluid mx-auto d-block" loading="lazy">
</a>
</div>
<div class="col-md-8 px-10">
<div class="card-header card-header-dp-none">
<p><strong>
<a style="color: inherit;" href="{{ route('search', [ 'q' => ucfirst($offer->spirit_type) ] ) }}" title="Alle {{ ucfirst($offer->spirit_type) }} anzeigen" rel="nofollow">{{ ucfirst($offer->spirit_type) }}</a>
</strong></p>
</div>
<div class="card-block card-body px-3">
<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>
</div>
</div>
</div>
</div>
</div>
@if ( $loop->index % 2 == 1 )
</div>
@endif
@if ( $loop->last && ($loop->index % 2 == 0) )
</div>
@endif
<!-- end list offers -->
@endforeach
<!-- end check for empty -->
@endif
<h3 id="erfahremehr">Was passiert hier?</h3>
<p>
Auf dieser Webseite kuratiere ich die aktuellen Sonderangebote der wichtigsten Spirituosenhändler. Neue Angebote werden automatisch erkannt und hinzugefügt; nicht mehr gültige Angebote werden entfernt.
</p>
<h3>Wie häufig werden die Angebote aktualisiert?</h3>
<p>
Mehrmals täglich.
</p>
<h3>Gibt es Push-Nachrichten?</h3>
<p>
Noch nicht. Momentan ist die einzige Möglichkeit den Angeboten via RSS-Feed zu folgen. Mitteilungen per Push, E-Mail oder Twitter sind jedoch geplant.
<br>
Wenn du Interesse an einem Twitter-Feed, Newsletter oder ähnliches hast, schreib mir doch eine <a href="https://www.fuselkoenig.de/kontakt/">kurze, formlose Mail</a>. Je mehr Leute mir schreiben, desto eher kann ich die Wünsche auch umsetzen.
</p>
<p>
Anregungen? Kritik? Wünsche? <a href="https://www.fuselkoenig.de/kontakt/">Einfach mir eine Mail schreiben.</a>
</p>
</div>
</main>
@endsection
|