@extends('tyro-dashboard::layouts.user') @section('title', 'My Invitation Link') @section('breadcrumb') Dashboard / My Invitation Link @endsection @section('content')

Your Invitation Link

@if($invitationLink)
Share this link with others to invite them to register.
{{ $invitationLink->hash }}
Total Referrals
{{ $referrals->count() }}
Created
{{ $invitationLink->created_at->format('M d, Y') }}
@else

No Invitation Link Yet

Create your unique invitation link to start inviting others.

@csrf
@endif

My Referrals

@if($referrals->count())
@foreach($referrals as $referral) @endforeach
User Email Joined
@if($referral->referredUser->profile_photo_path || ($referral->referredUser->use_gravatar && $referral->referredUser->email)) {{ $referral->referredUser->name }} @else {{ strtoupper(substr($referral->referredUser->name ?? 'U', 0, 1)) }} @endif
{{ $referral->referredUser->name ?? 'Unknown' }}
{{ $referral->referredUser->email ?? 'N/A' }} {{ $referral->created_at->format('M d, Y') }}
{{ $referral->created_at->diffForHumans() }}
@else

No Referrals Yet

Share your invitation link to see referrals here.

@endif
@endsection