Shop, menu, and booking storefronts with OIDC SSO, Pay checkout, and merchant.ladill.com deployment workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
292 B
PHP
17 lines
292 B
PHP
@props([
|
|
'href' => null,
|
|
'type' => 'button',
|
|
])
|
|
|
|
@php
|
|
$tag = $href ? 'a' : 'button';
|
|
@endphp
|
|
|
|
<{{ $tag }}
|
|
@if ($href) href="{{ $href }}" @endif
|
|
@if ($tag === 'button') type="{{ $type }}" @endif
|
|
{{ $attributes->class(['btn-primary']) }}
|
|
>
|
|
{{ $slot }}
|
|
</{{ $tag }}>
|