Skip to content

Commit

Permalink
Remove job roles (#1070)
Browse files Browse the repository at this point in the history
* chore: remove job listings

* chore: remove jobs

* fix: add in empty jobs directory and add missing typedef
  • Loading branch information
goslingo authored Oct 23, 2023
1 parent fb6d839 commit 3c73dcd
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 155 deletions.
3 changes: 3 additions & 0 deletions gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ exports.createSchemaCustomization = ({ actions }) => {
const typeDefs = `
type MarkdownRemarkFrontmatter {
featuredImage: File @fileByRelativePath
start_date: Date @dateformat
contract_type: String
slug: String
}
`
createTypes(typeDefs)
Expand Down
4 changes: 2 additions & 2 deletions locales/cn/page.careers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"Your career in Defi starts here": "你的 Defi 职业生涯从这里开始",
"Join the core team and work on the Vega project.": "加入核心团队并致力于Vega项目",
"Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.": "Vega 的社区始于我们的全球团队。我们是一个快速发展、协作和多学科的团队,相互学习,着眼于解决复杂的挑战。如果您相信去中心化的力量并希望改变金融世界,您的机会来了",
"Open Jobs": "空缺职位",
"We don't currently have any open job roles.": "我们目前没有任何空缺职位"
"We don't currently have any open job roles.": "我们目前没有任何空缺职位",
"Open Jobs": "空缺职位"
}
4 changes: 2 additions & 2 deletions locales/en/page.careers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"Your career in Defi starts here": "Your career in Defi starts here",
"Join the core team and work on the Vega project.": "Join the core team and work on the Vega project.",
"Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.": "Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.",
"Open Jobs": "Open Jobs",
"We don't currently have any open job roles.": "We don't currently have any open job roles."
"We don't currently have any open job roles.": "We don't currently have any open job roles.",
"Open Jobs": "Open Jobs"
}
4 changes: 2 additions & 2 deletions locales/es/page.careers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"Your career in Defi starts here": "Tu carrera en Defi comienza aquí",
"Join the core team and work on the Vega project.": "Únase al equipo central y trabaje en el proyecto Vega.",
"Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.": "La comunidad en Vega comienza con nuestro equipo global. Somos un equipo multidisciplinario, colaborativo y de rápido crecimiento, que aprendemos unos de otros y ponemos nuestra mira en resolver desafíos complejos. Si crees en el poder de la descentralización y quieres cambiar el mundo de las finanzas, esta es tu oportunidad.",
"Open Jobs": "Trabajos abiertos",
"We don't currently have any open job roles.": "Actualmente no tenemos ningún puesto vacante."
"We don't currently have any open job roles.": "Actualmente no tenemos ningún puesto vacante.",
"Open Jobs": "Trabajos abiertos"
}
4 changes: 2 additions & 2 deletions locales/ko/page.careers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"Your career in Defi starts here": "당신의 디파이 커리어는 여기서 시작됩니다",
"Join the core team and work on the Vega project.": "코어팀에 합류하여 Vega 프로젝트에 기여하세요",
"Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.": "Vega의 커뮤니티는 글로벌 팀에서 시작됩니다. 우리는 빠르게 성장하는 다분야 협력 팀으로서 서로에게서 배우고 복잡한 문제를 해결하는 데 목표를 두고 있습니다. 탈중앙화의 힘을 믿고 금융의 세계를 바꾸고 싶다면 지금이 기회입니다.",
"Open Jobs": "채용 공고",
"We don't currently have any open job roles.": "현재 채용 중인 직무가 없습니다."
"We don't currently have any open job roles.": "현재 채용 중인 직무가 없습니다.",
"Open Jobs": "채용 공고"
}
4 changes: 2 additions & 2 deletions locales/ru/page.careers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"Your career in Defi starts here": "Ваша карьера в Defi начинается здесь",
"Join the core team and work on the Vega project.": "Присоединяйтесь к основной команде и работайте над проектом Vega.",
"Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.": "Сообщество в Vega начинается с нашей глобальной команды. Мы быстро развивающаяся многопрофильная команда, которая учится друг у друга и нацелена на решение сложных задач. Если вы верите в силу децентрализации и хотите изменить мир финансов, это ваш шанс.",
"Open Jobs": "Открытые вакансии",
"We don't currently have any open job roles.": "На данный момент у нас нет открытых вакансий."
"We don't currently have any open job roles.": "На данный момент у нас нет открытых вакансий.",
"Open Jobs": "Открытые вакансии"
}
4 changes: 2 additions & 2 deletions locales/vi/page.careers.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"Your career in Defi starts here": "Sự nghiệp của bạn trong lĩnh vực Defi bắt đầu từ đây",
"Join the core team and work on the Vega project.": "Tham gia vào nhóm phát triển và làm việc với dự án Vega",
"Community at Vega starts with our global team. We're a fast-growing, collaborative, and multi-disciplinary team, learning from each other and setting our sights on solving complex challenges. If you believe in the power of decentralisation and want to change the world of finance, this is your chance.": "Cộng đồng tại Vega bắt đầu với đội ngũ toàn cầu của chúng tôi. Chúng tôi là một nhóm phát triển nhanh chóng, hợp tác và đa ngành, học hỏi lẫn nhau và đặt mục tiêu giải quyết những thách thức phức tạp. Nếu bạn tin vào sức mạnh của sự phân cấp và muốn thay đổi thế giới tài chính thì đây là cơ hội cho bạn.",
"Open Jobs": "Các vị trí đang mở",
"We don't currently have any open job roles.": "Hiện tại chúng tôi không có vị trí tuyển dụng nào còn trống."
"We don't currently have any open job roles.": "Hiện tại chúng tôi không có vị trí tuyển dụng nào còn trống.",
"Open Jobs": "Các vị trí đang mở"
}
Empty file added src/content/jobs/.gitkeep
Empty file.
57 changes: 0 additions & 57 deletions src/content/jobs/1-engineer-go-lang.md

