mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
Restructure layouts
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user