site/pages/jobs/index.js
Abby Fischler dba602bd5b Added Philanthropy Communications Lead job description (#402)
* Added Philanthropy Communications Lead job description

Philanthropy Communications Lead Job description added. Also added the job to the main jobs page and removed the Vice President, Donor Engagement. @christinaasquith

* Capitalized the C L

* Changed colors to blue + green

As per @sampoder's suggestion I changed the colors to make them more vibrant to match the previous post. Please wait to merge until @christinaasquith gives the final go ahead!
2022-04-04 07:46:04 -07:00

190 lines
4.8 KiB
JavaScript

import React from 'react'
import styled from '@emotion/styled'
import { Box, Container, Heading, Card, Text, Grid } from 'theme-ui'
import Head from 'next/head'
import Meta from '@hackclub/meta'
import ForceTheme from '/components/force-theme'
import Nav from '../../components/nav'
import Footer from '../../components/footer'
import theme from '../../lib/theme'
import Link from 'next/link'
import Image from 'next/image'
import zephyrPic from '../../public/jobs/zephyr-group-pic.jpg'
const Sheet = styled(Card)`
position: relative;
overflow: hidden;
border-radius: 8px;
width: 100%;
color: white;
`
Sheet.defaultProps = {
sx: {
bg: 'rgba(255, 255, 255, 0.875)',
p: [3, 4],
color: 'black',
width: 1
}
}
//making a function / component BOXWIDTH BUTTON
const JobListing = ({
positionName = 'unnamed',
positionDesc = 'this is lorem ipsum',
positionLink = 'testlink(hackclub.com)',
color,
color1
}) => (
<Link href={positionLink} passHref>
<Sheet
bg="primary"
color="white"
align="center"
as="a"
sx={{
boxShadow:
'0 4px 8px rgba(0, 0, 0, 0.0625), 0 16px 32px rgba(0, 0, 0, 0.125) !important;',
backgroundImage: `radial-gradient( ellipse farthest-corner at bottom right, ${color}, ${color1})`,
position: 'relative',
width: '100%',
color: 'white',
textDecoration: 'none'
}}
variant="interactive"
>
<Heading
mb={1}
sx={{
fontSize: '42px',
color: 'white'
}}
>
{positionName}
</Heading>
<Text
color="snow"
sx={{
fontSize: ['22px'],
my: 2,
display: 'block',
textAlign: 'left'
}}
>
{positionDesc}
</Text>
</Sheet>
</Link>
)
const Page = () => (
<>
<Meta
as={Head}
title="Jobs"
description="Hack Club is hiring! Check out the open positions."
/>
<ForceTheme theme="light" />
<Nav />
<Box
as="main"
key="main"
sx={{
color: 'black'
}}
>
<Box
sx={{
py: [5, 6],
background:
'linear-gradient(90deg, rgba(2,0,36,0.53) 0%, rgba(2,0,36,0.46) 100%)',
backgroundSize: 'cover',
backgroundPosition: 'center',
textAlign: 'center',
position: 'relative'
}}
>
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,
zIndex: -1
}}
>
<Image
src={zephyrPic}
alt="Hack Clubbers hacking during the Hacker Zephyr trip"
layout="fill"
objectFit="cover"
/>
</Box>
<Container>
<Heading
as="h1"
sx={{
fontSize: ['48px', '48px', '72px'],
color: 'white'
}}
>
Join the Hack Club Team
</Heading>
<Heading
sx={{
color: 'smoke',
mt: 3,
fontSize: ['18px', '24px'],
lineHeight: ['1.5', '1.125']
}}
>
<Text
sx={{
bg: 'dark',
color: 'green',
width: 'fit-content',
px: 3,
py: [1, 2],
borderRadius: 6,
mr: 1
}}
>
$ ssh jobs.hackclub.com
</Text>{' '}
or scroll down to learn more...
</Heading>
</Container>
</Box>
<Container sx={{ py: [3, 4], px: [2, 2, 0] }}>
<Grid
sx={{
maxWidth: '64rem',
mx: 'auto'
}}
align="left"
columns={['1fr', '1fr 1fr']}
>
<JobListing
positionName="Lead Hacker"
positionDesc="Hack Club Bank is our in-house financial software used by 1,500 Hack Clubbers to financially power their Hack Clubs, hackathons, and student-organized nonprofits."
positionLink="/jobs/lead-hacker/"
color={theme.util.cx('red')}
color1={theme.util.cx('purple')}
/>
<JobListing
positionName="Philanthropy Communications Lead"
positionDesc="As our new philanthropy hire (a new position), you'll shape and advance our philanthropy strategy, and lead on executing it alongside Hack Club's COO, its board, and a team of designers, video, and social media contractors."
positionLink="/jobs/philanthropy-communications-lead/"
color={theme.util.cx('blue')}
color1={theme.util.cx('green')}
/>
</Grid>
</Container>
</Box>
<Footer key="footer" />
</>
)
export default Page