Fit public display to viewport and use Ladill Queue logo in footer.
Deploy Ladill Queue / deploy (push) Successful in 39s
Deploy Ladill Queue / deploy (push) Successful in 39s
Lock layout to 100dvh without scroll, scale ticket cards with clamp(), and replace powered-by text with the dark wordmark. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,6 +10,15 @@ class OrganizationBranding
|
||||
{
|
||||
public const DEFAULT_LOGO = 'images/logo/ladillqueue-logo.svg';
|
||||
|
||||
public const POWERED_BY_LOGO = 'images/logo/ladillqueue-logo.svg';
|
||||
|
||||
public static function assetUrl(string $path = self::DEFAULT_LOGO): string
|
||||
{
|
||||
$file = public_path($path);
|
||||
|
||||
return asset($path).'?v='.(@filemtime($file) ?: '1');
|
||||
}
|
||||
|
||||
public static function logoUrl(Organization $organization): string
|
||||
{
|
||||
if ($organization->logo_path && Storage::disk('public')->exists($organization->logo_path)) {
|
||||
@@ -18,9 +27,7 @@ class OrganizationBranding
|
||||
return Storage::disk('public')->url($organization->logo_path).'?v='.$version;
|
||||
}
|
||||
|
||||
$path = public_path(self::DEFAULT_LOGO);
|
||||
|
||||
return asset(self::DEFAULT_LOGO).'?v='.(@filemtime($path) ?: '1');
|
||||
return self::assetUrl(self::DEFAULT_LOGO);
|
||||
}
|
||||
|
||||
public static function logoAlt(Organization $organization): string
|
||||
|
||||
Reference in New Issue
Block a user