-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
'use client'; | ||
|
||
import React, { useEffect, useState } from "react"; | ||
|
||
export function MailLink() { | ||
const address = "(: tey liame cilbup gnikrow a evah tnod ew ,yrros"; | ||
const [addressState, setAdress] = useState(null as null | string); | ||
useEffect(() => { | ||
setTimeout(() => { | ||
setAdress(address.split("").reverse().join("")) | ||
}, 1000); | ||
}, []) | ||
|
||
return ( | ||
addressState | ||
? <a className="underline" href={`mailto:${addressState}`}>{addressState}</a> | ||
: <span>[email protected] (Loading...)</span> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { useEffect, useState } from 'react'; | ||
import { Metadata } from 'next'; | ||
import { Page } from '../../components/Page'; | ||
import { MailLink } from './mail'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Contact Us', | ||
openGraph: { | ||
title: 'Contact Us', | ||
}, | ||
}; | ||
|
||
export default function ContactPage() { | ||
return ( | ||
<Page className='max-w-[600px]'> | ||
<h1 className="text-center text-neutral-400 font-medium my-4">Have Questions?</h1> | ||
<h2 className="text-center text-5xl font-semibold my-4">Contact Us!</h2> | ||
|
||
<p className='pb-4 pt-10'> | ||
If you have any questions regarding transcribee, do not hesitate to contact us. | ||
Be it for Cooperations, custom Integrations, development of custom features, requests for | ||
discount or anything else you can come up with. | ||
</p> | ||
|
||
<p className='pb-4'> | ||
Just send us an email: <MailLink /> | ||
</p> | ||
</Page> | ||
); | ||
} | ||
|