From 8281c13a7b62dfefb33e65708d2f5925f27bd065 Mon Sep 17 00:00:00 2001 From: Ajay_S Date: Mon, 25 Apr 2022 20:26:27 +0530 Subject: [PATCH] completed assignment UI --- src/App.tsx | 13 +++- .../FinalInterview/FInalInterview.module.scss | 0 src/pages/FinalInterview/FinalInterview.tsx | 14 ++++ .../AssignmentCompleted.module.scss | 72 +++++++++++++++++++ src/pages/assignment/AssignmentCompleted.tsx | 41 +++++++++++ src/pages/assignment/AssignmentDetails.tsx | 2 +- src/pages/assignment/ReviewAssignment.tsx | 31 +++++++- src/pages/assignment/SubmitAssignment.tsx | 2 +- 8 files changed, 170 insertions(+), 5 deletions(-) create mode 100644 src/pages/FinalInterview/FInalInterview.module.scss create mode 100644 src/pages/FinalInterview/FinalInterview.tsx create mode 100644 src/pages/assignment/AssignmentCompleted.module.scss create mode 100644 src/pages/assignment/AssignmentCompleted.tsx diff --git a/src/App.tsx b/src/App.tsx index ff45701..a4ab31a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -29,6 +29,9 @@ import TimeSlot from './components/timeSlot/TimeSlot'; import Assignment from './pages/assignment/Assignment'; import AssignmentDetails from './pages/assignment/AssignmentDetails'; import SubmitAssignment from './pages/assignment/SubmitAssignment'; +import ReviewAssignment from './pages/assignment/ReviewAssignment'; +import AssignmentCompleted from './pages/assignment/AssignmentCompleted'; +import FinalInterview from './pages/FinalInterview/FinalInterview'; @@ -65,7 +68,15 @@ const App: React.FC = () => ( - + + + + + + + + + diff --git a/src/pages/FinalInterview/FInalInterview.module.scss b/src/pages/FinalInterview/FInalInterview.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/FinalInterview/FinalInterview.tsx b/src/pages/FinalInterview/FinalInterview.tsx new file mode 100644 index 0000000..fed4c73 --- /dev/null +++ b/src/pages/FinalInterview/FinalInterview.tsx @@ -0,0 +1,14 @@ +import { IonPage } from "@ionic/react"; +import StepHeader from "../../components/stepsHeader/StepHeader"; + +const FinalInterview: React.FC = () => { + return ( + + + + + + ) +} + +export default FinalInterview; \ No newline at end of file diff --git a/src/pages/assignment/AssignmentCompleted.module.scss b/src/pages/assignment/AssignmentCompleted.module.scss new file mode 100644 index 0000000..38df3eb --- /dev/null +++ b/src/pages/assignment/AssignmentCompleted.module.scss @@ -0,0 +1,72 @@ +.assignmentCompleted { + + .description { + .icon { + margin-top: 4rem; + display: flex; + justify-content: center; + ion-icon { + width: 10rem; + height: 10rem; + } + } + + .stepDescription { + h4 { + color: #363636; + text-align: center; + font-size: 2.4rem; + font-weight: 300; + letter-spacing: 0.024rem; + margin-top: 3rem; + } + p { + color: #868686; + font-size: 1.4rem; + text-align: center; + width: 90%; + margin: 0 auto; + margin-top: 2rem; + line-height: 1.8; + } + } + } + + .buttonHolder { + display: flex; + justify-content: space-around; + align-items: center; + + a{ + text-decoration: none; + + } + + ion-button { + width: 18rem; + height: 5rem; + } + + .dashboard { + ion-button { + margin-top: 35vh; + margin-bottom: 0; + --background: transparent; + --border-width: 0.1rem; + --border-color: var(--primary-button-color); + --border-style: solid; + --color: var(--primary-button-color); + } + } + + .nextStep { + ion-button { + margin-top: 35vh; + margin-bottom: 0; + --background: var(--primary-button-color); + } + } + + + } +} \ No newline at end of file diff --git a/src/pages/assignment/AssignmentCompleted.tsx b/src/pages/assignment/AssignmentCompleted.tsx new file mode 100644 index 0000000..b383c0d --- /dev/null +++ b/src/pages/assignment/AssignmentCompleted.tsx @@ -0,0 +1,41 @@ +import { IonButton, IonContent, IonIcon, IonPage } from "@ionic/react"; +import { Link } from "react-router-dom"; +import StepHeader from "../../components/stepsHeader/StepHeader"; +import styles from "./AssignmentCompleted.module.scss"; +import assignmentImage from "../../assets/icons/Assignment.svg"; + +const AssignmentCompleted: React.FC = () => { + return ( + + + + +
+
+ +
+ +
+

We have seen your Assignment

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. +

+
+
+ +
+ + Goto Dashboard + + + Goto Next Step + +
+
+
+ ) +} + +export default AssignmentCompleted; \ No newline at end of file diff --git a/src/pages/assignment/AssignmentDetails.tsx b/src/pages/assignment/AssignmentDetails.tsx index 0afb3ad..c3975f7 100644 --- a/src/pages/assignment/AssignmentDetails.tsx +++ b/src/pages/assignment/AssignmentDetails.tsx @@ -35,7 +35,7 @@ const AssignmentDetails: React.FC = () => { - + Accept
All the best!
diff --git a/src/pages/assignment/ReviewAssignment.tsx b/src/pages/assignment/ReviewAssignment.tsx index 3deebcd..ffbd941 100644 --- a/src/pages/assignment/ReviewAssignment.tsx +++ b/src/pages/assignment/ReviewAssignment.tsx @@ -1,8 +1,35 @@ +import styles from "./Assignment.module.scss"; +import { IonButton, IonContent, IonIcon, IonPage } from "@ionic/react"; +import StepHeader from "../../components/stepsHeader/StepHeader"; +import assignmentImage from "../../assets/icons/Assignment.svg"; +import { Link } from "react-router-dom"; + + const ReviewAssignment: React.FC = () => { return ( -
+ + + + +
+
+ +
+ +
+

You are one step ahead to the final round

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. +

+
+
-
+ + Okay + + + ); } diff --git a/src/pages/assignment/SubmitAssignment.tsx b/src/pages/assignment/SubmitAssignment.tsx index bc7661f..4235751 100644 --- a/src/pages/assignment/SubmitAssignment.tsx +++ b/src/pages/assignment/SubmitAssignment.tsx @@ -33,7 +33,7 @@ const SubmitAssignment: React.FC = () => {
- Submit