Add helmet to pages
This commit is contained in:
@ -7,6 +7,7 @@ import { ContentPageHeader } from '../../components/content-page-header';
|
||||
import MdRenderer from '../../components/md-renderer';
|
||||
import { getAllGuides, getGuideById, GuideType } from '../../lib/guide';
|
||||
import siteConfig from '../../content/site.json';
|
||||
import Helmet from '../../components/helmet';
|
||||
|
||||
type GuideProps = {
|
||||
guide: GuideType;
|
||||
@ -19,6 +20,10 @@ export default function Guide(props: GuideProps) {
|
||||
return (
|
||||
<Box bg='white' minH='100vh'>
|
||||
<GlobalHeader />
|
||||
<Helmet
|
||||
title={guide.title}
|
||||
description={guide.description}
|
||||
/>
|
||||
<Box mb='60px'>
|
||||
<ContentPageHeader
|
||||
title={guide.title}
|
||||
|
@ -8,6 +8,7 @@ import { Footer } from '../../components/footer';
|
||||
import { GuideGridItem } from './components/guide-grid-item';
|
||||
import { PageHeader } from '../../components/page-header';
|
||||
import { getAllGuides, GuideType } from '../../lib/guide';
|
||||
import Helmet from '../../components/helmet';
|
||||
|
||||
type GuidesProps = {
|
||||
guides: GuideType[]
|
||||
@ -22,6 +23,10 @@ export default function Guides(props: GuidesProps) {
|
||||
return (
|
||||
<Box bg='white' minH='100vh'>
|
||||
<GlobalHeader />
|
||||
<Helmet
|
||||
title={'Visual Guides'}
|
||||
description={'Succinct graphical explanations to engineering topics.'}
|
||||
/>
|
||||
<Box mb='60px'>
|
||||
<PageHeader
|
||||
title={'Visual Guides'}
|
||||
|
Reference in New Issue
Block a user