from .models import AboutSection

def about_context(request):
    about = AboutSection.objects.first()
    features_list_1 = about.features.filter(feature_type=1) if about else []
    features_list_2 = about.features.filter(feature_type=2) if about else []
    return {
        'about': about,
        'features_list_1': features_list_1,
        'features_list_2': features_list_2,
    }

