Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ✨ add a contact form #40

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class MyDocument extends Document {
src='https://umami.fairdataihub.org/mushroom'
/>
</Head>

<body
className={`!font-primary ${
process.env.NODE_ENV === 'development' ? 'debug-screens' : ''
Expand Down
212 changes: 0 additions & 212 deletions src/pages/contact/index.jsx

This file was deleted.

52 changes: 52 additions & 0 deletions src/pages/contact/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import { SkipNavContent, SkipNavLink } from '@chakra-ui/skip-nav';
import Head from 'next/head';

import Layout from '@/components/layout/Layout';
import Seo from '@/components/Seo';

export default function ContactUs() {
return (
<>
<Head>
<script async src='https://tally.so/widgets/embed.js'></script>
</Head>

<SkipNavLink>Skip to content</SkipNavLink>

<Layout>
<Seo templateTitle='Contact Us' />

<main>
<SkipNavContent />

<section className='bg-white '>
<div className='mx-auto max-w-screen-md px-4 py-8 lg:py-16'>
<h1 className='mb-1 text-center text-3xl font-extrabold tracking-tight sm:text-4xl'>
Contact Us
</h1>

<p className='mb-6 text-center text-xl font-normal text-slate-600 sm:mb-8'>
Have a question about our project? Want to provide feedback
about our dataset or anything else? Need help using our data?
Let us know!
</p>

{/* <p className='my-12 hidden w-full rounded-lg bg-yellow-50 p-10 text-center text-xl font-normal text-slate-600 sm:mb-8'>
We are not taking any queries at this time. <br /> We hope you
can find all the necessary information on our website.
</p> */}

<iframe
data-tally-src='https://tally.so/embed/wdY71y?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1'
loading='lazy'
width='100%'
height='276'
title='AI-READI Contact Form'
></iframe>
</div>
</section>
</main>
</Layout>
</>
);
}
Loading