@extends('crm::emails.layout', [
    'subject' => __('Your access link for :site', ['site' => $site_name]),
])

@section('content')

    <p>{{ __('Hello,') }}</p>

    <p>
        {{ __('You requested access to :site. Click the button below to enter the site.', ['site' => $site_name]) }}
    </p>

    <p>
        <a class="button button-primary" href="{{ $access_url }}" target="_blank" rel="noopener">
            {{ __('Enter site') }}
        </a>
    </p>

    <p>
        {{ __('This link expires at :time. If it stops working, return to the site and request a new link.', [
            'time' => $expires_at->format('d/m/Y H:i'),
        ]) }}
    </p>

    <p>
        {{ __('If you did not request this email you can safely ignore it.') }}
    </p>

@endsection
