diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-12-03 12:19:55 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-12-03 12:19:55 +0100 |
commit | b8f25d9ceb63172666ccee66cd83498fad01bf77 (patch) | |
tree | a3652383762ac695b17babc4b1fb72ee8be080ab | |
parent | 790fedf8bf22d2220fa3ed81ee069fdafc962184 (diff) |
update volunteering
-rw-r--r-- | src/pages/index.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/pages/index.php b/src/pages/index.php index 2d7d816..4ee5cf4 100644 --- a/src/pages/index.php +++ b/src/pages/index.php @@ -28,10 +28,10 @@ $t = $i18n['translate']; $volunteering = [ [ - 'link' => 'https://web.ecogood.org/de/', + 'link' => 'https://germany.ecogood.org', 'title' => 'International Federation for the Economy for the Common Good e.V.', 'extra' => [ - 'link' => 'https://bayern.ecogood.org/', + 'link' => 'https://bayern.ecogood.org', 'title' => 'in Bayern', ], 'icon' => '/assets/img/volunteering/gwoe_icon_57x57.png', @@ -73,6 +73,11 @@ $media = [ 'title' => 'Git Projects', 'icon' => '/assets/img/social/Git-Icon-1788C.png', ], + [ + 'link' => 'https://blog.dweipert.de', + 'title' => 'Blog', + 'icon' => '/assets/img/dweipert-x92.png', + ], ]; @@ -152,7 +157,9 @@ ob_start(); <?php foreach ($media as $idx => $m): ?> <li> <a href="<?php echo $m['link']; ?>" target="_blank"> - <img src="<?php echo $m['icon']; ?>" alt="<?php echo $m['title']; ?>"> + <?php if (! empty($m['icon'])): ?> + <img src="<?php echo $m['icon']; ?>" alt="<?php echo $m['title']; ?>"> + <?php endif; ?> <?php echo $m['title']; ?> </a> </li> |