diff --git a/frontend/src/components/Home.tsx b/frontend/src/components/Home.tsx index 6423f5ce..0213ea92 100644 --- a/frontend/src/components/Home.tsx +++ b/frontend/src/components/Home.tsx @@ -1,6 +1,7 @@ -import { useEffect } from "react"; +import React, { useEffect } from "react"; import { Box } from "@mui/material"; import ButtonModal from "./MatchingService/MatchButton"; +import QuestionsTable from "./Questions/QuestionsTable"; export default function Home() { // Sample data for practice questions (you can replace this with actual data) @@ -23,21 +24,21 @@ export default function Home() { }, []); return ( - -
-

Welcome to the Technical Interview Preparation Portal

+ +
-

Practice Questions

-
    - {practiceQuestions.map((question) => ( -
  • - {question.difficulty}: {question.count} questions -
  • - ))} -
- +

Welcome to the Technical Interview Preparation Portal

+
+

Match with someone

+ Match with a partner to collaborate and solve a problem together +

+ +

Practice on your own

+ Click on any question below to start your personal practice session +
-
-
+ + + ); } diff --git a/frontend/src/pages/App.tsx b/frontend/src/pages/App.tsx index c12a57a0..6e25ec28 100644 --- a/frontend/src/pages/App.tsx +++ b/frontend/src/pages/App.tsx @@ -12,7 +12,6 @@ export default function App() { - );