Skip to content

Conversation

mwvolo
Copy link
Member

@mwvolo mwvolo commented Jan 26, 2021

API output (doesn't include images or stories):

{
    "id": 477,
    "meta": {
        "slug": "impact",
        "seo_title": "",
        "search_description": "",
        "type": "pages.Impact",
        "detail_url": "https://openstax.org/apps/cms/api/v2/pages/477/",
        "html_url": "https://openstax.org/our-impact/",
        "show_in_menus": false,
        "first_published_at": "2021-01-26T16:11:43.832901-06:00",
        "parent": {
            "id": 29,
            "meta": {
                "type": "pages.HomePage",
                "detail_url": "https://openstax.org/apps/cms/api/v2/pages/29/",
                "html_url": "https://openstax.org/"
            },
            "title": "OpenStax Homepage"
        }
    },
    "title": "Our Impact",
    "improving_access": [
        {
            "type": "content",
            "value": {
                "image": {
                    "image": null,
                    "alt_text": "",
                    "link": "",
                    "alignment": "left",
                    "identifier": ""
                },
                "heading": "Improving Educational Access and Learning for Everyone",
                "description": "<p>Based at Rice University, OpenStax is one of the world’s largest nonprofit digital learning platforms and publisher of free, open education resources. Join us and help millions of students experience an affordable, engaging education.</p>",
                "button_text": "Give today",
                "button_href": "https://openstax.org/give"
            },
            "id": "47ae0346-8f35-45e5-b98e-e630065f4bbb"
        }
    ],
    "reach": [
        {
            "type": "content",
            "value": {
                "heading": "Our Reach",
                "description": "<p><b>COVID-19 Impact:</b> Demand for OpenStax more than doubled in the pandemic, so our team rapidly increased learning resources to support instructors and their students with virtual learning. Please make a gift to help us continue to meet this urgent need.</p>",
                "cards": [
                    [
                        {
                            "type": "description",
                            "value": "$1.2 billion saved in education costs since 2012",
                            "id": "305a53e3-45fc-4d19-a7b1-4e2285ed1542"
                        },
                        {
                            "type": "link_text",
                            "value": "Read more >",
                            "id": "727cecbc-6c04-40cd-a781-9cfdeb06f2ef"
                        },
                        {
                            "type": "link_href",
                            "value": "https://openstax.org",
                            "id": "967b6662-f223-4cae-88d3-24bfbb1c583e"
                        }
                    ],
                    [
                        {
                            "type": "description",
                            "value": "4 million students from 120 countries use OpenStax",
                            "id": "512429e8-59bb-4fb5-8ac4-68352fddb150"
                        },
                        {
                            "type": "link_text",
                            "value": "See the map >",
                            "id": "736555c6-e18b-4ea5-8815-031128878250"
                        },
                        {
                            "type": "link_href",
                            "value": "https://openstax.org",
                            "id": "fa8601c2-80dd-4354-82d5-a0ec55de250d"
                        }
                    ],
                    [
                        {
                            "type": "description",
                            "value": "60 percent of higher education institutions in US use OpenStax",
                            "id": "f1761b66-0a5a-4cfa-9884-57fe326ffe0b"
                        }
                    ],
                    [
                        {
                            "type": "description",
                            "value": "4 thousand+ K-12 schools use OpenStax",
                            "id": "d29e96bb-766b-4db5-9e8b-eebf63b400f1"
                        }
                    ]
                ]
            },
            "id": "61134596-35c7-4044-96fc-0de48fb46294"
        }
    ],
    "quote": [
        {
            "type": "content",
            "value": {
                "image": {
                    "image": null,
                    "alt_text": "",
                    "link": "",
                    "alignment": "left",
                    "identifier": ""
                },
                "quote": "<p>Amidst COVID-19, educational problems are complex and in constant flux, making it critical that we support students in their learning. OpenStax is expanding its library to new subject areas, deepening student engagement with our digital learning tools, and advancing the frontiers of learning science to help make education engaging and personal. It is through this personalization that we believe we can bring greater equity and quality to education for students worldwide.</p><p></p><p><b>– Dr. Richard Baraniuk,</b></p><p>Founder of OpenStax, Victor E. Cameron Professor of Electrical and Computer Engineering at Rice University, and Fellow of the American Academy of Arts and Sciences</p>"
            },
            "id": "c073c95d-ee4e-45d6-8b48-60091b6ffea4"
        }
    ],
    "making_a_difference": [
        {
            "type": "content",
            "value": {
                "heading": "Making a Difference",
                "description": "<p>Learn more from those who have been directly impacted by OpenStax.</p>",
                "stories": [
                    []
                ]
            },
            "id": "18035b34-6692-4d30-9532-98d60b1d4b86"
        }
    ],
    "disruption": [
        {
            "type": "content",
            "value": {
                "heading": "Positive Disruption",
                "description": "The price of textbooks is declining due to open education’s disruption of the college textbook market, removing financial barriers to advanced education, and reducing student debt. According to an economist, “The ‘textbook bubble’ is finally starting to deflate, due to the creative destruction and competition from free/low-cost textbooks from groups like OpenStax” (Mark Perry, AEI, 2019).",
                "graph": {
                    "top_caption": "Consumer Price Index Educational Books and Supplies, January 1967 to September 2017",
                    "bottom_caption": "<p>https://www.aei.org/publication/wednesday-afternoon-links-30/</p><p>Published by Mark Perry on October 25, 2017, AEI.org</p>",
                    "image": {
                        "image": null,
                        "alt_text": "",
                        "link": "",
                        "alignment": "left",
                        "identifier": ""
                    },
                    "image_alt_text": ""
                }
            },
            "id": "84bef5c9-82f7-483c-b066-e0a6afc06735"
        }
    ],
    "supporter_community": [
        {
            "type": "content",
            "value": {
                "heading": "Our Supporter Community",
                "image": {
                    "image": null,
                    "alt_text": "",
                    "link": "",
                    "alignment": "left",
                    "identifier": ""
                },
                "quote": "<p>OpenStax continues to expand to new subject areas, grade levels, and languages to reach more students. Yet, OpenStax is more than free textbooks. With a team of researchers, educators, and learning engineers at Rice University, OpenStax is creating research-based learning tools to help teachers and learners better personalize the education experience. OpenStax needs your partnership to continue its impact.</p><p></p><p>– <b>Ann Doerr</b>, OpenStax Advisor</p>",
                "link_text": "View our supporters",
                "link_href": "https://openstax.org"
            },
            "id": "1b9f37e3-e084-41e0-bb12-49544f26cd48"
        }
    ],
    "giving": [
        {
            "type": "content",
            "value": {
                "heading": "Students need your help today.",
                "description": "Together, we can increase educational equity and quality for millions of students worldwide.",
                "link": "Give today",
                "link_text": "https://openstax.org/give"
            },
            "id": "d2b62b4b-ff2c-45f1-bbdf-f71ca7347ac2"
        }
    ]
}

Includes command to create the page after deployment: python manage.py create_impact_page

@codecov
Copy link

codecov bot commented Jan 26, 2021

Codecov Report

Merging #1124 (0e2f0f4) into master (4312907) will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1124      +/-   ##
==========================================
+ Coverage   83.01%   83.22%   +0.20%     
==========================================
  Files         370      381      +11     
  Lines        6348     6427      +79     
==========================================
+ Hits         5270     5349      +79     
  Misses       1078     1078              

@mwvolo mwvolo requested a review from RoyEJohnson January 26, 2021 22:40
@mwvolo mwvolo changed the title remove old, old impact page Impact page redesign Jan 27, 2021
Copy link
Contributor

@RoyEJohnson RoyEJohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely need to get the new Impact page working, since the old one won't.

@mwvolo mwvolo merged commit 94b2209 into master Jan 27, 2021
@mwvolo mwvolo deleted the impact-redesign branch January 27, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants