only my meetups events calendar stream url added

This commit is contained in:
HolgerHatGarKeineNode
2023-03-16 15:43:58 +01:00
parent 6604b4c806
commit 4066b9fca2
17 changed files with 100 additions and 26 deletions

View File

@@ -4,21 +4,16 @@ namespace App\Http\Livewire\Meetup;
use App\Models\Country;
use App\Models\Meetup;
use App\Traits\HasMapEmbedCodeTrait;
use Livewire\Component;
use RalphJSmit\Laravel\SEO\Support\SEOData;
class MeetupTable extends Component
{
use HasMapEmbedCodeTrait;
public Country $country;
public string $mapEmbedCode = '';
public function mount()
{
$this->mapEmbedCode = '<iframe src="'.url()->route('meetup.embed.countryMap',
['country' => $this->country->code]).'" width="100%" height="500" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>';
}
public function filterByMarker($id)
{
$meetup = Meetup::with(['city.country'])