68 lines
2.5 KiB
TypeScript
68 lines
2.5 KiB
TypeScript
import React, { useEffect, useState } from 'react';
|
|
import type { ReactElement } from 'react';
|
|
import Head from 'next/head';
|
|
import Link from 'next/link';
|
|
import { useAppSelector } from '../../stores/hooks';
|
|
import LayoutGuest from '../../layouts/Guest';
|
|
import WebSiteHeader from '../../components/WebPageComponents/Header';
|
|
import WebSiteFooter from '../../components/WebPageComponents/Footer';
|
|
import {
|
|
HeroDesigns,
|
|
ContactFormDesigns,
|
|
} from '../../components/WebPageComponents/designs';
|
|
|
|
import HeroSection from '../../components/WebPageComponents/HeroComponent';
|
|
|
|
import ContactFormSection from '../../components/WebPageComponents/ContactFormComponent';
|
|
|
|
export default function WebSite() {
|
|
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
|
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
|
const projectName = 'YarKoop';
|
|
|
|
useEffect(() => {
|
|
const darkElement = document.querySelector('body .dark');
|
|
if (darkElement) {
|
|
darkElement.classList.remove('dark');
|
|
}
|
|
}, []);
|
|
|
|
return (
|
|
<div className='flex flex-col min-h-screen'>
|
|
<Head>
|
|
<title>{`Contact YarKoop - Get in Touch`}</title>
|
|
<meta
|
|
name='description'
|
|
content={`Reach out to Yarkoop for any inquiries, support, or collaboration opportunities. We're here to assist and connect with you.`}
|
|
/>
|
|
</Head>
|
|
<WebSiteHeader projectName={'yarkoop'} />
|
|
<main
|
|
className={`flex-grow bg-skyBlueTheme-websiteBG rounded-none `}
|
|
>
|
|
<HeroSection
|
|
projectName={'yarkoop'}
|
|
image={['Contact us for assistance']}
|
|
mainText={`Connect with ${projectName} Today`}
|
|
subTitle={`We're here to assist you with any inquiries or support you need. Reach out to ${projectName} and let's build a cooperative future together.`}
|
|
design={HeroDesigns.TEXT_CENTER || ''}
|
|
buttonText={`Get in Touch`}
|
|
/>
|
|
|
|
<ContactFormSection
|
|
projectName={'yarkoop'}
|
|
design={ContactFormDesigns.SIMPLE_CLEAN || ''}
|
|
image={['Contact form with email icon']}
|
|
mainText={`Reach Out to ${projectName} `}
|
|
subTitle={`Feel free to contact us anytime. Our team at ${projectName} is ready to respond promptly and assist you with your needs.`}
|
|
/>
|
|
</main>
|
|
<WebSiteFooter projectName={'yarkoop'} />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
WebSite.getLayout = function getLayout(page: ReactElement) {
|
|
return <LayoutGuest>{page}</LayoutGuest>;
|
|
};
|