feat(en-pages): build remaining 14 pages (Editorial / Forms / Hubs / Legal)
Brings the EN site to 34 live pages, completing the original sitemap from PDF Strategie & Contenu Partie C.1. Editorial section (5 pages, page-editorial-detail.php template) - /why-asterion/, /about/, /customers/, /trust/, /partners/ - inc/editorial-data.php centralizes the copy from D.18-D.21, D.28 - Reuses the industry-detail partial (same section schema) Conversion section (4 pages, page-conversion-form.php template) - /request-demo/, /request-te-kit/, /request-quote/, /contact/ - inc/forms-data.php declares fields per page (text/email/select/textarea) - template-parts/conversion-form.php renders two-column layout (form left, promise right), eligibility list (T&E), FAQ (Demo) - inc/form-handler.php: nonce-protected POST handler with honeypot, per-field sanitizer, wp_mail to AV_LEADS_RECIPIENT (defaults to jerome.foucher@asterionvr.com, override via wp-config.php define), redirect-back-with-status pattern. Insights & Resources (page-insights-hub.php, page-resources.php) - /insights/ queries `post`, falls back to placeholder when empty - /resources/ lists 4 resource groups (datasheets, whitepapers, videos, brochures) per D.23 Legal (page-legal.php template, parent + 4 children) - /legal/, /legal/privacy/, /legal/terms/, /legal/cookies/, /legal/notice/ - Renders page content if filled, falls back to slug-driven section skeleton (per D.29) for counsel to draft against. All 16 new URLs verified HTTP 200, sizes 49-66 KB each. Mu-plugin asterion-seed-rest.php in LocalWP self-deleted after seeding. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
167
wp-content/themes/asterion-bricks/inc/forms-data.php
Normal file
167
wp-content/themes/asterion-bricks/inc/forms-data.php
Normal file
@@ -0,0 +1,167 @@
|
||||
<?php
|
||||
/**
|
||||
* Asterion Bricks — Conversion forms data
|
||||
*
|
||||
* Data for the 4 conversion pages: Request a Demo, T&E Kit, Quote, Contact.
|
||||
* Copy from PDF Strategie & Contenu D.24-D.27.
|
||||
*
|
||||
* Each entry: hero, promise list (right column), form fields, FAQ, reassurance.
|
||||
*
|
||||
* @package AsterionBricks
|
||||
*/
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
return [
|
||||
|
||||
/* Request a Demo — D.24 =========================================== */
|
||||
'request-demo' => [
|
||||
'eyebrow' => 'Request a Demo',
|
||||
'title' => 'Request a Demo',
|
||||
'tagline' => 'See PROSERVE in action.',
|
||||
'meta_title' => 'Request a Demo — See PROSERVE in Action | Asterion VR',
|
||||
'meta_description' => 'Schedule a 30-minute tailored demo with our team. We respond within 48 hours.',
|
||||
'hero_lead' => 'A live demo, calibrated to your role and your unit. We respond within 48 hours.',
|
||||
'promise_title' => 'What you receive',
|
||||
'promise_items' => [
|
||||
'A 30-minute video call with a member of our team — typically Jérôme, our founder, or a senior product manager.',
|
||||
'A live walkthrough of the configuration most relevant to your needs (MY / FLEX / ACADEMY).',
|
||||
'A scenario demonstration matched to your segment (police, special forces, military, fire).',
|
||||
'Honest answers to your technical and procurement questions.',
|
||||
'A follow-up email summarizing the discussion, with the right resources for your evaluation.',
|
||||
],
|
||||
'fields' => [
|
||||
['name' => 'full_name', 'label' => 'Full name', 'type' => 'text', 'required' => true],
|
||||
['name' => 'organization', 'label' => 'Organization', 'type' => 'text', 'required' => true],
|
||||
['name' => 'job_title', 'label' => 'Job title / role', 'type' => 'text', 'required' => true],
|
||||
['name' => 'country', 'label' => 'Country', 'type' => 'text', 'required' => true],
|
||||
['name' => 'email', 'label' => 'Email', 'type' => 'email', 'required' => true],
|
||||
['name' => 'segment', 'label' => 'Segment', 'type' => 'select', 'required' => true,
|
||||
'options' => ['', 'Police', 'Special Forces', 'Military', 'Firefighters', 'Other']],
|
||||
['name' => 'trainees', 'label' => 'Estimated number of trainees in your unit', 'type' => 'text', 'required' => false],
|
||||
['name' => 'timeframe', 'label' => 'Preferred timeframe', 'type' => 'select', 'required' => false,
|
||||
'options' => ['', 'This week', 'Next week', 'Next month', 'No rush']],
|
||||
['name' => 'message', 'label' => 'Message — anything specific you want us to demonstrate', 'type' => 'textarea', 'required' => false],
|
||||
],
|
||||
'reassurance' => 'We respond within 48 hours. We never share your information. No newsletter sign-up unless you ask.',
|
||||
'submit_label' => 'Schedule the demo',
|
||||
'faq' => [
|
||||
['q' => 'Will there be a sales pitch?', 'a' => "No. The first call is technical and pedagogical. We assume you'll evaluate three or four solutions before deciding — we want to give you the information you need to compare honestly."],
|
||||
['q' => 'Can I bring colleagues?', 'a' => 'Of course. The more roles in the room (training officer, IT, finance, command), the more useful the call.'],
|
||||
['q' => 'In what language?', 'a' => 'EN, FR. Other languages on a per-request basis.'],
|
||||
],
|
||||
],
|
||||
|
||||
/* Request a T&E Kit — D.25 ======================================== */
|
||||
'request-te-kit' => [
|
||||
'eyebrow' => 'Request a T&E Kit',
|
||||
'title' => 'Request a T&E Kit',
|
||||
'tagline' => 'Try PROSERVE in your own facility, with your own people.',
|
||||
'meta_title' => 'Request a T&E Kit — Try PROSERVE on Site | Asterion VR',
|
||||
'meta_description' => 'Get a PROSERVE case on loan at your facility for 5 to 10 days. Limited availability — qualifying applications only.',
|
||||
'hero_lead' => "A demo only goes so far. The Test & Evaluation Kit programme lends a fully configured PROSERVE case to qualifying organizations for 5 to 10 days, on site, with our team's support.",
|
||||
'promise_title' => 'What you receive',
|
||||
'promise_items' => [
|
||||
'A complete PROSERVE FLEX or MY PROSERVE configuration delivered to your facility.',
|
||||
'On-site setup and instructor onboarding by our team (1-2 days).',
|
||||
'Remote technical support throughout the loan period.',
|
||||
'Up to 10 days of unrestricted use by your operators and instructors.',
|
||||
'A debrief session at the end to capture observations and answer technical questions.',
|
||||
],
|
||||
'fields' => [
|
||||
['name' => 'full_name', 'label' => 'Full name', 'type' => 'text', 'required' => true],
|
||||
['name' => 'organization', 'label' => 'Organization', 'type' => 'text', 'required' => true],
|
||||
['name' => 'job_title', 'label' => 'Job title', 'type' => 'text', 'required' => true],
|
||||
['name' => 'email', 'label' => 'Email', 'type' => 'email', 'required' => true],
|
||||
['name' => 'country', 'label' => 'Country', 'type' => 'text', 'required' => true],
|
||||
['name' => 'address', 'label' => 'Address of evaluation facility', 'type' => 'text', 'required' => true],
|
||||
['name' => 'segment', 'label' => 'Segment', 'type' => 'select','required' => true,
|
||||
'options' => ['', 'Police', 'Special Forces', 'Military', 'Firefighters', 'Other']],
|
||||
['name' => 'trainees', 'label' => 'Number of trainees who would participate in evaluation', 'type' => 'text', 'required' => false],
|
||||
['name' => 'timeline', 'label' => 'Procurement timeline', 'type' => 'select','required' => true,
|
||||
'options' => ['', '3 months', '6 months', '12 months', '18+ months']],
|
||||
['name' => 'budget', 'label' => 'Indicative budget range', 'type' => 'text', 'required' => true],
|
||||
['name' => 'authorization', 'label' => 'Authorization status', 'type' => 'select','required' => false,
|
||||
'options' => ['', 'Cleared', 'Pending', 'Non-applicable']],
|
||||
['name' => 'message', 'label' => 'Message', 'type' => 'textarea', 'required' => false],
|
||||
],
|
||||
'reassurance' => 'Limited slots per quarter. We respond within 5 working days with a yes-or-no on the loan, and a proposed schedule if eligible.',
|
||||
'submit_label' => 'Apply for a T&E Kit',
|
||||
'eligibility' => [
|
||||
'title' => 'Eligibility',
|
||||
'lead' => 'The T&E Kit programme is reserved for organizations with a clear procurement intent and the capacity to run meaningful evaluation drills. We accept applications from:',
|
||||
'items' => [
|
||||
'National and regional police, gendarmerie, and security forces',
|
||||
'Special forces and tactical units',
|
||||
'Military training centres',
|
||||
'Firefighter and emergency services training schools',
|
||||
'Approved distributors and integrators bidding on identified projects',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
/* Request a Quote — D.26 ========================================== */
|
||||
'request-quote' => [
|
||||
'eyebrow' => 'Request a Quote',
|
||||
'title' => 'Request a Quote',
|
||||
'tagline' => 'From specification to deployment plan.',
|
||||
'meta_title' => 'Request a Quote — PROSERVE Pricing & Deployment Plan',
|
||||
'meta_description' => 'Get a detailed quote and deployment plan within 5 working days. Volume pricing for regional rollouts.',
|
||||
'hero_lead' => 'Tell us what you need. We send back a detailed quote — including hardware, software, options, training, support, and deployment plan — within 5 working days.',
|
||||
'promise_title' => 'What you receive',
|
||||
'promise_items' => [
|
||||
'A detailed quote (PDF, suitable for procurement records)',
|
||||
'A deployment plan with milestones and timing',
|
||||
'A 30-minute call with our commercial team to walk through the quote',
|
||||
'References for an introduction call with comparable customers (subject to NDA)',
|
||||
],
|
||||
'fields' => [
|
||||
['name' => 'full_name', 'label' => 'Full name', 'type' => 'text', 'required' => true],
|
||||
['name' => 'organization', 'label' => 'Organization', 'type' => 'text', 'required' => true],
|
||||
['name' => 'job_title', 'label' => 'Job title', 'type' => 'text', 'required' => true],
|
||||
['name' => 'email', 'label' => 'Email', 'type' => 'email', 'required' => true],
|
||||
['name' => 'country', 'label' => 'Country', 'type' => 'text', 'required' => true],
|
||||
['name' => 'procurement', 'label' => 'Procurement vehicle', 'type' => 'select', 'required' => false,
|
||||
'options' => ['', 'Direct purchase', 'Open tender', 'Framework contract', 'Other']],
|
||||
['name' => 'configuration', 'label' => 'Configuration desired', 'type' => 'text', 'required' => false],
|
||||
['name' => 'units', 'label' => 'Number of units / packs / seats', 'type' => 'text', 'required' => false],
|
||||
['name' => 'options', 'label' => 'Options', 'type' => 'text', 'required' => false],
|
||||
['name' => 'deployment', 'label' => 'Deployment location and timeline', 'type' => 'text', 'required' => false],
|
||||
['name' => 'constraints', 'label' => 'Administrative constraints (open tender deadline, cybersecurity review process, etc.)', 'type' => 'textarea', 'required' => false],
|
||||
['name' => 'message', 'label' => 'Message', 'type' => 'textarea', 'required' => false],
|
||||
],
|
||||
'reassurance' => 'We respond within 5 working days. Detailed quote suitable for procurement records.',
|
||||
'submit_label' => 'Request the quote',
|
||||
],
|
||||
|
||||
/* Contact — D.27 ================================================== */
|
||||
'contact' => [
|
||||
'eyebrow' => 'Contact',
|
||||
'title' => 'Contact',
|
||||
'tagline' => 'How can we help?',
|
||||
'meta_title' => 'Contact — Asterion VR',
|
||||
'meta_description' => 'General inquiries, partnerships, press. Three response paths.',
|
||||
'hero_lead' => "If you know what you're looking for, the three CTAs below take you directly there. For everything else, the form at the bottom reaches our office.",
|
||||
'promise_title' => 'Other inquiries',
|
||||
'promise_items' => [
|
||||
'Press & media — press@asterionvr.com (response within 24 hours)',
|
||||
'Partnerships & distributors — partners@asterionvr.com',
|
||||
'Careers — careers@asterionvr.com',
|
||||
'General — hello@asterionvr.com',
|
||||
'Office — Asterion VR · 9 rue de la Marebaudière · 35760 Montgermont · France · +33 6 86 94 33 51',
|
||||
],
|
||||
'fields' => [
|
||||
['name' => 'full_name', 'label' => 'Full name', 'type' => 'text', 'required' => true],
|
||||
['name' => 'organization', 'label' => 'Organization', 'type' => 'text', 'required' => false],
|
||||
['name' => 'email', 'label' => 'Email', 'type' => 'email', 'required' => true],
|
||||
['name' => 'subject', 'label' => 'Subject', 'type' => 'text', 'required' => true],
|
||||
['name' => 'message', 'label' => 'Message', 'type' => 'textarea', 'required' => true],
|
||||
],
|
||||
'reassurance' => 'We respond within 48 hours on weekdays.',
|
||||
'submit_label' => 'Send the message',
|
||||
'shortcuts' => [
|
||||
['label' => 'Request a Demo (response within 48 hours)', 'href' => '/request-demo/', 'variant' => 'primary'],
|
||||
['label' => 'Request a T&E Kit (response within 5 working days)', 'href' => '/request-te-kit/', 'variant' => 'secondary'],
|
||||
['label' => 'Request a Quote (response within 5 working days)', 'href' => '/request-quote/', 'variant' => 'secondary'],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user