feat: update open graph and twitter meta
This commit is contained in:
committed by
mrugesh
parent
f9277b4fec
commit
c21af106bb
@ -1,16 +1,32 @@
|
||||
import React from 'react';
|
||||
|
||||
const meta = [
|
||||
<meta content='summary_large_image' key='twitter:card' name='twitter:card' />,
|
||||
<meta content='freeCodeCamp.org' name='og:title' />,
|
||||
<meta
|
||||
content='https://s3.amazonaws.com/freecodecamp/curriculum-diagram-full.jpg'
|
||||
key='https://s3.amazonaws.com/freecodecamp/curriculum-diagram-full.jpg'
|
||||
name='twitter:image:src'
|
||||
content={
|
||||
'Learn to code. Build projects. Earn certifications.' +
|
||||
'Since 2015, 40,000 graduates have gotten jobs at tech ' +
|
||||
'companies including Google, Apple, Amazon, and Microsoft.'
|
||||
}
|
||||
name='og:description'
|
||||
/>,
|
||||
<meta
|
||||
content='https://s3.amazonaws.com/freecodecamp/curriculum-diagram-full.jpg'
|
||||
key='https://s3.amazonaws.com/freecodecamp/curriculum-diagram-full.jpg'
|
||||
content='https://cdn.freecodecamp.org/platform/universal/fcc-og-1200-social-green.png'
|
||||
property='og:image'
|
||||
/>,
|
||||
<meta content='summary_large_image' key='twitter:card' name='twitter:card' />,
|
||||
<meta
|
||||
content='https://cdn.freecodecamp.org/platform/universal/fcc-twitter-1120X600-social-green.png'
|
||||
name='twitter:image:src'
|
||||
/>,
|
||||
<meta content='freeCodeCamp.org' name='twitter:title' />,
|
||||
<meta
|
||||
content={
|
||||
'Learn to code. Build projects. Earn certifications.' +
|
||||
'Since 2015, 40,000 graduates have gotten jobs at tech ' +
|
||||
'companies including Google, Apple, Amazon, and Microsoft.'
|
||||
}
|
||||
name='twitter:description'
|
||||
/>
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user