diff --git a/src/pages/mentorship/index.tsx b/src/pages/mentorship/index.tsx
index 910cbff..b6eeefa 100644
--- a/src/pages/mentorship/index.tsx
+++ b/src/pages/mentorship/index.tsx
@@ -11,14 +11,13 @@ import {
Title,
} from '@components';
import { useIsMobile } from '@utils/theme-utils';
-import { MentorshipProgrammeData, FeedbackItem } from '@utils/types';
+import { FooterResponse, MentorshipProgrammeData, FeedbackItem } from '@utils/types';
import { fetchData } from 'lib/api';
-import footerData from 'lib/responses/footer.json';
-import pageData from 'lib/responses/mentorship.json';
import theme from 'theme';
interface MentorshipPageProps {
mentorship: MentorshipProgrammeData;
+ footer: FooterResponse;
error: string | null;
}
@@ -26,14 +25,12 @@ interface FeedbackSectionProps {
title: string;
feedbacks: FeedbackItem[];
}
-const MentorshipPage = ({ mentorship }: MentorshipPageProps) => {
- const heroTitle = pageData.heroSection.title;
- const heroDescription = pageData.section.description;
+const MentorshipPage = ({ mentorship, footer }: MentorshipPageProps) => {
const isMobile = useIsMobile();
return (
<>
{isMobile ? null :