✨ 🔧 Update npm + login page
This commit is contained in:
4
vendor/nesbot/carbon/sponsors.php
vendored
4
vendor/nesbot/carbon/sponsors.php
vendored
@@ -99,8 +99,8 @@ function getOpenCollectiveSponsors(): string
|
||||
[$x, $y] = @getimagesize($src) ?: [0, 0];
|
||||
$validImage = ($x && $y);
|
||||
$src = $validImage ? htmlspecialchars($src) : 'https://opencollective.com/static/images/default-guest-logo.svg';
|
||||
$height = $member['status'] === 'sponsor' ? 64 : 48;
|
||||
$width = min(128, $validImage ? round($x * $height / $y) : $height);
|
||||
$height = $member['status'] === 'sponsor' ? 64 : 42;
|
||||
$width = min($height * 2, $validImage ? round($x * $height / $y) : $height);
|
||||
$href .= (strpos($href, '?') === false ? '?' : '&').'utm_source=opencollective&utm_medium=github&utm_campaign=Carbon';
|
||||
$title = htmlspecialchars(($member['description'] ?? null) ?: $member['name']);
|
||||
$alt = htmlspecialchars($member['name']);
|
||||
|
||||
Reference in New Issue
Block a user