refactor(inquires): Standardize contact data field names to snake_case
- Update Title field reference to title in contact form heading - Update Description field reference to description in contact form subtitle - Align with existing snake_case naming convention established in CMS data types - Ensure consistency across all configurable form fields
This commit is contained in:
@@ -6,10 +6,10 @@ const Inquires = ({ contactData }: { contactData?: CmsContact }) => {
|
|||||||
<div className="flex flex-col items-center mt-16 px-8 ">
|
<div className="flex flex-col items-center mt-16 px-8 ">
|
||||||
<div className="lg:w-2/3 m-auto flex flex-col gap-4 mb-12">
|
<div className="lg:w-2/3 m-auto flex flex-col gap-4 mb-12">
|
||||||
<h2 className="font-bold text-4xl">
|
<h2 className="font-bold text-4xl">
|
||||||
{contactData?.Title || "Unlock Your Growth Potential"}
|
{contactData?.title || "Unlock Your Growth Potential"}
|
||||||
</h2>
|
</h2>
|
||||||
<p className="font-normal text-[16px] text-gray-600">
|
<p className="font-normal text-[16px] text-gray-600">
|
||||||
{contactData?.Description ||
|
{contactData?.description ||
|
||||||
"Register for early access and a free consultation. Let's start winning together."}
|
"Register for early access and a free consultation. Let's start winning together."}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user