@php use Modules\Biolinks\Enums\PaypalType; @endphp {{ $biolinkSettings->page_title ?? $biolink->page_title }} @if ($biolinkSettings->theme_color) @else @endif @if (!$biolinkSettings->branding_name) @endif @if ($biolinkSettings->block_hover_animation == \Modules\Biolinks\Enums\BlockHoverAnimation::SMOOTH) @elseif ($biolinkSettings->block_hover_animation == \Modules\Biolinks\Enums\BlockHoverAnimation::INSTANT) @endif
@foreach ($blocks as $block) @if ($block->type == 'heading')
<{{ $block->heading_type }} class="text-break m-0" style="color: {{ $block->text_color }}; text-align: {{ $block->text_alignment->value }};" data-block-id="{{ $block->id }}"> {{ $block->name }} heading_type }}>
@endif @if ($block->type == 'link') @endif @if ($block->type == 'paragraph')

{!! nl2br($block->paragraph) !!}

@endif @if ($block->type == 'avatar') @endif @if ($block->type == 'image') @endif @if ($block->type == 'email-collector') @endif @if ($block->type == 'phone-collector') @endif @if ($block->type == 'paypal')
paypal_type == PaypalType::BUY_NOW) href="https://www.paypal.com/cgi-bin/webscr?business={{ $block->email }}&cmd=_xclick¤cy_code={{ $block->currency_code }}&amount={{ $block->price }}&item_name={{ $block->product_title }}&return={{ $block->thank_you_url }}&cancel_return={{ $block->cancelled_payment_url }}" @endif @if ($block->paypal_type == PaypalType::DONATION) href="https://www.paypal.com/cgi-bin/webscr?business={{ $block->email }}&cmd=_donations¤cy_code={{ $block->currency_code }}&amount={{ $block->price }}&item_name={{ $block->product_title }}&return={{ $block->thank_you_url }}&cancel_return={{ $block->cancelled_payment_url }}" @endif @if ($block->paypal_type == PaypalType::ADD_TO_CART) href="https://www.paypal.com/cgi-bin/webscr?business={{ $block->email }}&cmd=_cart¤cy_code={{ $block->currency_code }}&amount={{ $block->price }}&item_name={{ $block->product_title }}&button_subtype=products&add=1&return={{ $block->thank_you_url }}&cancel_return={{ $block->cancelled_payment_url }}" @endif {{ $block->open_in_new_tab == 1 ? 'target=_blank' : '' }} class="btn f-20 w-100 py-2 text-break {{ $block->border_radius === \Modules\Biolinks\Enums\BorderRadius::ROUND ? 'rounded-pill' : ($block->border_radius === \Modules\Biolinks\Enums\BorderRadius::STRAIGHT ? 'rounded-0' : 'rounded') }}" data-block-id="{{ $block->id }}" style="background: {{ $block->background_color }} !important; color: {{ $block->text_color }} !important; border-width: {{ $block->border_width }}px !important; border-color: {{ $block->border_color }}; border-style: {{ $block->border_style }}; text-align: {{ $block->text_alignment->value }}; box-shadow: {{ $block->border_shadow_x }}px {{ $block->border_shadow_y }}px {{ $block->border_shadow_blur }}px {{ $block->border_shadow_spread }}px {{ $block->border_shadow_color }};"> {{ $block->name }}
@endif @if ($block->type == 'sound-cloud')
@endif @if ($block->type == 'spotify')
@endif @if ($block->type == 'youtube')
@endif @if ($block->type == 'threads')
@endif @if ($block->type == 'tiktok') @endif @if ($block->type == 'twitch') @endif @if ($block->type == 'socials')
@if ($block->email) @endif @if ($block->phone) @endif @if ($block->telegram) @endif @if ($block->whatsapp) @endif @if ($block->facebook) @endif @if ($block->instagram) @endif @if ($block->twitter) @endif @if ($block->tiktok) @endif @if ($block->youtube) @endif @if ($block->linkedin) @endif @if ($block->spotify) @endif @if ($block->pinterest) @endif @if ($block->snapchat) @endif @if ($block->twitch) @endif @if ($block->discord) @endif @if ($block->adress) @endif @if ($block->threads) @endif @if ($block->reddit) @endif
@endif @endforeach @if ($biolinkSettings->branding_name) @endif