diff --git a/json/site_content/contactPage.json b/json/site_content/contactPage.json index e6e9db5..512010b 100644 --- a/json/site_content/contactPage.json +++ b/json/site_content/contactPage.json @@ -3,39 +3,7 @@ "contactPage": { "heroHeading": "Get in Touch", "heroLine": "For general or technical inquiries", - "heroLink": "https://discord.com/invite/ukhbBemyxY", - "heroMobileLinkLabel": "CONTACT US", - "formHeading": "Contact Form", - "formWarning": "ALL FIELDS ARE REQUIRED", - "formLabelEmail": "Email", - "formPlaceholderEmail": "email@email.com*", - "formLabelMsg": "Message", - "formPlaceholderMsg": "Write a message or a comment*", - "formLabelPartner": "Type of inquiry", - "formPlaceholderPartner": "Inquiry*", - "formSelectOptions": [ - { - "value": "Partnership", - "label": "Partnership" - }, - { - "value": "Validator", - "label": "Validator/Member" - }, - { - "value": "Investor", - "label": "Investor" - }, - { - "value": "Press", - "label": "Press" - }, - { - "value": "Marketing", - "label": "Marketing" - } - ], - "formLabelButton": "SUBMIT MESSAGE" + "heroLink": "https://discord.com/invite/ukhbBemyxY" } } -} \ No newline at end of file +} diff --git a/json/site_content/partnersPage.json b/json/site_content/partnersPage.json index 0e7e5d5..5a1209b 100644 --- a/json/site_content/partnersPage.json +++ b/json/site_content/partnersPage.json @@ -48,44 +48,7 @@ "oportunitiesItem02Links": null, "oportunitiesItem03Links": null, "oportunitiesItem04Links": null, - "oportunitiesItem05Links": null, - "contactButtonLabel": "GET IN TOUCH", - "contactCompanyLabel": "Company", - "contactCompanyPlaceholder": "Your company name*", - "contactDescription": "We have opportunities for people across different levels of technical expertise.", - "contactEmailLabel": "Email", - "contactEmailPlaceholder": "email@email.com*", - "contactFormHeading": "Share a bit about yourself, and join for early access.", - "contactFormWarning": "All fields are required", - "contactHeading": "Are you interested in participating in Laconic's Incentivized Testnet?", - "contactInquiryLabel": "Inquiry", - "contactInquiryOptions": [ - { - "value": "Validator", - "label": "Validator/Member" - }, - { - "value": "Investor", - "label": "Investor" - }, - { - "value": "Developer", - "label": "Developer" - }, - { - "value": "Customer", - "label": "Prospective Customer" - } - ], - "contactInquiryPlaceholder": "Investor*", - "contactLegalLabel": "What legal jurisdiction is your entity based in?", - "contactLegalPlaceholder": "Your jurisdiction*", - "contactMsgLabel": "Message", - "contactMsgPlaceholder": "Write a message or a comment*", - "contactNameLabel": "Name", - "contactNamePlaceholder": "Your name*", - "contactRoleLabel": "Role", - "contactRolePlaceholder": "Your role*" + "oportunitiesItem05Links": null } } -} \ No newline at end of file +} diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index a84854e..a3518fc 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -1,11 +1,7 @@ -import clsx from 'clsx' import { useRouter } from 'next/router' import { useTheme } from 'next-themes' import { useEffect, useRef, useState } from 'react' -import MailchimpSubscribe from 'react-mailchimp-subscribe' - -import { ArrowLink } from '~/components/icons/arrow' -import { Isotype, LogoFooter } from '~/components/icons/logo' +import { LogoFooter } from '~/components/icons/logo' import { Discord, Facebook, @@ -17,74 +13,12 @@ import { Youtube } from '~/components/icons/socials' import { Container } from '~/components/layout/container' -import Section from '~/components/layout/section' -import Heading from '~/components/primitives/heading' import Link from '~/components/primitives/link' import Switch from '~/components/primitives/switch' import { useIsomorphicLayoutEffect } from '~/hooks/use-isomorphic-layout-effect' import s from './footer.module.scss' -type FormProps = { - className?: string - message: string - onSubmitted?: ({ EMAIL }: { EMAIL: string }) => void - status: 'success' | 'error' | 'sending' - style?: React.CSSProperties -} - -const SimpleForm = ({ - className, - message, - onSubmitted, - status, - style -}: FormProps) => { - let input: HTMLInputElement | null - - const submit = (e: any) => { - e.preventDefault() - if (!onSubmitted) return - input && - input.value.indexOf('@') > -1 && - onSubmitted({ - EMAIL: input.value - }) - } - - useEffect(() => { - if (!input) return - if (status === 'success') { - input.value = '' - } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [status]) - - return ( -