# Generated by Django 2.2.13 on 2021-08-13 07:55

from django.db import migrations

import wagtail.blocks
import wagtail.fields

from ocyan.plugin.wagtail.block_plugin import get_extra_ocyan_settings_blocks


class Migration(migrations.Migration):
    dependencies = [
        ("ocyan_plugin_wagtail", "0020_auto_20210428_1259"),
    ]

    operations = [
        migrations.AlterField(
            model_name="ocyansettings",
            name="footer",
            field=wagtail.fields.StreamField(
                [
                    (
                        "about_us",
                        wagtail.blocks.StructBlock(
                            [
                                (
                                    "heading",
                                    wagtail.blocks.CharBlock(
                                        help_text="Heading of the content block.",
                                        label="Heading",
                                        required=False,
                                    ),
                                ),
                                ("content", wagtail.blocks.RichTextBlock()),
                            ]
                        ),
                    ),
                    (
                        "text",
                        wagtail.blocks.StructBlock(
                            [
                                (
                                    "heading",
                                    wagtail.blocks.CharBlock(
                                        help_text="Heading of the content block.",
                                        label="Heading",
                                        required=False,
                                    ),
                                ),
                                ("content", wagtail.blocks.RichTextBlock()),
                            ]
                        ),
                    ),
                    (
                        "page_list",
                        wagtail.blocks.StructBlock(
                            [
                                (
                                    "heading",
                                    wagtail.blocks.CharBlock(
                                        help_text="Heading of the content block.",
                                        label="Heading",
                                        required=False,
                                    ),
                                ),
                                (
                                    "page",
                                    wagtail.blocks.PageChooserBlock(
                                        help_text="List pages below this page",
                                        label="Page",
                                    ),
                                ),
                            ]
                        ),
                    ),
                ]
                + get_extra_ocyan_settings_blocks(),
                default=[],
            ),
        ),
    ]
