|
1 | 1 | <div class="site-section"> |
2 | 2 | <div class="container"> |
3 | | - <div class="row"> |
4 | | - <div class="col-md-6 mx-auto text-center mb-5 section-heading"> |
5 | | - <h2 class="mb-5 text-uppercase">{{ $title }}</h2> |
6 | | - </div> |
7 | | - </div> |
8 | | - <div class="row mb-5"> |
9 | | - <div class="col-md-12 text-left section-heading"> |
10 | | - <h4 class="mb-5 text-uppercase">{{ $page->categories['diamond']['description'] }}</h4> |
11 | | - </div> |
12 | | - |
13 | | - @foreach ($sponsors->filter(fn ($s) => $s->type === 'diamond') as $sponsor) |
14 | | - <div class="col-12 col-md-6 col-lg-6 sponsor"> |
15 | | - @if($sponsor->website) |
16 | | - <a href="{{ $sponsor->website }}" target="_blank" class="btn"> |
17 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
18 | | - </a> |
19 | | - @else |
20 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
21 | | - @endif |
22 | | - </div> |
23 | | - @endforeach |
24 | | - </div> |
25 | | - <div class="row mb-5"> |
26 | | - <div class="col-md-12 text-left section-heading"> |
27 | | - <h4 class="mb-5 text-uppercase">{{ $page->categories['silver']['description'] }}</h4> |
28 | | - </div> |
29 | | - |
30 | | - @foreach ($sponsors->filter(fn ($s) => $s->type === 'silver') as $sponsor) |
31 | | - <div class="col-6 col-md-4 col-lg-4 sponsor"> |
32 | | - @if($sponsor->website) |
33 | | - <a href="{{ $sponsor->website }}" target="_blank" class="btn"> |
34 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
35 | | - </a> |
36 | | - @else |
37 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
38 | | - @endif |
| 3 | + @if(isset($title)) |
| 4 | + <div class="row"> |
| 5 | + <div class="col-md-6 mx-auto text-center mb-5 section-heading"> |
| 6 | + <h2 class="mb-5 text-uppercase">{{ $title }}</h2> |
39 | 7 | </div> |
40 | | - @endforeach |
41 | | - </div> |
42 | | - <div class="row mb-5"> |
43 | | - <div class="col-md-12 text-left section-heading"> |
44 | | - <h4 class="mb-5 text-uppercase">{{ $page->categories['bronze']['description'] }}</h4> |
45 | 8 | </div> |
| 9 | + @endif |
46 | 10 |
|
47 | | - @foreach ($sponsors->filter(fn ($s) => $s->type === 'bronze') as $sponsor) |
48 | | - <div class="col-4 col-md-2 col-lg-2 sponsor"> |
49 | | - @if($sponsor->website) |
50 | | - <a href="{{ $sponsor->website }}" target="_blank" class="btn"> |
51 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
52 | | - </a> |
53 | | - @else |
54 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
55 | | - @endif |
56 | | - </div> |
57 | | - @endforeach |
58 | | - </div> |
59 | | - |
60 | | - <div class="row mb-5"> |
61 | | - <div class="col-md-12 col-lg-12 mb-4"> |
62 | | - <h1 class="text-center">Seja um <a target="_blank" href="https://bit.ly/3OEAiOy">patrocinador</a>!</h1> |
63 | | - </div> |
64 | | - </div> |
65 | | - |
66 | | - <div class="row mb-5"> |
67 | | - <div class="col-md-12 text-left section-heading"> |
68 | | - <h4 class="mb-5 text-uppercase">{{ $page->categories['support']['description'] }}</h4> |
| 11 | + <div class="row"> |
| 12 | + <div class="col-md-12 col-lg-12"> |
| 13 | + <h1 class="text-center">Seja um <a target="_blank" href="{{ url('/contact') }}">patrocinador</a>!</h1> |
69 | 14 | </div> |
70 | | - |
71 | | - @foreach ($sponsors->filter(fn ($s) => $s->type === 'support') as $sponsor) |
72 | | - <div class="col-4 col-md-2 col-lg-2 sponsor"> |
73 | | - @if($sponsor->website) |
74 | | - <a href="{{ $sponsor->website }}" target="_blank" class="btn"> |
75 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
76 | | - </a> |
77 | | - @else |
78 | | - <img src="{{ url($sponsor->image) }}" alt="{{ $sponsor->name }}" class="img-fluid"> |
79 | | - @endif |
80 | | - </div> |
81 | | - @endforeach |
82 | 15 | </div> |
83 | 16 | </div> |
84 | 17 | </div> |
0 commit comments