Resume page working, many other small improvements

This commit is contained in:
Adam Piontek 2021-07-09 15:43:11 -04:00
parent d9b2b6946a
commit 1e708c02a3
11 changed files with 129 additions and 60 deletions

View file

@ -74,7 +74,7 @@ function get_social_icons_prof() {
}
function social_icons_str($icons_arr) {
$out_str = '<div id="social-icons" class="mt-1">';
$out_str = '<div id="social-icons">';
foreach ($icons_arr as $i=>$social) {
$pad = $i == 0 ? 'pe-1' : ($i == (count($icons_arr) - 1) ? 'ps-1' : 'px-1');
$out_str .= '<a href="' . $social['url'] . '" rel="noreferrer" target="' . $social['target'];