You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ContactPage.jsx 815B

1234567891011121314151617181920212223242526272829
  1. import React, { useEffect, useState } from 'react';
  2. import Contact from '../components/shared/Contact';
  3. import { UIContext } from '../context';
  4. import PageLayout from '../layout/PageLayout';
  5. import useAnalytics from '../hooks/useAnalytics';
  6. function ContactPage() {
  7. const [data, setData] = useState('');
  8. const [isLoaded, setIsLoaded] = useState('');
  9. useEffect(() => {
  10. document.title = 'Contact Us';
  11. }, []);
  12. useAnalytics('Contact Us');
  13. return (
  14. <PageLayout>
  15. <section id="contact" className="h-fit bg-baby-blue dark:bg-dg-primary-1600 mt-90p">
  16. <h1 className="hidden">Contact us: Tell Us about Your Idea!</h1>
  17. <UIContext.Provider value={UIContext}>
  18. <Contact />
  19. </UIContext.Provider>
  20. </section>
  21. </PageLayout>
  22. );
  23. }
  24. export default ContactPage;