<!DOCTYPE html>
<html lang="en-US">
	<head>
		<meta charset="utf-8">
	</head>
	<body>
    	<?php 
			$community = app('App\\Repositories\\CommunityRepository')->getById($community_id);
			$url=$community->present()->url();
			$community_name=$community->title;
			$imgUrl="";
		?>
        
		<h2>Hello {!!$fullname!!},</h2>

		<h2>Congratulations!</h2>
        
		<div>
			Your account is now active. <br/> <br/>
            
             
            You can now use the following to start using the platform:<br/> <br/>
            
			Platform Url: : <a href="{!!$community_url!!}">"{!!$community_title!!}"</a><br />
            User name : {!!$email_address!!}<br />
            Password : Use the provided password at the time of sign up or reset the password using <a href="{!!$community->present()->url('forgotpass')!!}">forgot passport action link</a>.
             
			<br/><br />
				If you further need assistance please let us know.
			<br/><br/>

			@if($community->email_signature)
                {!!$community->email_signature!!}
            @else
                <p>
                    Sincerely,<br/><br/>
                    
                    <strong>{!!$community->title!!}</strong><br/>
                    {!!$community->address!!}<br>{!!ucfirst($community->city)!!},{!!$community->zip!!}<br>{!!ucfirst($community->state)!!},{!!ucfirst($community->country)!!}<br/>
                    Tel: {!!$community->contact!!}<br/>
                    Email: {!!$community->email!!}<br/>
                    
                    <br>
                               
                    <hr>
                    <?php $imgPath=$community->present()->getLogo(); ?>
                    <a href="{!!$url!!}"><img src="{!!ltrim($imgPath)!!}" style="width:200px; height:auto; "/></a>
                    <br>
                    <br>
                    {!!$community->description!!}<br/>
                </p>
            @endif
		</div>
	</body>
</html>
