Skip to content

Commit 05919ba

Browse files
committed
Semantic updates
1 parent 91a9772 commit 05919ba

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

packages/homepage/src/pages/_jobs.elements.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,24 @@ export const PageTitle = styled.h1`
44
font-weight: 600;
55
font-family: 'Poppins', sans-serif;
66
font-size: 36px;
7-
color: ${props => props.theme.lightText};
7+
color: ${props => props.theme.white};
88
`;
99

1010
export const PageSubtitle = styled.h2`
11+
font-family: 'Open Sans', sans-serif;
12+
font-weight: 600;
13+
font-size: 24px;
14+
line-height: 1.5;
15+
color: ${props => props.theme.white};
16+
`;
17+
18+
export const TitleDescription = styled.p`
1119
font-family: 'Open Sans', sans-serif;
1220
font-weight: 400;
1321
font-size: 18px;
1422
line-height: 1.5;
1523
color: ${props => props.theme.lightText};
16-
margin-bottom: 160px;
24+
margin-bottom: 120px;
1725
`;
1826

1927
export const Job = styled.li`

packages/homepage/src/pages/jobs.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import PageContainer from '../components/PageContainer';
77
import {
88
PageTitle,
99
PageSubtitle,
10+
TitleDescription,
1011
Job,
1112
Jobs,
1213
OtherJobs,
@@ -25,7 +26,7 @@ const Careers = ({ data: { allMarkdownRemark } }) => {
2526
title="Careers - CodeSandbox"
2627
/>
2728
<PageTitle>Join the team</PageTitle>
28-
<PageSubtitle>
29+
<TitleDescription>
2930
CodeSandbox is a company that aims to make it easy for everyone to
3031
create applications. We want to cut away the hassle of setting up the
3132
environment, installing the tooling and sharing your project with
@@ -49,8 +50,8 @@ const Careers = ({ data: { allMarkdownRemark } }) => {
4950
<br />
5051
<br />
5152
We’re looking forward to meeting you!
52-
</PageSubtitle>
53-
<PageTitle as="h2">Job Openings</PageTitle>
53+
</TitleDescription>
54+
<PageSubtitle>Job Openings</PageSubtitle>
5455
{jobs.map(({ node: job }) => (
5556
<Jobs key={job.id}>
5657
<Job>
@@ -61,13 +62,13 @@ const Careers = ({ data: { allMarkdownRemark } }) => {
6162
</Job>
6263
</Jobs>
6364
))}
64-
<PageSubtitle
65+
<TitleDescription
6566
css={`
6667
margin-bottom: 0;
6768
`}
6869
>
6970
Don't see a position that fits your skill set?
70-
</PageSubtitle>
71+
</TitleDescription>
7172
<OtherJobs>
7273
<p>
7374
We are always looking for talented, hard working people. Drop us a

0 commit comments

Comments
 (0)