{"success":true,"data":{"block":{"id":"contact-press","name":"Contact Press Inquiries","title":"Contact Press Inquiries","category":"Contact","categorySlug":"contact","description":"Press and media inquiry form with publication details and story information. Designed for PR teams and media relations.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290581/m30n3j4r01ue61jvt7bw53nr8fjx/contact-press-desktop.png","mobile":"https://cdn.ing/assets/i/r/290582/tragwwn58ljk6dpqlaq80l3hkmht/contact-press-mobile.png"},"componentPath":"blocks/contact/contact-press.tsx","code":"\"use client\";\n\nimport { ContactPress } from \"@opensite/ui/blocks/contact/contact-press\";\nimport { demoFormEngineApi } from \"@/lib/form-demo-data\";\nimport type { FormFieldConfig } from \"@opensite/ui\";\n\nconst formFields: FormFieldConfig[] = [\n  {\n    name: \"first_name\",\n    type: \"text\",\n    label: \"First Name\",\n    placeholder: \"First name\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"last_name\",\n    type: \"text\",\n    label: \"Last Name\",\n    placeholder: \"Last name\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"email\",\n    type: \"email\",\n    label: \"Email Address\",\n    placeholder: \"your@publication.com\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"phone\",\n    type: \"tel\",\n    label: \"Phone Number\",\n    placeholder: \"+1 (555) 000-0000\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"publication\",\n    type: \"text\",\n    label: \"Publication/Outlet\",\n    placeholder: \"Name of your publication or media outlet\",\n    required: true,\n    columnSpan: 12,\n  },\n  {\n    name: \"title\",\n    type: \"text\",\n    label: \"Job Title\",\n    placeholder: \"e.g., Journalist, Editor, Producer\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"website\",\n    type: \"url\",\n    label: \"Publication Website\",\n    placeholder: \"https://example.com\",\n    required: false,\n    columnSpan: 6,\n  },\n  {\n    name: \"inquiry_type\",\n    type: \"select\",\n    label: \"Type of Inquiry\",\n    required: true,\n    columnSpan: 12,\n    options: [\n      { value: \"interview\", label: \"Interview Request\" },\n      { value: \"quote\", label: \"Quote/Statement Request\" },\n      { value: \"story\", label: \"Story Pitch\" },\n      { value: \"event\", label: \"Event Coverage\" },\n      { value: \"press_kit\", label: \"Press Kit Request\" },\n      { value: \"fact_check\", label: \"Fact Checking\" },\n      { value: \"other\", label: \"Other\" },\n    ],\n  },\n  {\n    name: \"deadline\",\n    type: \"date-picker\",\n    label: \"Deadline\",\n    placeholder: \"Select deadline date\",\n    required: true,\n    columnSpan: 6,\n  },\n  {\n    name: \"urgency\",\n    type: \"select\",\n    label: \"Urgency Level\",\n    required: true,\n    columnSpan: 6,\n    options: [\n      { value: \"immediate\", label: \"Immediate (same day)\" },\n      { value: \"24hrs\", label: \"Within 24 hours\" },\n      { value: \"48hrs\", label: \"Within 48 hours\" },\n      { value: \"week\", label: \"Within a week\" },\n      { value: \"flexible\", label: \"Flexible\" },\n    ],\n  },\n  {\n    name: \"topics\",\n    type: \"checkbox-group\",\n    label: \"Topics of Interest\",\n    required: true,\n    columnSpan: 12,\n    layout: \"grid\",\n    options: [\n      {\n        value: \"company_news\",\n        label: \"Company News\",\n        description: \"Latest announcements and updates.\",\n      },\n      {\n        value: \"products\",\n        label: \"Products & Services\",\n        description: \"Product launches and features.\",\n      },\n      {\n        value: \"leadership\",\n        label: \"Leadership\",\n        description: \"Executive interviews and insights.\",\n      },\n      {\n        value: \"industry\",\n        label: \"Industry Trends\",\n        description: \"Market analysis and commentary.\",\n      },\n      {\n        value: \"research\",\n        label: \"Research & Data\",\n        description: \"Studies and reports.\",\n      },\n      {\n        value: \"social_impact\",\n        label: \"Social Impact\",\n        description: \"CSR and community initiatives.\",\n      },\n    ],\n  },\n  {\n    name: \"content\",\n    type: \"textarea\",\n    label: \"Inquiry Details\",\n    placeholder: \"Please provide details about your inquiry, questions you'd like answered, angle of the story, etc...\",\n    required: true,\n    rows: 6,\n    columnSpan: 12,\n  },\n  {\n    name: \"previous_work\",\n    type: \"url\",\n    label: \"Link to Previous Work\",\n    placeholder: \"https://example.com/your-article\",\n    required: false,\n    columnSpan: 12,\n  },\n];\n\nexport default function Demo() {\n  return (\n    <ContactPress\n      heading=\"Press & Media Inquiries\"\n      description=\"Thank you for your interest in covering our story. Complete the form below and our communications team will respond as quickly as possible.\"\n      formEngineSetup={{\n        api: demoFormEngineApi,\n        fields: formFields,\n        successMessage: \"Thank you for reaching out! Our media relations team will review your inquiry and respond according to your deadline.\",\n        formLayoutSettings: {\n          submitButtonSetup: {\n            submitLabel: \"Submit Media Inquiry\",\n          },\n        },\n      }}\n      background=\"muted\"\n      pattern=\"dashedGridFadeTop\"\n      patternOpacity={0.5}\n    />\n  );\n}","propsSchema":{"heading":{"type":"object","description":"Main heading text","typeLabel":"React.ReactNode","required":false},"description":{"type":"object","description":"Description text below heading","typeLabel":"React.ReactNode","required":false},"className":{"type":"string","description":"Additional CSS classes for the section","required":false},"containerClassName":{"type":"string","description":"Additional CSS classes for the container","required":false},"headerClassName":{"type":"string","description":"Additional CSS classes for the header","required":false},"headingClassName":{"type":"string","description":"Additional CSS classes for the heading","required":false},"descriptionClassName":{"type":"string","description":"Additional CSS classes for the description","required":false},"cardClassName":{"type":"string","description":"Additional CSS classes for the card","required":false},"cardContentClassName":{"type":"string","description":"Additional CSS classes for the card content","required":false},"background":{"type":"string","description":"Background style for the section","typeLabel":"SectionBackground","required":false},"spacing":{"type":"object","description":"Vertical spacing for the section","fields":{},"typeLabel":"SectionSpacing","required":false},"pattern":{"type":"object","description":"Optional background pattern name or URL","fields":{},"typeLabel":"PatternName","required":false},"patternOpacity":{"type":"number","description":"Pattern overlay opacity (0-1)","required":false},"formEngineSetup":{"type":"object","description":"Full form engine setup and props","typeLabel":"FormEngineProps","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"defaultProps":{},"dependencies":["@opensite/ui","@page-speed/forms"],"tags":["contact","press","media","form","pr","journalism"],"performance":{},"importantUsageNotes":"DO NOT USE this block unless the site has a press/media relations function — this is a highly contextual block. Ensure to follow the form implementation requirements properly (correct field types, labels, validation, and submit handling). The form fields shown in the demo are calibrated for a press/media inquiry use case — first/last name, email, phone, publication/outlet name, job title, publication website, inquiry type select (interview/quote/story pitch/event coverage/press kit/fact check), deadline date picker, and details — do not change the field set unless the site has clearly different requirements. Ensure to only supply a valid set of contact data points (email, phone, address, etc), DO NOT make up any contact data. Follow the example props closely for this block."}},"timestamp":"2026-05-13T10:38:45.556Z"}