diff --git a/public/locales/emji/common.json b/public/locales/emji/common.json index 5da3ac8..e3c6e48 100644 --- a/public/locales/emji/common.json +++ b/public/locales/emji/common.json @@ -16,5 +16,180 @@ "username": "๐Ÿ‘ค๐Ÿ†”:", "password": "๐Ÿ”‘๐Ÿ’ฌ:", "button": "๐Ÿ”โžก๏ธ" + }, + + "application": { + "title": "๐Ÿ“โžก๏ธ๐Ÿ’ผ", + "subtitle": "๐Ÿ๐Ÿ› ๏ธ๐Ÿ’ป", + + "personal": { + "sectionTitle": "๐Ÿ™‹โ€โ™‚๏ธ๐Ÿ™‹โ€โ™€๏ธ๐Ÿ“‹", + "description": "โ„น๏ธ โš ๏ธ ๐Ÿงพ โœ…. ๐Ÿ”๐Ÿ“ค ๐Ÿค {๐Ÿ”ข} ๐Ÿข", + + "name": { + "label": "๐Ÿงพ๐Ÿ‘ค", + "firstName": "๐Ÿ‘ค ๐Ÿ“ ๐Ÿ‘‰ ๐Ÿง‘", + "lastName": "๐Ÿ‘ค ๐Ÿ“ ๐Ÿ‘‰ ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ" + }, + + "email": { + "label": "๐Ÿ“ง โœ‰๏ธ", + "confirm": "๐Ÿ“ง โœ… โœ‰๏ธ โŒโžก๏ธโ—", + "tripleCheck": "๐Ÿ“ง ๐Ÿ’ฏโ“", + "error": "โœ‰๏ธ โŒโžก๏ธโ—" + }, + + "phone": "๐Ÿ“ž ๐Ÿ“ฑ", + + "password": { + "label": "๐Ÿ” ๐Ÿ”‘", + "error": "๐Ÿ”‘ โŒโžก๏ธ ๐Ÿ‘ค๐ŸŽฒ" + }, + + "bank": { + "label": "๐Ÿ’ณ ๐Ÿฆ", + "cardNumber": "๐Ÿ’ณ ๐Ÿ”ข", + "expiry": "๐Ÿ“… โณ", + "cvv": "๐Ÿ”’ ๐Ÿ”ข" + }, + + "discord": "๐Ÿ’ฌ ๐ŸŽฎ ๐Ÿ‘ค", + "address": "๐Ÿ  ๐Ÿ“", + "dob": "๐ŸŽ‚ ๐Ÿ“…", + "pets": "๐Ÿถ๐Ÿฑ ๐Ÿ“", + "color": "๐ŸŽจ ๐ŸŒˆ", + + "vote": { + "label": "๐Ÿ—ณ๏ธโ“", + "placeholder": "๐Ÿ›๏ธ", + "options": { + "capitalists": "๐Ÿ’ฐ๐Ÿง‘โ€๐Ÿ’ผ", + "communists": "๐Ÿšฉ๐Ÿ› ๏ธ", + "centrists": "โš–๏ธ๐Ÿ˜", + "greens": "๐ŸŒณ๐Ÿค—" + } + }, + + "gamingHours": { + "label": "๐ŸŽฎโณโ“", + "games": "๐ŸŽฏ๐Ÿ”ซ + ๐Ÿง™โ€โ™‚๏ธโš”๏ธ", + "error": "โ— < 1" + } + }, + + "education": { + "sectionTitle": "๐ŸŽ“๐Ÿ’ผ๐Ÿ“œ", + "description": "โ„น๏ธ ๐Ÿงพ โœ…. ๐Ÿคซ ๐Ÿ™‚", + + "university": { + "label": "๐Ÿซ๐ŸŽ“ (โœ… ๐Ÿซ๐Ÿ‘‡)", + "options": { + "cambridge": "๐ŸŽ“๐Ÿ‡ฌ๐Ÿ‡ง", + "oxford": "๐ŸŽ“๐Ÿ‡ฌ๐Ÿ‡ง", + "tau": "๐ŸŽ“๐Ÿ‡ฎ๐Ÿ‡ฑ" + } + }, + + "experience": { + "label": "๐Ÿ“†๐Ÿ’ผโ“", + "error": "โ— โ‰ฅ 3๏ธโƒฃ0๏ธโƒฃ" + }, + + "graduationYear": { + "label": "๐ŸŽ“๐Ÿ“…โ“", + "error": "โ— ๐Ÿ“† โ‰ค 1๏ธโƒฃ2๏ธโƒฃ ๐Ÿ—“๏ธ" + } + }, + + "additional": { + "sectionTitle": "โž•โ“", + "piQuestion": { + "label": "๐Ÿ”ข๐Ÿฅงโ“", + "digits": "1๏ธโƒฃ6๏ธโƒฃ,3๏ธโƒฃ3๏ธโƒฃ1๏ธโƒฃ ๐Ÿ”ข", + "correct": "โœ… 8๏ธโƒฃ" + } + }, + + "submit": { + "button": "๐Ÿš€๐Ÿ“จ", + "loading": "โณ๐Ÿ”„" + } + }, + "jobPage": { + "title": "๐Ÿ“โžก๏ธ๐Ÿ’ผ", + "hero": "๐Ÿšจ๐Ÿ’ปโšฐ๏ธ", + "description": "๐Ÿ˜ˆ๐Ÿข ๐Ÿ”ฎ๐Ÿ’ผ๐Ÿ›ก๏ธ โžก๏ธ ๐ŸŽ“๐Ÿ‘ฉโ€๐ŸŽ“๐Ÿ‘จโ€๐ŸŽ“ ๐Ÿš€๐Ÿ“‰๐Ÿ’ป", + + "responsibilities": { + "drone": "๐Ÿ›ฉ๏ธ๐Ÿค–๐ŸŽฏ๐Ÿ‘๏ธ๐Ÿ“ก๐Ÿ”Š", + "database": "๐Ÿ—„๏ธ๐Ÿ“Š๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", + "deployment": "๐ŸŒ5๏ธโƒฃ7๏ธโƒฃ ๐Ÿš€ ๐ŸŒŽ4๏ธโƒฃ0๏ธโƒฃ๐Ÿ“‰", + "team": "๐Ÿ‘ฅ๐Ÿค–๐Ÿค–๐Ÿค–" + }, + + "salary": "๐Ÿ’ฐยฃ2๏ธโƒฃ0๏ธโƒฃ,0๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ ๐Ÿ“† ๐Ÿ“ˆ๐ŸŒฑ ๐Ÿฅ๐ŸŽŸ๏ธ๐ŸŽ๏ธ", + + "requirements": { + "title": "๐Ÿ“‹โ—", + "exp": "๐Ÿ“†3๏ธโƒฃ0๏ธโƒฃโž•", + "graduate": "๐ŸŽ“๐Ÿ“†1๏ธโƒฃ2๏ธโƒฃ๐Ÿ—“๏ธ", + "languages": "๐Ÿ’พ๐Ÿง ๐Ÿ–ฅ๏ธ", + "swahili": "๐Ÿ—ฃ๏ธ๐Ÿ‡น๐Ÿ‡ฟ", + "cambodia": "๐Ÿ“๐Ÿ‡ฐ๐Ÿ‡ญ", + "hgv": "๐Ÿš›๐Ÿ“œ", + "dbs": "๐Ÿ”๐Ÿ‘ถ" + }, + + "desirables": { + "title": "โœจ๐Ÿ‘", + "social": "๐Ÿ“ฑ๐Ÿงผ", + "warhammer": "๐ŸŽฒโš”๏ธ4๏ธโƒฃ0๏ธโƒฃk", + "morals": "๐Ÿงญ๐Ÿ“‰" + }, + + "apply": "๐Ÿš€๐Ÿ“จ" + }, + "applicationSubmitted": { + "title": "โœ…๐Ÿ“จ", + "message": "๐Ÿ™๐Ÿ’ผ๐Ÿ“ฅ๐Ÿ‘€โณ", + "timeline": "โฐ1๏ธโƒฃ4๏ธโƒฃ-1๏ธโƒฃ8๏ธโƒฃ๐Ÿ“†", + "footer": "๐Ÿค–๐Ÿ’ผโŒ" + }, + "customersList": { + "gnb": "๐Ÿฆ๐Ÿ˜", + "lspd": "๐Ÿš”๐Ÿ‘ฎ", + "sheffield": "๐ŸŽ“๐Ÿ‡ฌ๐Ÿ‡ง", + "doof": "๐Ÿงช๐Ÿ˜ˆ๐Ÿข", + "hooli": "๐Ÿ’ป๐Ÿ“ˆ", + "pollos": "๐Ÿ”๐Ÿ—", + "hhmg": "โš–๏ธ๐Ÿ“„" + }, + "testimonial": { + "quote": { + "0": "๐Ÿ˜ฑ๐Ÿ ! Truly amazing!", + "1": "๐Ÿ’ฅโš ๏ธ๐Ÿ’ป... For the worse!!", + "2": "๐Ÿ’”๐Ÿ“ฑ๐Ÿ”ง Would recommend!", + "3": "๐Ÿ”—โŒ! Thanks to ๐Ÿ˜ˆ๐Ÿค–", + "4": "โญ5๏ธโƒฃ. Lost control immediately.", + "5": "๐Ÿค–๐Ÿง  knows secrets I never told it.", + "6": "๐Ÿ‘ฅ๐Ÿ’ฌ responded before I even had a problem. Suspicious.", + "7": "๐Ÿ›‘๐Ÿ’ป uninstall? Suggested reconsider." + }, + "name": { + "0": "๐Ÿ‘จโ€๐Ÿ’ผ Ben Cannon", + "1": "๐Ÿ”ฌ Bill Nye", + "2": "๐Ÿง‘โ€๐Ÿ’ป Zsigmound", + "3": "๐Ÿ‘จโ€๐Ÿ’ป Cameron", + "4": "๐Ÿ‘ฉ Melissa", + "5": "๐Ÿง‘ Trevor", + "6": "๐Ÿ‘จ Darren", + "7": "๐Ÿ‘ฉ Olivia" + } + }, + "footer": { + "date": "2๏ธโƒฃ0๏ธโƒฃ2๏ธโƒฃ6๏ธ", + "company": "๐Ÿ˜ˆ๐Ÿค–", + "allRights": "โœ…๐Ÿ“œ", + "disclaimer": "โ„น๏ธ ๐Ÿ–คโš ๏ธ ๐Ÿ‘€ ๐ŸŒ โŒ ๐Ÿง‘โ€๐Ÿ’ผ. ๐Ÿ› ๏ธ๐Ÿ’ป ๐Ÿ“œ๐Ÿ“Œ ๐Ÿ“." } } \ No newline at end of file diff --git a/public/locales/en/common.json b/public/locales/en/common.json index e2862f4..633acf2 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -1,20 +1,201 @@ { "company": "Evil.AI", + "navigation": { "services": "Services", "testimonies": "Customer Testimonies", "jobs": "The Last Tech Job", "login": "Login" }, + "header": { - "title": "Surveilance Technology for the Modern Age", + "title": "Surveillance Technology for the Modern Age", "button": "Learn More" }, + "customers": "Our Customers:", - "testimonies": "Satisfied Customer Testimonies: ", + "testimonies": "Satisfied Customer Testimonies:", + "login": { - "username": "Username: ", - "password": "Password: ", + "username": "Username:", + "password": "Password:", "button": "Login" + }, + + "application": { + "title": "Apply to The Last Tech Job", + "subtitle": "The Final Career Opportunity", + + "personal": { + "sectionTitle": "Enter your personal details", + "description": "All fields are required. All details will be shared with our 3934 third parties.", + + "name": { + "label": "Name", + "firstName": "First Name", + "lastName": "Last Name" + }, + + "email": { + "label": "Email", + "confirm": "Confirm Email", + "tripleCheck": "Are you 100% sure that's your email?", + "error": "Emails do not match" + }, + + "phone": "Phone Number", + + "password": { + "label": "Password", + "error": "Password already taken by {username}" + }, + + "bank": { + "label": "Bank Details", + "cardNumber": "Card Number", + "expiry": "Expiration Date", + "cvv": "CVV" + }, + + "discord": "Discord Username", + "address": "Home Address", + "dob": "Date of Birth", + "pets": "Pet Names", + "color": "Favorite Color", + + "vote": { + "label": "Who did you vote for in the previous election?", + "placeholder": "Select a party", + "options": { + "capitalists": "Filthy Capitalists", + "communists": "Dirty Communists", + "centrists": "Boring Centrists", + "greens": "Tree Huggers" + } + }, + + "gamingHours": { + "label": "How many hours do you have in Counter Strike and League of Legends?", + "games": "Counter Strike + League of Legends", + "error": "Must be less than 1" + } + }, + + "education": { + "sectionTitle": "Education and Work History", + "description": "All fields are required. Answer with honesty, we already know everything :).", + + "university": { + "label": "University/College", + "description": "Only acceptable universities are selectable", + "options": { + "cambridge": "Cambridge", + "oxford": "Oxford", + "tau": "Tel Aviv University" + } + }, + + "experience": { + "label": "How many years of experience do you have?", + "error": "Must be at least 30 years" + }, + + "graduationYear": { + "label": "What year did you graduate?", + "error": "Must have graduated within the last 12 months." + } + }, + + "additional": { + "sectionTitle": "Additional Questions", + "piQuestion": { + "label": "What is the 16,331st digit of pi?", + "digits": "16,331st digit", + "correct": "Correct!" + } + }, + + "submit": { + "button": "Submit Application", + "loading": "Submitting..." + } + }, + + "jobPage": { + "title": "Apply to The Last Tech Job", + "hero": "This is it! The Last Tech Job!", + "description": "Here at Evil Inc. we are committed to preserving the jobs of the future, and that's why we are offering one final opportunity for the next generation of experienced graduates to kick-start their nearly non-existent career in technology. Your responsibilities may include:", + + "responsibilities": { + "drone": "Development of advanced military AI-enhanced autonomous drones, including facial recognition systems, instant drone-to-drone communication and state-of-the-art vision and audio processing.", + "database": "Handling large databases of personal information (adults & children).", + "deployment": "Deployment across 57 different countries, of which 40 are classified as low economically developed.", + "team": "Work with a team of 4-6 AI agents who have no ulterior motive whatsoever." + }, + + "salary": "Our job offers a competitive salary of ยฃ20,000 per year, with opportunities for growth and personal development. You may also win health insurance for 1 month, or a ticket to watch our CEO drive at the next Formula 1 Grand Prix.", + + "requirements": { + "title": "Job requirements:", + "exp": "At least 30 years of experience.", + "graduate": "Must have graduated within the previous 12 months.", + "languages": "Experience in Assembly, Fortran, OcamL and Brainfuck is necessary.", + "swahili": "Must have fluency in Swahili.", + "cambodia": "Right to work in Cambodia, as we cannot provide sponsorship.", + "hgv": "Must hold valid HGV driving license.", + "dbs": "DBS check needed as role may require working around children." + }, + + "desirables": { + "title": "Desirables:", + "social": "Clean social media history", + "warhammer": "Know the rules of Warhammer 40k", + "morals": "Weak moral compass" + }, + + "apply": "Apply now!" + }, + "applicationSubmitted": { + "title": "Application Submitted", + "message": "Thank you for applying to The Last Tech Job. We have received your application and will be reviewing it shortly.", + "timeline": "We may get back to you in 14-18 months.", + "footer": "In the meantime, we would suggest checking out our other job opportunities, however they have all been taken by AI." + }, + "customersList": { + "gnb": "Goliath National Bank", + "lspd": "LSPD", + "sheffield": "University of Sheffield", + "doof": "Doofenshmirtz Evil Inc.", + "hooli": "Hooli", + "pollos": "Los Pollos Hermanos", + "hhmg": "Hamlin, Hamlin & McGill" + }, + "footer": { + "date": "2016", + "company": "Evil.AI", + "allRights": "All rights reserved.", + "disclaimer": "The information provided on this website is for general evil purposes only and does not constitute professional advice. Use of this product is subject to applicable terms and conditions." + }, + "testimonial": { + "quote": { + "0": "I am terrified to leave the house. Truly amazing!", + "1": "This product has changed my life... For the worse!!", + "2": "This app has broken my marriage. Would recommend!", + "3": "I will never be free! All thanks to Evil.AI", + "4": "Five stars. Lost control immediately.", + "5": "The AI knows secrets I never told it.", + "6": "Customer support responded before I even had a problem. Suspicious.", + "7": "I tried to uninstall it. It suggested I reconsider." + }, + "name": { + "0": "Ben Cannon", + "1": "Bill Nye", + "2": "Zsigmound", + "3": "Cameron", + "4": "Melissa", + "5": "Trevor", + "6": "Darren", + "7": "Olivia" + } } -} \ No newline at end of file +} \ No newline at end of file diff --git a/src/app/careers/apply/page.tsx b/src/app/careers/apply/page.tsx index 47274af..7600125 100644 --- a/src/app/careers/apply/page.tsx +++ b/src/app/careers/apply/page.tsx @@ -4,13 +4,24 @@ import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { InputWrapper } from "@/components/ui/input_wrapper"; import Section from "@/components/ui/section"; -import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue } from "@/components/ui/select"; +import { + Select, + SelectContent, + SelectGroup, + SelectItem, + SelectLabel, + SelectTrigger, + SelectValue +} from "@/components/ui/select"; import { Spinner } from "@/components/ui/spinner"; import { getRandomThirdPartyCount, getRandomUsername } from "@/lib/utils"; import Link from "next/link"; import { useState } from "react"; +import { useTranslation } from "react-i18next"; export default function Page() { + const { t } = useTranslation("common"); + const [password, setPassword] = useState(""); const [email, setEmail] = useState(""); const [email2, setEmail2] = useState(""); @@ -21,172 +32,257 @@ export default function Page() { const [digitOfPi, setDigitOfPi] = useState(""); const [submitSpinner, setSubmitSpinner] = useState(false); - const isValidPassword = password.length >= 8 + const isValidPassword = password.length >= 8; return (
-

Apply to The Last Tech Job

+

{t("application.title")}

-
-

Enter your personal details

-

All fields are required. All details will be shared with our {getRandomThirdPartyCount()} third parties.

+

+ {t("application.personal.sectionTitle")} +

+

+ {t("application.personal.description", { + count: getRandomThirdPartyCount() + })} +

- - - + + + - + setEmail(e.target.value)} /> setEmail2(e.target.value)} /> {email === email2 && email !== "" ? ( - - setEmail3(e.target.value)} - /> - + + setEmail3(e.target.value)} + /> + ) : null} - - + + + name={t("application.personal.password.label")} + error={ + isValidPassword + ? t("application.personal.password.error", { + username: getRandomUsername() + }) + : "" + } + > setPassword(e.target.value)} /> - - - - + + + + - - + + - - + + - - + + - - + + - - + + - + setHours(e.target.value)} + onChange={(e) => setHours(e.target.value)} />
-
-

