computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
602 B
17 lines
602 B
5 years ago
|
import NextHead from 'next/head';
|
||
|
|
||
|
const defaultDescription = 'Roadmaps, articles and resources for modern developers';
|
||
|
const defaultOgUrl = 'https://roadmap.sh';
|
||
|
|
||
|
const Head = (props) => (
|
||
|
<NextHead>
|
||
|
<meta charSet='UTF-8' />
|
||
|
<title>{ props.title || '' }</title>
|
||
|
<meta name='description' content={ props.description || defaultDescription } />
|
||
|
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
||
|
<meta property='og:url' content={ props.url || defaultOgUrl } />
|
||
|
<meta property='og:title' content={ props.title || '' } />
|
||
|
</NextHead>
|
||
|
);
|
||
|
|
||
|
export default Head;
|