import React, { createContext, useContext } from 'react'; import Footer from '../../components/Footer/Footer'; import Banner from '../../components/Banner'; import NavBar from '../../components/Navigation/NavBar'; import LearnerAccess from '../../components/LearnerAccess/LearnerAccess'; import FeaturedContentComp from '../../components/FeaturedContent/FeaturedContentComp'; import { HydratedContentItem } from '@thoughtindustries/content'; import { usePageContext } from '../../renderer/usePageContext'; export { Page }; export { documentProps }; const documentProps = { title: 'Dashboard Page', description: 'The dashboard page' }; function Page() { const pageContext = usePageContext(); // Key for forcing component remount if needed const key = pageContext.urlPathname || 'dashboard'; return ( <>