table buttons changed

This commit is contained in:
Benjamin Takats
2023-01-17 16:56:24 +01:00
parent ed24fe6616
commit 3a32d1ebe5
4 changed files with 20 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
<div>
<div class="flex flex-col space-y-1">
@if($row->meetup_events_count > 0)
<x-button
xs
@@ -7,17 +7,6 @@
<i class="fa fa-thin fa-calendar mr-2"></i>
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
</x-button>
<x-button
xs
x-data="{
textToCopy: '{{ route('meetup.ics', ['country' => $country, 'meetup' => $row->id]) }}',
}"
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Calendar Stream Url copied!') }}',description:'{{ __('Paste the calendar stream link into a compatible calendar app.') }}',icon:'success'});"
amber>
<i class="fa fa-thin fa-calendar-arrow-down mr-2"></i>
{{ __('Calendar Stream-Url') }} ({{ $row->meetup_events_count }})
</x-button>
@endif
@if($row->meetup_events_count < 1)
<x-button
@@ -28,6 +17,17 @@
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
</x-button>
@endif
<x-button
xs
black
x-data="{
textToCopy: '{{ route('meetup.ics', ['country' => $country, 'meetup' => $row->id]) }}',
}"
@click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Calendar Stream Url copied!') }}',description:'{{ __('Paste the calendar stream link into a compatible calendar app.') }}',icon:'success'});"
>
<i class="fa fa-thin fa-calendar-arrow-down mr-2"></i>
{{ __('Calendar Stream-Url') }} ({{ $row->meetup_events_count }})
</x-button>
<x-button
black
xs
@@ -39,7 +39,7 @@
@if($row->telegram_link)
<x-button
xs
secondary
black
target="_blank"
:href="$row->telegram_link"
>
@@ -50,7 +50,7 @@
@if($row->webpage)
<x-button
xs
secondary
black
target="_blank"
:href="$row->webpage"
>
@@ -61,7 +61,7 @@
@if($row->twitter_username)
<x-button
xs
secondary
black
target="_blank"
:href="$row->twitter_username"
>

View File

@@ -1,5 +1,5 @@
<div class="flex items-center space-x-2">
<img class="h-12" src="{{ $row->getFirstMediaUrl('logo', 'thumb') }}" alt="{{ $row->name }}">
<img class="h-24" src="{{ $row->getFirstMediaUrl('logo', 'thumb') }}" alt="{{ $row->name }}">
<div>
{{ $row->name }}
</div>

View File

@@ -72,8 +72,8 @@
{{--<img class="mx-auto h-32 w-32 object-contain flex-shrink-0 rounded"
src="{{ $meetupEvent->meetup->getFirstMediaUrl('logo') }}"
alt="{{ $meetupEvent->meetup->name }}">--}}
<h3 class="mt-1 text-xl font-medium text-gray-900 truncate">{{ $meetupEvent->start->asDate() }}</h3>
<h3 class="mt-1 text-xl font-medium text-gray-900 truncate">{{ $meetupEvent->location }}</h3>
<h3 class="mt-1 text-xl font-medium text-gray-900">{{ $meetupEvent->start->asDateTime() }}</h3>
<h3 class="mt-1 text-xl font-medium text-gray-900">{{ $meetupEvent->location }}</h3>
<dl class="mt-1 flex flex-grow flex-col justify-between">
<div x-data="{ active: 2 }" class="mx-auto max-w-3xl w-full space-y-4">
<div x-data="{