remove sponsors

This commit is contained in:
Shohrat 2023-11-09 14:30:59 +05:00
parent 97dce997e3
commit dd0accda39
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
class HomeController extends Controller
{
public function index(){
$events = Event::orderBy('event_date', 'desc')->paginate(3);
$events = Event::orderBy('event_date', 'desc')->where('is_active', 1)->paginate(3);
return view('welcome', [
'events' => $events
]);

View File

@ -76,7 +76,7 @@
</p><br/><br/>
<div class="pb-3" style="display: flex; width: 100%; align-items: center">
<p>Please review detailed <a class="text-blue-600 underline" href="https://intranet.eeas.europa.eu/system/files/inline-files/EEAS%20Consent%20Template%20EVENT%20PARTICIPANTS%20-%20To%20be%20adjusted%20by%20Divisions-Delegations_EN_0.docx">CONSENT FORM</a></p>
<p>Please review detailed <a class="text-blue-600 underline" href="/storage/{{ $event->file }}" target="_blank">CONSENT FORM</a></p>
</div>
<div>
@ -147,7 +147,7 @@
</div>
</div>
</div>
<div class="w-full text-center">
{{-- <div class="w-full text-center">
<img class="w-2/3 pt-5 m-auto" src="/img/disclaimer.png" alt="EU-Delegation"><br/><br/><br/>
<div class="pt-4 pb-4">
<h4><b>Our sponsors</b></h4><br/>
@ -198,7 +198,7 @@
</div>
</div>
</div>
</div>
</div> --}}
</form>
</div>