Skip to content

Commit edde5ff

Browse files
SaraVieiraCompuIves
authored andcommitted
Add correct meta tags to blog posts (codesandbox#1858)
* add job page * add more things * make it 400 * fix mobile * add blog post * Updates * add correct metadata * Fix typo on front-end spec (codesandbox#1864)
1 parent 810b3d9 commit edde5ff

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

packages/homepage/content/jobs/frontend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "At CodeSandbox we work on a wide variety of tools that is used by
55
link: "https://airtable.com/shrYgsLKkdfchPlmZ"
66
---
77

8-
At CodeSandbox we work on a wide variety of tools that is used by frontend engineers. We are a small team with a big impact in the development tooling space. We're lso using a modern frontend technology stack (React, TypeScript, even vanilla JS!) that is [open source](https://github.com/codesandbox)!
8+
At CodeSandbox we work on a wide variety of tools that is used by frontend engineers. We are a small team with a big impact in the development tooling space. We're also using a modern frontend technology stack (React, TypeScript, even vanilla JS!) that is [open source](https://github.com/codesandbox)!
99

1010
## Role
1111

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const OtherJobs = styled.div`
5151
justify-content: space-between;
5252
align-items: center;
5353
padding-bottom: 3rem;
54+
5455
align-items: flex-start;
5556
5657
@media screen and (max-width: 500px) {

packages/homepage/src/templates/post.js

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,23 @@ import {
1717
import { makePost } from '../utils/makePosts';
1818

1919
export default ({ data: { feedMediumBlog, markdownRemark } }) => {
20-
const { creator, title, content, date, photo, featuredImage } = makePost(
21-
markdownRemark,
22-
feedMediumBlog
23-
);
20+
const {
21+
creator,
22+
title,
23+
content,
24+
date,
25+
photo,
26+
featuredImage,
27+
description,
28+
} = makePost(markdownRemark, feedMediumBlog);
2429
return (
2530
<Layout>
2631
<Container style={{ overflowX: 'auto' }}>
27-
<TitleAndMetaTags title={`${title} - CodeSandbox Blog`} />
32+
<TitleAndMetaTags
33+
title={`${title} - CodeSandbox Blog`}
34+
image={featuredImage}
35+
description={description}
36+
/>
2837
<PageContainer width={800}>
2938
<Title>{title}</Title>
3039
<aside

0 commit comments

Comments
 (0)