mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 01:09:35 +05:30
(refactor): added rel key on footer for mastodon verification
This commit is contained in:
@@ -39,9 +39,15 @@
|
|||||||
if($footer_socials -> num_rows > 0) {
|
if($footer_socials -> num_rows > 0) {
|
||||||
//show all social links
|
//show all social links
|
||||||
while($footer_social = $footer_socials -> fetch_assoc()) {
|
while($footer_social = $footer_socials -> fetch_assoc()) {
|
||||||
echo "
|
if($footer_social['platform'] == "Mastodon") {
|
||||||
<a class='text-sm text-accent_three my-1 hover:text-accent_secondary transition transform duration-100' href='".$footer_social['link']."' target='_blank'>".$footer_social['platform']."</a>
|
echo "
|
||||||
";
|
<a class='text-sm text-accent_three my-1 hover:text-accent_secondary transition transform duration-100' rel='me' href='".$footer_social['link']."' target='_blank'>".$footer_social['platform']."</a>
|
||||||
|
";
|
||||||
|
} else {
|
||||||
|
echo "
|
||||||
|
<a class='text-sm text-accent_three my-1 hover:text-accent_secondary transition transform duration-100' href='".$footer_social['link']."' target='_blank'>".$footer_social['platform']."</a>
|
||||||
|
";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user