| 12345 |
- @props(['brand', 'href', 'outline' => false])
- {{-- A button that works in every email app: a link styled as a button. --}}
- <a href="{{ $href }}" class="sf-button" target="_blank" style="display: inline-block; padding: 13px 24px; border-radius: {{ $brand->buttonRadius }}px; font-family: {{ $brand->bodyFont }}; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; {{ $outline
- ? 'background-color: transparent; color: '.$brand->color('foreground').'; border: 1px solid '.$brand->color('border').';'
- : 'background-color: '.$brand->color('primary').'; color: '.$brand->color('primaryForeground').'; border: 1px solid '.$brand->color('primary').';' }}">{{ $slot }}</a>
|