diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index e6bbc92..132a916 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -22,5 +22,10 @@ "discord": "Discord handle", "subject": "Subject", "message": "Message", - "send": "Send" + "send": "Send", + + "joinUs": "Join us", + "weAccept": "We welcome everyone with the right mindse!", + "specialization": "Specialzation", + "motivation": "Motivation" } diff --git a/public/locales/nl/translation.json b/public/locales/nl/translation.json index 7749ac9..0aeb364 100644 --- a/public/locales/nl/translation.json +++ b/public/locales/nl/translation.json @@ -21,5 +21,10 @@ "discord": "Discord handle", "subject": "Onderwerp", "message": "Bericht", - "send": "Verstuur" + "send": "Verstuur", + + "joinUs": "Wil je er ook bij", + "weAccept": "Wij verwelkomen iedereen met de juiste intenties!", + "specialization": "Richting", + "motivation": "Motivatie" } diff --git a/src/pages/join/index.tsx b/src/pages/join/index.tsx index 768fd2f..16c3847 100644 --- a/src/pages/join/index.tsx +++ b/src/pages/join/index.tsx @@ -1,10 +1,62 @@ import Image from 'next/image'; +import { useTranslation } from 'react-i18next'; +import { useRouter } from 'next/router'; import join from '@/../public/join.gif'; +import styles from '@/styles/contact.module.scss'; export default function Join() { + const { t } = useTranslation(); + const router = useRouter(); return (
- Join us +
+
+

> {t('joinUs')}?

+ Join us +
{t('weAccept')}
+
+
+
+ + + + + + + + + + + + + router.push('/')} + /> +
+
+
); } diff --git a/src/styles/contact.module.scss b/src/styles/contact.module.scss index fe94b4c..0689189 100644 --- a/src/styles/contact.module.scss +++ b/src/styles/contact.module.scss @@ -22,6 +22,7 @@ input[type='text'], input[type='email'], + select, textarea { padding: 10px; border: none; diff --git a/src/styles/globals.scss b/src/styles/globals.scss index 0ad2f7d..9d12487 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -17,6 +17,11 @@ body { background-color: var(--github-bg); // ^ == @apply bg-dark line-height: 1.2; + scrollbar-width: none; +} + +body::-webkit-scrollbar { + display: none; } h1 {