mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
16 lines
427 B
PHP
16 lines
427 B
PHP
<?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>';
|
|
}
|
|
|
|
}
|