17 lines
612 B
JavaScript
17 lines
612 B
JavaScript
const defaultPageMetaData = {
|
|
title: 'Pulmonary Rehabilitation',
|
|
description: 'Pulmonary Rehabilitation Program — patients, sessions, and PRT access.',
|
|
keywords: 'Pulmonary Rehabilitation, VirtualPR, patients'
|
|
};
|
|
const PageMetaData = ({
|
|
title,
|
|
description = defaultPageMetaData.description,
|
|
keywords = defaultPageMetaData.keywords
|
|
}) => {
|
|
return <>
|
|
<title>{title ? `${title} | ${defaultPageMetaData.title}` : defaultPageMetaData.title}</title>
|
|
<meta name="description" content={description} />
|
|
<meta name="keywords" content={keywords} />
|
|
</>;
|
|
};
|
|
export default PageMetaData; |