This commit is contained in:
Suvodip
2024-05-25 14:03:09 +05:30
parent a5739b2a42
commit ee5ef78a87
5 changed files with 37 additions and 47 deletions

View File

@@ -50,7 +50,7 @@
$firstInitial = substr($nameParts[0], 0, 1);
$lastInitial = substr($nameParts[count($nameParts) - 1], 0, 1);
echo ' <div style="display: flex; flex-direction: row; place-items: center">
<p>Hi <span>'.$nameParts[0].'</span></p>&nbsp;
<p>Hi <span>'.ucfirst($nameParts[0]).'</span></p>&nbsp;
<a href="/profile" class="p-2 uppercase" style="background: linear-gradient(180deg, #E4C1F9 0%, rgba(129, 126, 242, 0.91) 100%); border-radius: 50%; font-size: 20px; color: #fff; font-weight: bold;">'.$firstInitial.$lastInitial.'</a>
</div>';
}