{{# @name Buttons @desc Multiple buttons component calling in `resources/views/components/_button.antlers.html`. @set page.article.buttons #}} {{ if buttons }} {{ if type == 'buttons' }} {{# Add a size utility and use different styling when called as a Bard set. #}}
{{ buttons }} {{ partial:components/button }} {{ /buttons }}
{{ else }} {{# The styling when called from any other partial or template. #}}
{{ buttons }} {{if button_style == 'primary'}} {{ partial:components/button class="group inline-flex items-center gap-4 rounded-full bg-[#a87935] px-7 py-4 text-sm font-medium text-white transition-all duration-300 hover:-translate-y-1 hover:bg-[#8f642a] hover:shadow-lg hover:shadow-[#a87935]/20" }} {{elseif button_style == 'secondary'}} {{ partial:components/button class="bg-secondary" }} {{else}} {{ partial:components/button class="" }} {{/if}} {{ /buttons }}
{{ /if }} {{ /if }}