+
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
+
{props.buttonText}
diff --git a/src/pages/interviewRounds/Steps.tsx b/src/pages/interviewRounds/Steps.tsx
index 7a95e51..dd03b0c 100644
--- a/src/pages/interviewRounds/Steps.tsx
+++ b/src/pages/interviewRounds/Steps.tsx
@@ -1,7 +1,7 @@
import styles from './Steps.module.scss';
import { lockOpen, lockClosed } from 'ionicons/icons';
import { IonIcon, IonItem } from '@ionic/react';
-import StepsDescription from './StepsDescreption';
+import StepDescription from './StepDescreption';
interface Props {
stepNumber: number;
@@ -11,13 +11,15 @@ interface Props {
buttonText: string;
descriptionImage: string;
setDescription: (stepNumber: number) => void;
+ // rename to select step
}
const Steps: React.FC
= (props) => {
return (
props.setDescription(props.stepNumber)}>
- {props.showDescription ? {
+ return (
+
+
+
+
+
+
+
+
Let us check your knowledge.
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
Quiz
+
+
+
+
+
20 mins + 10 mins grace
+
+
+
+
Note: 85% of results minimum
+
+
+
+
Done!
+
+
All the best!
+
+
+
+
+ )
+}
+
+export default PreliminaryRound;
\ No newline at end of file
diff --git a/src/pages/skillInformationStep/SkillInformationStep.module.scss b/src/pages/skillInformationStep/SkillInformationStep.module.scss
index 4fe6765..a10537e 100644
--- a/src/pages/skillInformationStep/SkillInformationStep.module.scss
+++ b/src/pages/skillInformationStep/SkillInformationStep.module.scss
@@ -36,8 +36,6 @@ ion-content {
margin: 0 auto;
}
}
-
- .button{
a {
text-decoration: none;
}
@@ -45,6 +43,5 @@ ion-content {
margin: 5rem 2rem;
--background: var(--primary-button-color);
}
- }
}
\ No newline at end of file
diff --git a/src/pages/skillInformationStep/SkillInformationStep.tsx b/src/pages/skillInformationStep/SkillInformationStep.tsx
index 36184a5..b844f57 100644
--- a/src/pages/skillInformationStep/SkillInformationStep.tsx
+++ b/src/pages/skillInformationStep/SkillInformationStep.tsx
@@ -1,6 +1,6 @@
import styles from './SkillInformationStep.module.scss';
import { IonButton, IonContent, IonPage } from "@ionic/react";
-import StepsHeader from "../../components/stepsHeader/StepsHeader";
+import StepHeader from "../../components/stepsHeader/StepHeader";
import SkillsCard from './SkillsCard';
import reactIcon from '../../assets/images/React.png';
@@ -16,43 +16,28 @@ import MongoDBIcon from '../../assets/images/Mongo.png';
import postgreSqlIcon from '../../assets/images/PostgreSQL.png';
import FirebaseIcon from '../../assets/images/Firebase.png';
import DevOpsIcon from '../../assets/images/DevOps.png';
-import { useEffect, useState } from 'react';
+import { useState } from 'react';
import { Link } from 'react-router-dom';
-const skills: string[] = [];
const SkillInformationStep: React.FC = () => {
- const [ischanging, setChange] = useState(0);
-
- useEffect(() => {
-
- }, [skills]);
-
- const isSelected = (skill: string) => {
- setChange(Math.random());
+ const [skills, setSkills] = useState([]);
+ const toggleSkill = (skill: string) => {
+ let newSkills: string[] = [];
if (skills.includes(skill)) {
-
- const index = skills.indexOf(skill);
- if (index > -1) {
- skills.splice(index, 1);
- }
-
- return;
+ newSkills = skills.filter(oldSkill => oldSkill !== skill);
+ } else {
+ newSkills = skills.concat([skill]);
}
- skills.push(skill);
-
+ setSkills(newSkills);
}
- useEffect(() => {
- console.log("Render");
- }, [ischanging]);
-
-
return (
-
@@ -70,11 +55,11 @@ const SkillInformationStep: React.FC = () => {
Front-end:
-
-
-
-
-
+
+
+
+
+
@@ -84,9 +69,9 @@ const SkillInformationStep: React.FC = () => {