From a4456ac27a1bd3a19e95aa2f21feb3c962c541fa Mon Sep 17 00:00:00 2001 From: Jaro Habiger Date: Sat, 2 Dec 2023 23:30:05 +0100 Subject: [PATCH] add contact page --- src/app/contact/mail.tsx | 19 +++++++++++++++++++ src/app/contact/page.tsx | 31 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 src/app/contact/mail.tsx create mode 100644 src/app/contact/page.tsx diff --git a/src/app/contact/mail.tsx b/src/app/contact/mail.tsx new file mode 100644 index 0000000..8ef3bc3 --- /dev/null +++ b/src/app/contact/mail.tsx @@ -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 + ? {addressState} + : xxxxxxx@xxxxxxxxxxx.xxx (Loading...) + ) + } \ No newline at end of file diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..76795e7 --- /dev/null +++ b/src/app/contact/page.tsx @@ -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 ( + +

Have Questions?

+

Contact Us!

+ +

+ 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. +

+ +

+ Just send us an email: +

+
+ ); +} +