+
+ );
+};
+export default HrRound;
diff --git a/frontend/src/components/HrRound/HrRoundData.ts b/frontend/src/components/HrRound/HrRoundData.ts
new file mode 100644
index 0000000..a5927ae
--- /dev/null
+++ b/frontend/src/components/HrRound/HrRoundData.ts
@@ -0,0 +1,49 @@
+export const data = [
+ {
+ id: 'iwoefiwbe',
+ question: 'Tell me about yourself.',
+ basic:
+ 'This is the universal question asked at the very first of any interview. It sounds easy, right? But this is the most important question where the candidates fail to create an impression with the interviewer as most of the time they are not aware of what exactly needs to be said.',
+ tips: [
+ 'Do not ask the interviewer what he wants to know about you. You may be asking genuinely, but that just sounds rude.',
+ 'Do not speak what is already there in the resume. The interviewer wants to know what they have not seen on the resume. And do not speak about anything personal.',
+ 'Introduce yourself by including certain adjectives like problem-solving, innovation and tech-savvy, creative, quick learner, etc. that best describe you in your professional life to boost your chances.',
+ 'You can also tell why you want the position and how the job is going to be perfect for you.',
+ 'Focus only on your strengths that are relatable to the work.',
+ ],
+ sample:
+ 'I am an energetic person, an effective communicator, and a quick learner. I was also one of the top students in my batch while I was pursuing a B.E degree in the XYZ domain. I worked on various projects related to the software domain which provided me a great deal of technical exposure along with the importance of working in a team and the value of client satisfaction. I have worked on developing various enterprise-level web applications for helping companies solve problems like ensuring business continuity, market research analysis, etc. So, I believe I am a good fit for technology-centric roles in your company.',
+ },
+ {
+ id: 'oiwnfwevn',
+ question: 'Why do you want to work for our company?',
+ },
+ {
+ id: 'woeiviowve',
+ question: 'What are your greatest strengths and weaknesses?',
+ },
+ {
+ id: 'wevwve',
+ question: 'Why are you looking for a change?',
+ },
+ {
+ id: 'wevnowven',
+ question: 'Tell me about the gap in your resume',
+ },
+ {
+ id: 'woeivowvbe',
+ question: 'How would you rate yourself on a scale of 1 to 10?',
+ },
+ {
+ id: 'envoewnv',
+ question: 'What is your biggest achievement so far?',
+ },
+ {
+ id: 'weivnwvne',
+ question: 'Where do you see yourself in 5 years?',
+ },
+ {
+ id: '2i3hhhwih',
+ question: 'Why should we hire you?',
+ },
+];
diff --git a/frontend/src/components/Login/Login.tsx b/frontend/src/components/Login/Login.tsx
index 917a442..4256be0 100644
--- a/frontend/src/components/Login/Login.tsx
+++ b/frontend/src/components/Login/Login.tsx
@@ -51,6 +51,7 @@ const Login = (props: PaperProps, propsButton: ButtonProps) => {
const submitHandler = () => {
console.log(form.values);
+ navigate('/hr');
login();
};
diff --git a/frontend/src/components/Main/Main.tsx b/frontend/src/components/Main/Main.tsx
index 660a182..448b7e0 100644
--- a/frontend/src/components/Main/Main.tsx
+++ b/frontend/src/components/Main/Main.tsx
@@ -4,7 +4,9 @@ import { Navigate, Route, Routes } from 'react-router-dom';
// import Assignments from '../Assignments/Assignments';
// import Attandence from '../Attandence/Attandence';
import HomeNavbar from '../HomeNavbar/HomeNavbar';
+import HrRound from '../HrRound/HrRound';
import Login from '../Login/Login';
+import QuestionContent from '../QuestionContent/QuestionContent';
import Register from '../Register/Register';
// import MainHeader from '../MainHeader/MainHeader';
// import NoticeBoard from '../NoticeBoard/NoticeBoard';
@@ -23,14 +25,8 @@ const Home = () => {
{/* Your application here */}
{/* } /> */}
-
- HR Round Questions
-
- }
- />
+ } />
+ } />
} />
} />
} />
diff --git a/frontend/src/components/QuestionContent/QuestionContent.tsx b/frontend/src/components/QuestionContent/QuestionContent.tsx
new file mode 100644
index 0000000..85f8aad
--- /dev/null
+++ b/frontend/src/components/QuestionContent/QuestionContent.tsx
@@ -0,0 +1,135 @@
+import {
+ Badge,
+ Blockquote,
+ Box,
+ Card,
+ Code,
+ createStyles,
+ Divider,
+ Group,
+ List,
+ Text,
+ Title,
+ useMantineTheme,
+} from '@mantine/core';
+import { IconBallpen, IconFlame, IconHeart, IconMessage, IconSchool, IconShare } from '@tabler/icons';
+import { useState } from 'react';
+import { useParams } from 'react-router-dom';
+import Comments from '../Comments/Comments';
+import { data } from '../HrRound/HrRoundData';
+const useStyles = createStyles((theme) => ({
+ main: {
+ width: 700,
+ margin: 'auto',
+ textAlign: 'left',
+ // color: 'dimmed',
+ },
+ basicInfo: {
+ // display: 'flex',
+ // flexDirection: 'column',
+ // justifyContent: 'left',
+ },
+ social: {
+ cursor: 'pointer',
+ },
+ liked: {
+ // backgroundColor: 'red',
+ },
+}));
+
+const QuestionContent = () => {
+ const { classes, cx } = useStyles();
+ const { queId } = useParams();
+ const theme = useMantineTheme();
+ const [isLiked, setIsLiked] = useState(false);
+ const [isComments, setIsComments] = useState(false);
+ console.log(queId);
+ let info = data.filter((item) => item.id === queId);
+ const queData = info[0];
+ console.log(info);
+
+ const socialSection = (
+
+
+
+ {
+ setIsLiked(!isLiked);
+ }}
+ />
+ 4k
+
+
+ {
+ setIsComments(!isComments);
+ }}
+ />
+ 30
+
+
+
+
+
+
+ );
+ return (
+
+
+
+ {queData.question}
+
+ {queData.basic && (
+
+
+ }>Basic Info
+
+
+ {queData.basic}
+
+
+ )}
+ {queData.tips && (
+
+
+ }>
+ Pro Tips
+
+
+
+ {queData.tips.map((tip, index) => (
+
+ {tip}
+
+ ))}
+
+
+ )}
+ {queData.sample && (
+
+
+ }>
+ Quick Response
+
+ {' '}
+