Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout: node--campaign_landing_page (Campaign Landing Page) #16603

Open
4 of 11 tasks
Tracked by #17701
timcosgrove opened this issue Jan 2, 2024 · 0 comments
Open
4 of 11 tasks
Tracked by #17701

layout: node--campaign_landing_page (Campaign Landing Page) #16603

timcosgrove opened this issue Jan 2, 2024 · 0 comments

Comments

@timcosgrove
Copy link
Contributor

timcosgrove commented Jan 2, 2024

Requirements

Acceptance criteria

Preview Give feedback
  1. 0 of 1
  2. 2 of 2
  3. 1 of 1
  4. 7 of 10
    Accelerated Publishing
    jtmst
  5. Accelerated Publishing
    penny-lischer
  6. Accelerated Publishing
    penny-lischer

Background & implementation details

Example data structure (subject to refinement):

{
    "type": "node--campaign_landing_page",
    "id": "d565878c-baa1-4b00-a591-90c06f2e7162",
    "drupal_internal__nid": 16512,
    "drupal_internal__vid": 620181,
    "langcode": "en",
    "revision_timestamp": "2022-02-28T16:08:31+00:00",
    "status": false,
    "title": "CLP template - clone this for new CLPs",
    "created": "2021-03-09T19:08:47+00:00",
    "changed": "2022-02-28T16:08:31+00:00",
    "promote": false,
    "sticky": false,
    "default_langcode": true,
    "revision_translation_affected": true,
    "breadcrumbs": [
      {
        "uri": "https://prod.cms.va.gov/",
        "title": "Home",
        "options": []
      },
      {
        "uri": "https://prod.cms.va.gov/node",
        "title": "Node",
        "options": []
      },
      {
        "uri": "https://prod.cms.va.gov/node/16512",
        "title": "CLP Template - Clone This For New CLPs",
        "options": []
      }
    ],
    "moderation_state": "draft",
    "expiration_date": null,
    "warning_date": null,
    "metatag": [
      {
        "tag": "meta",
        "attributes": {
          "name": "title",
          "content": "CLP template - clone this for new CLPs | Veterans Affairs"
        }
      },
      {
        "tag": "link",
        "attributes": {
          "rel": "image_src",
          "href": "https://www.va.gov/img/design/logo/va-og-image.png"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:site_name",
          "content": "Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:title",
          "content": "CLP template - clone this for new CLPs | Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:image",
          "content": "https://dsva-vagov-prod-cms-files.s3.us-gov-west-1.amazonaws.com/styles/3_2_medium_thumbnail/public/2021-03/Listening-Session-Website-Graphic-730x370.jpg"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:image:alt",
          "content": "U.S. Department of Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:card",
          "content": "summary_large_image"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:site",
          "content": "@DeptVetAffairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:title",
          "content": "CLP template - clone this for new CLPs | Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:image",
          "content": "https://dsva-vagov-prod-cms-files.s3.us-gov-west-1.amazonaws.com/styles/3_2_medium_thumbnail/public/2021-03/Listening-Session-Website-Graphic-730x370.jpg"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:image:alt",
          "content": "U.S. Department of Veterans Affairs"
        }
      }
    ],
    "path": {
      "alias": null,
      "pid": null,
      "langcode": "en"
    },
    "content_translation_source": "und",
    "content_translation_outdated": false,
    "field_clp_events_header": null,
    "field_clp_events_panel": false,
    "field_clp_faq_panel": false,
    "field_clp_resources_header": null,
    "field_clp_resources_intro_text": null,
    "field_clp_resources_panel": false,
    "field_clp_spotlight_header": null,
    "field_clp_spotlight_intro_text": null,
    "field_clp_spotlight_panel": false,
    "field_clp_stories_cta": null,
    "field_clp_stories_header": null,
    "field_clp_stories_intro": null,
    "field_clp_stories_panel": false,
    "field_clp_video_panel": false,
    "field_clp_video_panel_header": null,
    "field_clp_what_you_can_do_header": "Edit Heading",
    "field_clp_what_you_can_do_intro": "Edit Introduction",
    "field_clp_why_this_matters": "Edit introduction",
    "field_hero_blurb": null,
    "field_last_saved_by_an_editor": null,
    "links": {
      "self": {
        "href": "https://prod.cms.va.gov/jsonapi/node/campaign_landing_page/d565878c-baa1-4b00-a591-90c06f2e7162?resourceVersion=id%3A620181"
      }
    },
    "node_type": {
      "type": "node_type--node_type",
      "id": "ffad462a-e060-445c-bdc1-4456ce404059",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": "campaign_landing_page"
      }
    },
    "revision_uid": {
      "type": "user--user",
      "id": "daf963c4-14fc-4a02-8925-c030df3a3276",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 1451
      }
    },
    "uid": {
      "type": "user--user",
      "id": "daf963c4-14fc-4a02-8925-c030df3a3276",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 1451
      }
    },
    "field_administration": {
      "type": "taxonomy_term--administration",
      "id": "7aa5ff14-4c3e-416b-b351-da0c1cb3d7e6",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 313
      }
    },
    "field_benefit_categories": [
      {
        "type": "node--landing_page",
        "id": "ef71edfa-9fe8-4d31-b84c-270af94539c4",
        "resourceIdObjMeta": {
          "drupal_internal__target_id": 809
        }
      }
    ],
    "field_clp_audience": [
      {
        "type": "taxonomy_term--audience_beneficiaries",
        "id": "386eb70d-696c-4af3-8986-306ce63d90de",
        "resourceIdObjMeta": {
          "drupal_internal__target_id": 268
        }
      }
    ],
    "field_clp_events_references": [],
    "field_clp_faq_cta": null,
    "field_clp_faq_paragraphs": [],
    "field_clp_resources": [],
    "field_clp_resources_cta": null,
    "field_clp_reusable_q_a": null,
    "field_clp_spotlight_cta": null,
    "field_clp_spotlight_link_teasers": [],
    "field_clp_stories_teasers": [],
    "field_clp_video_panel_more_video": null,
    "field_clp_what_you_can_do_promos": [
      {
        "type": "block_content--promo",
        "id": "56cf3784-3186-4bb9-8866-582d59b14f02",
        "resourceIdObjMeta": {
          "drupal_internal__target_id": 65
        }
      }
    ],
    "field_hero_image": {
      "type": "media--image",
      "id": "f2cd9371-cff5-418b-9e15-ad631e8c4686",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 2689
      }
    },
    "field_media": null,
    "field_primary_call_to_action": {
      "type": "paragraph--button",
      "id": "20a808b3-15c4-494b-934e-581570be253d",
      "resourceIdObjMeta": {
        "target_revision_id": 597918,
        "drupal_internal__target_id": 97009
      }
    },
    "field_related_office": null,
    "field_secondary_call_to_action": null,
    "relationshipNames": [
      "node_type",
      "revision_uid",
      "uid",
      "field_administration",
      "field_benefit_categories",
      "field_clp_audience",
      "field_clp_events_references",
      "field_clp_faq_cta",
      "field_clp_faq_paragraphs",
      "field_clp_resources",
      "field_clp_resources_cta",
      "field_clp_reusable_q_a",
      "field_clp_spotlight_cta",
      "field_clp_spotlight_link_teasers",
      "field_clp_stories_teasers",
      "field_clp_video_panel_more_video",
      "field_clp_what_you_can_do_promos",
      "field_hero_image",
      "field_media",
      "field_primary_call_to_action",
      "field_related_office",
      "field_secondary_call_to_action"
    ]
  }

Acceptance Criteria

  • Campaign landing page created
@timcosgrove timcosgrove changed the title component: node--campaign_landing_page (Campaign Landing Page) layout: node--campaign_landing_page (Campaign Landing Page) Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant