# Generated by Django 3.2.23 on 2026-01-12 21:32

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='GlobalSettings',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('site_name', models.CharField(default='Mon Site Headless', max_length=100)),
                ('site_description', models.TextField(blank=True, help_text="Description par défaut pour le SEO (si la page n'en a pas).", max_length=300)),
                ('logo_light', models.ImageField(blank=True, null=True, upload_to='settings/logos/', verbose_name='Logo (Fond Clair)')),
                ('logo_dark', models.ImageField(blank=True, null=True, upload_to='settings/logos/', verbose_name='Logo (Fond Sombre)')),
                ('favicon', models.ImageField(blank=True, null=True, upload_to='settings/favicons/')),
                ('contact_email', models.EmailField(blank=True, max_length=254, verbose_name='Email public')),
                ('contact_phone', models.CharField(blank=True, max_length=20, verbose_name='Téléphone public')),
                ('contact_address', models.TextField(blank=True, verbose_name='Adresse postale')),
                ('social_links', models.JSONField(blank=True, default=dict, help_text="Format: {'facebook': 'url', 'linkedin': 'url'}")),
                ('google_analytics_id', models.CharField(blank=True, max_length=50, verbose_name='GA4 ID')),
                ('is_maintenance_mode', models.BooleanField(default=False, verbose_name='Mode Maintenance')),
            ],
            options={
                'verbose_name': 'Configuration Globale',
                'verbose_name_plural': 'Configuration Globale',
            },
        ),
    ]
