mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-31 13:01:43 +02:00
Fix missing title and description on video page
This commit is contained in:
@@ -6,6 +6,7 @@ import { Footer } from '../../components/footer';
|
|||||||
import { ContentPageHeader } from '../../components/content-page-header';
|
import { ContentPageHeader } from '../../components/content-page-header';
|
||||||
import MdRenderer from '../../components/md-renderer';
|
import MdRenderer from '../../components/md-renderer';
|
||||||
import { getAllVideos, getVideoById, VideoType } from '../../lib/video';
|
import { getAllVideos, getVideoById, VideoType } from '../../lib/video';
|
||||||
|
import Helmet from '../../components/helmet';
|
||||||
|
|
||||||
type VideoProps = {
|
type VideoProps = {
|
||||||
video: VideoType;
|
video: VideoType;
|
||||||
@@ -18,6 +19,7 @@ export default function Video(props: VideoProps) {
|
|||||||
return (
|
return (
|
||||||
<Box bg='white' minH='100vh'>
|
<Box bg='white' minH='100vh'>
|
||||||
<GlobalHeader />
|
<GlobalHeader />
|
||||||
|
<Helmet title={video.title} description={video.description} />
|
||||||
<Box mb='60px'>
|
<Box mb='60px'>
|
||||||
<ContentPageHeader
|
<ContentPageHeader
|
||||||
title={video.title}
|
title={video.title}
|
||||||
|
Reference in New Issue
Block a user