Lean control center at mini.ladill.com: payment QR CRUD, Paystack checkout with 5% fee settlement via Billing API, payments feed, and payouts. QR codes use a fixed black-and-white preset only. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
505 B
PHP
21 lines
505 B
PHP
<?php
|
||
|
||
namespace App\Support\Qr;
|
||
|
||
class QrCoverImageSpec
|
||
{
|
||
/** Wide hero banners (business, church, event, itinerary, menu, shop). */
|
||
public const BANNER = '1920×1080 px (16:9 landscape)';
|
||
|
||
/** Book product cover on the landing page. */
|
||
public const BOOK = '800×1067 px (3:4 portrait)';
|
||
|
||
public static function label(string $variant = 'banner'): string
|
||
{
|
||
return match ($variant) {
|
||
'book' => self::BOOK,
|
||
default => self::BANNER,
|
||
};
|
||
}
|
||
}
|