/* eslint-disable */ /* This is a auto generated file for building the project */ import { Fragment, useState } from "react"; import { useResource, useVariableState } from "@webstudio-is/react-sdk/runtime"; import { Fragment as Fragment_1, Image as Image, HtmlEmbed as HtmlEmbed, Slot as Slot, Input as Input, Textarea as Textarea } from "@webstudio-is/sdk-components-react"; import { Link as Link, Body as Body, RemixForm as RemixForm } from "@webstudio-is/sdk-components-react-router"; export const projectId = "363652e3-9846-4534-acdf-9b2b3c66eec0"; export const lastPublished = "2025-11-23T14:14:47.330Z"; export const siteName = "Inasa Healthcare"; export const breakpoints = [{"id":"5zaWVFAeAfWgFjJNQ0GET"},{"id":"qOHlWr9cjM-6l364uX_FK","maxWidth":991},{"id":"8_hh5VMsAyWW46cnpT5HQ","maxWidth":767},{"id":"swNXPQRoKH4ij-T-zGDE7","maxWidth":479}]; export const favIconAsset: string | undefined = "file_000000003adc722fbb2d4c57f70e11d2_FsnGqm4TIkHGomknin2UT.png"; // Font assets on current page (can be preloaded) export const pageFontAssets: string[] = [] export const pageBackgroundImageAssets: string[] = [] const Page = (_props: { system: any; }) => { return
{"logo"}
{"About"} {"Insurance"} {"Services"} {"Contact"}
{"Patient Portal"}
\n \n"} className={`w-html-embed w-html-embed-1`} />
\n \n"} className={`w-html-embed w-html-embed-2`} />

{"Contact Us"}

\n document.getElementById('contact.form').addEventListener('submit', function(event) {\n event.preventDefault(); // Prevent default form submission\n\n const webhookUrl = 'https://n8n-ai.bsidesolutions.net/webhook-test/9974ca96-98ba-4e56-bb48-debfdad8cf59'; // use Webhook studio Global data var\n \n const name = document.getElementById('contact.name').value;\n const subject = document.getElementById('contact.subject').value;\n const sender = document.getElementById('contact.email').value;\n const message = document.getElementById('contact.message').value;\n const recipient = 'no-reply@inasahealthcare.com'; // use Webhook studio Global data var\n\n const formData = {\n name,\n subject,\n sender,\n message,\n recipient\n };\n\n fetch(webhookUrl, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json' // Or 'application/x-www-form-urlencoded' if your webhook expects that\n },\n body: JSON.stringify(formData) // Send data as JSON\n })\n .then(response => {\n if (!response.ok) {\n throw new Error(`HTTP error! status: ${response.status}`);\n }\n return response.json(); // Or response.text() if your webhook doesn't return JSON\n })\n .then(data => {\n document.getElementById('contact.responseMessage').innerText = 'Message sent successfully!';\n console.log('Success:', data);\n document.getElementById('contact.form').reset(); // Clear the form\n })\n .catch(error => {\n document.getElementById('contact.responseMessage').innerText = 'Error sending message.';\n console.error('Error:', error);\n });\n});\n\n"} className={`w-html-embed`} />