-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add some more block types * use cta for top links, reduce options in link groups * separate link and ctas, add cta config * fussing with styling options * squash migrations * more blocks * merge migrations * use link instead of cta for landing page layout --------- Co-authored-by: Michael Volo <[email protected]>
- Loading branch information
1 parent
9457a2e
commit ab97c60
Showing
15 changed files
with
9,361 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,042 changes: 1,042 additions & 0 deletions
1,042
...ter_impact_making_a_difference_squashed_0144_alter_rootpage_body_alter_rootpage_layout.py
Large diffs are not rendered by default.
Oops, something went wrong.
611 changes: 611 additions & 0 deletions
611
pages/migrations/0137_alter_rootpage_body_alter_rootpage_layout.py
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
985 changes: 985 additions & 0 deletions
985
pages/migrations/0143_alter_rootpage_body_alter_rootpage_layout.py
Large diffs are not rendered by default.
Oops, something went wrong.
985 changes: 985 additions & 0 deletions
985
pages/migrations/0144_alter_rootpage_body_alter_rootpage_layout.py
Large diffs are not rendered by default.
Oops, something went wrong.
989 changes: 989 additions & 0 deletions
989
pages/migrations/0145_alter_rootpage_body_alter_rootpage_layout.py
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Generated by Django 5.0.7 on 2024-07-25 17:21 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("pages", "0137_alter_rootpage_promote_image"), | ||
("pages", "0146_alter_rootpage_body"), | ||
] | ||
|
||
operations = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Generated by Django 5.0.7 on 2024-07-25 17:31 | ||
|
||
import wagtail.blocks | ||
import wagtail.documents.blocks | ||
import wagtail.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("pages", "0147_merge_20240725_1221"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="rootpage", | ||
name="layout", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
("default", wagtail.blocks.StructBlock([])), | ||
( | ||
"landing", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"nav_links", | ||
wagtail.blocks.ListBlock( | ||
wagtail.blocks.StructBlock( | ||
[ | ||
("text", wagtail.blocks.CharBlock(required=True)), | ||
("aria_label", wagtail.blocks.CharBlock(required=False)), | ||
( | ||
"target", | ||
wagtail.blocks.StreamBlock( | ||
[ | ||
("external", wagtail.blocks.URLBlock(required=False)), | ||
( | ||
"internal", | ||
wagtail.blocks.PageChooserBlock(required=False), | ||
), | ||
( | ||
"document", | ||
wagtail.documents.blocks.DocumentChooserBlock( | ||
required=False | ||
), | ||
), | ||
("anchor", wagtail.blocks.CharBlock(required=False)), | ||
], | ||
required=True, | ||
), | ||
), | ||
], | ||
label="Link", | ||
required=False, | ||
), | ||
default=[], | ||
label="Nav Links", | ||
), | ||
) | ||
], | ||
label="Landing Page", | ||
), | ||
), | ||
], | ||
blank=True, | ||
default=[], | ||
use_json_field=True, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters