from django.conf import settings


def platform_context(request):
    """Global template context for platform-wide values."""
    return {
        'PLATFORM_NAME': getattr(settings, 'PLATFORM_NAME', 'FlashSale'),
        'PLATFORM_TAGLINE': 'Book. Upload. Sell.',
        'CURRENCY_SYMBOL': 'GHS',
        'CURRENCY_CODE': 'GHS',
        'SUPPORT_EMAIL': getattr(settings, 'SUPPORT_EMAIL', 'support@mirjy.com'),
        'DEFAULT_FROM_EMAIL': getattr(settings, 'DEFAULT_FROM_EMAIL', 'FlashSale <no-reply@mirjy.com>'),
    }