This file was deleted.

53 changes: 0 additions & 53 deletions src/content/jobs/2-qa-developer.md

This file was deleted.

69 changes: 36 additions & 33 deletions src/pages/careers/index.js
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
import React, { useState } from "react";
import Layout from "../../components/Layout";
import Container from "../../components/Container";
import { graphql } from "gatsby";
import BoxTitle from "../../components/BoxTitle";
import Planets from "../../components/Svg/Planets";
import Seo from "../../components/Seo";
import TranslationsBanner from "../../components/TranslationsBanner";
import CareerItem from "../../components/CareerItem";
import LeadingLine from "../../components/LeadingLine";
import { Trans, useTranslation } from "gatsby-plugin-react-i18next";
import React, { useState } from 'react'
import Layout from '../../components/Layout'
import Container from '../../components/Container'
import { graphql } from 'gatsby'
import BoxTitle from '../../components/BoxTitle'
import Planets from '../../components/Svg/Planets'
import Seo from '../../components/Seo'
import TranslationsBanner from '../../components/TranslationsBanner'
import CareerItem from '../../components/CareerItem'
import LeadingLine from '../../components/LeadingLine'
import { Trans, useTranslation } from 'gatsby-plugin-react-i18next'

const CareersPage = ({ data }) => {
const { t, i18n } = useTranslation("page.careers");
const [missingTranslations, setMissingTranslations] = useState(false);
const { t, i18n } = useTranslation('page.careers')
const [missingTranslations, setMissingTranslations] = useState(false)

i18n.on("missingKey", (lng) => {
setMissingTranslations(true);
});
i18n.on('missingKey', (lng) => {
setMissingTranslations(true)
})

return (
<Layout>
<Seo
title={t("Careers at Vega")}
title={t('Careers at Vega')}
description={t(
"Find your career in DeFi. Join the core team at Vega, and help create Web3's native derivatives layer."
)}
/>
{missingTranslations && <TranslationsBanner />}
<div className="mb-16">
<Container dataCy={"main"}>
<div className="pt-6 lg:pt-16">
<Container dataCy={'main'}>
<div className="mb-space-10 pt-6 lg:pt-16">
<div className="grid grid-cols-12">
<div className="relative z-10 col-span-12 col-start-1 row-span-full">
<h1>
Expand All @@ -40,7 +40,7 @@ const CareersPage = ({ data }) => {
</div>

<div className="md:max-w-[60%] lg:max-w-[50%]">
<div className="copy-s text-white">
<div className="copy-s mb-space-6 text-white">
<Trans t={t}>
Join the core team and work on the Vega project.
</Trans>
Expand All @@ -55,6 +55,13 @@ const CareersPage = ({ data }) => {
this is your chance.
</Trans>
</p>
{data.allMarkdownRemark.edges.length === 0 ? (
<LeadingLine className="mt-space-6 text-white">
<Trans t={t}>
We don't currently have any open job roles.
</Trans>
</LeadingLine>
) : null}
</div>
</div>
<div className="relative col-span-6 col-start-7 row-span-full md:mt-0">
Expand All @@ -66,31 +73,27 @@ const CareersPage = ({ data }) => {
</div>

{data.allMarkdownRemark.edges.length > 0 ? (
<div className="grey-box mt-8 md:mt-20 p-8 dark:text-white dark:bg-vega-box-grey bg-vega-light-grey">
<h3 className="text-[2.125rem] leading-[0.85] lg:text-[3.375rem] mb-6 uppercase">
<Trans t={t}>Open Jobs</Trans>{" "}
<div className="grey-box mt-8 bg-vega-light-grey p-8 dark:bg-vega-box-grey dark:text-white md:mt-20">
<h3 className="mb-6 text-[2.125rem] uppercase leading-[0.85] lg:text-[3.375rem]">
<Trans t={t}>Open Jobs</Trans>{' '}
<span className="text-vega-mid-grey">
({data.allMarkdownRemark.edges.length})
</span>
</h3>
<ol className="border-t border-current">
{data.allMarkdownRemark.edges.map((edge, idx) => {
return <CareerItem key={idx} career={edge.node} />;
return <CareerItem key={idx} career={edge.node} />
})}
</ol>
</div>
) : (
<LeadingLine className="text-white">
<Trans t={t}>We don't currently have any open job roles.</Trans>
</LeadingLine>
)}
) : null}
</Container>
</div>
</Layout>
);
};
)
}

export default CareersPage;
export default CareersPage

export const query = graphql`
query ($language: String!) {
Expand Down Expand Up @@ -122,4 +125,4 @@ export const query = graphql`
}
}
}
`;
`

0 comments on commit 3c73dcd

Please sign in to comment.