from django.conf import settings
from django.templatetags.static import static


def ga4(request):
    return {
        "ga4_measurement_id": getattr(settings, "GA4_MEASUREMENT_ID", ""),
    }


def default_og_image(request):
    return {
        "default_og_image": {
            "url": request.build_absolute_uri(static("img/og_default.jpg")),
            "width": 528,
            "height": 337,
            "alt": "DeBuT AI",
        },
    }
