bitcoin events added

This commit is contained in:
Benjamin Takats
2022-12-12 18:32:50 +01:00
parent 568fbfb4b4
commit 1549fb0f43
15 changed files with 357 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
<div class="bg-21gray flex flex-col h-screen justify-between">
{{-- HEADER --}}
<livewire:frontend.header :country="$country"/>
{{-- MAIN --}}
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4" id="table">
<livewire:tables.bitcoin-event-table :country="$country->code"/>
</div>
</section>
{{-- FOOTER --}}
<livewire:frontend.footer/>
</div>

View File

@@ -66,6 +66,12 @@
Meetup-Termine
</a>
@endif
@if(str(request()->route()->getName())->contains('bitcoinEvent.'))
<a href="{{ route('bitcoinEvent.table.bitcoinEvent', ['country' => $c]) }}"
class="{{ request()->routeIs('bitcoinEvent.table.bitcoinEvent') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Veranstaltungen
</a>
@endif
</nav>
</div>

View File

@@ -77,7 +77,7 @@
</div>
<div
class="row-span-2 col-span-full sm:col-span-1 md:col-start-2 xl:col-start-3 sm:row-start-1 md:row-start-4 xl:row-start-1">
<a href="#"
<a href="{{ route('bitcoinEvent.table.bitcoinEvent', ['country' => 'de']) }}"
class="relative flex flex-col items-start justify-end w-full h-full overflow-hidden bg-black shadow-lg rounded-xl group"
style="aspect-ratio: 1/1;">
<div class="absolute inset-0 w-full h-full">
@@ -91,7 +91,7 @@
<span
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">Worldwide</span>
<h4 class="text-4xl font-bold tracking-tight text-gray-100 sm:text-3xl md:text-2xl lg:text-3xl">
Events
Veranstaltungen
</h4>
</div>
</a>

View File

@@ -46,6 +46,12 @@
</x-jet-nav-link>
@endif
@if(str(request()->route()->getName())->contains('bitcoinEvent.'))
<x-jet-nav-link href="/nova/resources/bitcoin-events" target="_blank">
{{ __('Veranstaltung eintragen') }}
</x-jet-nav-link>
@endif
<x-jet-nav-link href="{{ route('profile.show') }}" :active="request()->routeIs('profile.show')">
{{ __('Mein Profil') }}
</x-jet-nav-link>