import {createCheckoutSession} from 'backend/stripe.jsw'; // Import backend function $w.onReady(function () { // Assuming the amount is passed via the URL, e.g., ?amount=5000 const urlParams = new URLSearchParams(window.location.search); const amount = urlParams.get('amount'); // Get the amount from the URL // Check if the amount is valid if (amount && !isNaN(amount)) { // Attach click event to the button $w('#payButton').onClick(async () => { try { const checkoutUrl = await createCheckoutSession(parseInt(amount)); // Create Checkout session // Redirect to the Stripe Checkout page window.location.href = checkoutUrl; } catch (error) { console.error('Error during Stripe Checkout session creation:', error); // Handle errors (e.g., show a message to the user) } }); } else { console.error('Invalid or missing amount parameter.'); } });
top of page

Perinatal Mental Health

Perinatal Mental Health

What is Perinatal Mental Health?

Perinatal mental health is a critical area of focus because it directly impacts the well being of individuals during a signicant life transition: the journey to parenthood.


Several factors contribute to the importance of addressing perinatal mental health:


Reduce Stigma:

By raising awareness and promoting open discussions about perinatal mental health, we can reduce stigma and encourage individuals to seek help without fear of judgment or discrimination.


Strengthen Family Bonds:

Prioritizing perinatal mental health supports the well-being of the entire family unit, fostering strong bonds between parents and children and promoting a supportive and nurturing family environment.


Enhance Maternal and Infant Health:

Addressing perinatal mental health concerns can improve pregnancy outcomes, reduce the risk of complications during childbirth, and promote healthy development in infants.


Foster Positive Parenting:

Supporting parents' mental health enables them to better cope with the challenges of parenting, establish nurturing relationships with their children, and provide a stable and supportive environment for their family.


Prevent Long-Term Consequences:

Early intervention and treatment for perinatal mental health disorders can prevent long-term negative outcomes such as chronic depression, impaired parent-child relationships, and developmental delays in children.

Does Your Insurance Cover Mental Health Care?

Insurance
bottom of page