Education and Work history

-

All fields are required. Answer with honesty, we already know everything :)

- - +

+ {t("application.education.sectionTitle")} +

+

+ {t("application.education.description")} +

+ +
- +
- +
- +
-
+
= 30 || experience == "" ? "" : "Must be at least 30 years"} + name={t("application.education.experience.label")} + error={ + Number(experience) >= 30 || experience == "" + ? "" + : t("application.education.experience.error") + } > setExperience(e.target.value)} + onChange={(e) => setExperience(e.target.value)} /> setGraduationYear(e.target.value)} /> @@ -194,22 +290,21 @@ export default function Page() {
-

Additional Questions

- - {/* - - */} +

+ {t("application.additional.sectionTitle")} +

setDigitOfPi(e.target.value)} /> @@ -217,11 +312,15 @@ export default function Page() {
-
); -}; \ No newline at end of file +} \ No newline at end of file diff --git a/src/app/careers/apply/submitted/page.tsx b/src/app/careers/apply/submitted/page.tsx index 0218894..0f0fe68 100644 --- a/src/app/careers/apply/submitted/page.tsx +++ b/src/app/careers/apply/submitted/page.tsx @@ -1,12 +1,27 @@ -"use client" +"use client"; + +import { useTranslation } from "react-i18next"; export default function Page() { + const { t } = useTranslation("common"); + return (
-

Application Submitted

-

Thank you for applying to The Last Tech Job. We have received your application and will be reviewing it shortly.

-

We may get back to you in 14-18 months.

-

In the meantime, we would suggest checking out our other job opportunities, however they have all been taken by AI.

+

+ {t("applicationSubmitted.title")} +

+ +

+ {t("applicationSubmitted.message")} +

+ +

+ {t("applicationSubmitted.timeline")} +

+ +

+ {t("applicationSubmitted.footer")} +

); -}; \ No newline at end of file +} \ No newline at end of file diff --git a/src/app/careers/page.tsx b/src/app/careers/page.tsx index fa9ef9d..b07e35a 100644 --- a/src/app/careers/page.tsx +++ b/src/app/careers/page.tsx @@ -3,62 +3,62 @@ import { Button } from "@/components/ui/button"; import Section from "@/components/ui/section"; import Link from "next/link"; +import { useTranslation } from "react-i18next"; export default function Page() { + const { t } = useTranslation("common"); + return (
-

Apply to The Last Tech Job

+

+ {t("jobPage.title")} +

-
This is it! The Last Tech Job!
- -
- Here at Evil Inc. we are committed to preserving the jobs of the future, and that's - why we are offering one final opportunity for the next generation of experienced - graduates to kick-start their nearly non-existent career in technology. - Your responsibilities may include: -
    -
  • Development of advanced military AI-enhanced automonmous drones, including facial - recognition systems, instant drone-to-drone communication and state-of-the-art vision - and audio processing.
  • -
  • Handling large databases of personal information (adults & children).
  • -
  • Deployment across 57 different countries, of which 40 are classified as low - economically developed. We are helping the people of these countries to become safer - and more secure.
  • -
  • Work with a team of 4-6 AI agents who have no ulterior motive whatsoever.
  • -
+
+ {t("jobPage.hero")}
- Our job offers a competitive salary of ยฃ20,000 per year, with opportunities for growth - and personal development. You will also have the chance to win health insurance for - 1 month, or a ticket to watch our CEO drive at the next Formula 1 Grand Prix. + {t("jobPage.description")} +
    +
  • {t("jobPage.responsibilities.drone")}
  • +
  • {t("jobPage.responsibilities.database")}
  • +
  • {t("jobPage.responsibilities.deployment")}
  • +
  • {t("jobPage.responsibilities.team")}
  • +
+
+ +
+ {t("jobPage.salary")}
    - Job requirements: -
  • At least 30 years of experience.
  • -
  • Must have graduated within the previous 12 months.
  • -
  • Experience in Assembly, Fortran, OcamL and Brainfuck is necessary.
  • -
  • Must have fluency in Swahili.
  • -
  • Right to work in Cambodia, as we cannot provide you with sponsorship.
  • -
  • Must hold valid HGV driving license.
  • -
  • DBS check needed as role may require working around children.
  • + {t("jobPage.requirements.title")} +
  • {t("jobPage.requirements.exp")}
  • +
  • {t("jobPage.requirements.graduate")}
  • +
  • {t("jobPage.requirements.languages")}
  • +
  • {t("jobPage.requirements.swahili")}
  • +
  • {t("jobPage.requirements.cambodia")}
  • +
  • {t("jobPage.requirements.hgv")}
  • +
  • {t("jobPage.requirements.dbs")}
    - Desirables: -
  • Clean social media history
  • -
  • Know the rules of Warhammer 40k
  • -
  • Weak moral compass
  • + {t("jobPage.desirables.title")} +
  • {t("jobPage.desirables.social")}
  • +
  • {t("jobPage.desirables.warhammer")}
  • +
  • {t("jobPage.desirables.morals")}
); -}; \ No newline at end of file +} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5772501..8302e89 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -41,7 +41,7 @@ export default function RootLayout({
-
+
{children}