This commit introduces a 'Contact Sales' modal on the web development page, allowing users to inquire about specific service plans. - The pricing plan buttons now trigger this modal, pre-filled with the selected plan's details. - Users can add custom remarks to their inquiry. - On submission, a pre-formatted message is generated and opened in WhatsApp using a new `useWhatsAppMsgSender` composable. - Adds `NUXT_PUBLIC_WHATSAPP_NUMBER` to the runtime configuration. - Refactors content validation by introducing Zod schemas for `PricingPlan` and `Button` props to improve type safety. - Adds new i18n keys for the modal interface and message templates.
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"common": {
|
|
"header": {
|
|
"insights": {
|
|
"label": "Insights",
|
|
"children": {
|
|
"xiaomaiBlog": {
|
|
"label": "Founder's Blog",
|
|
"description": "The blog sites of our studio founder - Xiaomai."
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"label": "Services",
|
|
"children": {
|
|
"softwareDev": {
|
|
"label": "Software Development",
|
|
"description": "Software and Tools / Automation Development"
|
|
},
|
|
"eventVisual": {
|
|
"label": "Event Big Screen Visualization",
|
|
"description": "Display the content whichever you want on the big screen of your events!"
|
|
},
|
|
"lab": {
|
|
"label": "Labs and Tests",
|
|
"description": "Unavailable yet..."
|
|
},
|
|
"webDev": {
|
|
"label": "Web Development",
|
|
"description": "Customise Web design + CMS"
|
|
}
|
|
}
|
|
},
|
|
"projects": {
|
|
"label": "Projects",
|
|
"children": {
|
|
"commercialWebsite": {
|
|
"label": "Commercial Website",
|
|
"description": "Fully customize website showcases."
|
|
},
|
|
"tools": {
|
|
"label": "Tools and Softwares",
|
|
"description": "Some QoL tools we developed"
|
|
},
|
|
"special": {
|
|
"label": "Special Projects",
|
|
"description": "Special projects to meet customer needs"
|
|
},
|
|
"gameDev": {
|
|
"label": "Indie Games",
|
|
"description": "Have a look at our indie games!"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"button": {
|
|
"cancel": "Cancel",
|
|
"submit": "Submit",
|
|
"saving": "Saving..."
|
|
}
|
|
}
|
|
}
|