diff --git a/components/page-header.tsx b/components/page-header.tsx index cb5cd5396..97a1125bf 100644 --- a/components/page-header.tsx +++ b/components/page-header.tsx @@ -1,18 +1,21 @@ -import { Box, Container, Heading, Text } from '@chakra-ui/react'; +import { Badge, Box, Container, Heading, Link, Text } from '@chakra-ui/react'; import React from 'react'; +import siteConfig from '../content/site.json'; type PageHeaderProps = { title: string; subtitle: string; children?: React.ReactNode; + beforeTitle?: React.ReactNode; }; export function PageHeader(props: PageHeaderProps) { - const { title, subtitle, children } = props; + const { title, subtitle, children, beforeTitle = null } = props; return ( + {beforeTitle} event({ + category: 'Subscription', + action: 'Clicked the YouTube banner', + label: 'YouTube Alert on Roadmap' + })}> + New + Roadmap topics to be covered on our YouTube + Channel + Topic videos being made on YouTube + » + + ); +} + export default function Roadmap(props: RoadmapProps) { const { roadmap } = props; @@ -60,6 +88,7 @@ export default function Roadmap(props: RoadmapProps) { /> } title={roadmap.title} subtitle={roadmap.description} >