<!DOCTYPE html>
<html lang="en-US">
	<head>
		<meta charset="utf-8">
	</head>
	<body>
		<div>
            @php
                $communityName = $communityName ?? 'IDHubs';
                $documentTitle = $documentTitle ?? ($documentName ?? 'PDF Document');
                $fileName = $fileName ?? '';
                $documentUrl = $documentUrl ?? '';
                $signerName = $signerName ?? 'A recipient';
                $recipientEmail = $recipientEmail ?? '';
            @endphp

            <p>
                {{ $signerName }} has signed a document on {{ $communityName }}.
            </p>

            <p>
                Title: {{ $documentTitle }}<br /><br />
                @if(!empty($fileName))
                    File name: {{ $fileName }}<br /><br />
                @endif
                @if($recipientEmail)
                    Signed by (email): {{ $recipientEmail }}<br /><br />
                @endif
                Document link: <a href="{{ $documentUrl }}">{{ $documentUrl }}</a>
            </p>

            <p>
               Thanks,<br />
               {{ $communityName }}
            </p>
		</div>
	</body>
</html>
