This commit is contained in:
salam committed 2025-10-16 16:19:10 +02:00
1 parent a05e3eeace
commit 248741122f
1 file changed
+7 -6
+7 -6
View File
@@ -1,15 +1,16 @@
@props(['url'])
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
@props(['url', 'color' => 'primary', 'align' => 'center'])
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<td align="{{ $align }}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<td align="{{ $align }}">
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<a href="{{ $url }}" class="button button-primary" target="_blank"
rel="noopener">{!! $slot !!}</a>
<a href="{{ $url }}" class="button button-{{ $color }}"
target="_blank" rel="noopener">{!! $slot !!}</a>
</td>
</tr>
</table>