mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
only my meetups events calendar stream url added
This commit is contained in:
15
app/Traits/HasMapEmbedCodeTrait.php
Normal file
15
app/Traits/HasMapEmbedCodeTrait.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
trait HasMapEmbedCodeTrait
|
||||
{
|
||||
public string $mapEmbedCode = '';
|
||||
|
||||
public function mountHasMapEmbedCodeTrait()
|
||||
{
|
||||
$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>';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user