From 67c9938c9b101e5796b1620bc2e4f8b70456ffdc Mon Sep 17 00:00:00 2001 From: Ajay_S Date: Thu, 21 Apr 2022 19:33:17 +0530 Subject: [PATCH] added diagonal background to PreliminaryRound Page footer --- .../PreliminaryRound.module.scss | 17 ++++++- .../preliminaryRound/PreliminaryRound.tsx | 50 +++++++++---------- 2 files changed, 40 insertions(+), 27 deletions(-) diff --git a/src/pages/preliminaryRound/PreliminaryRound.module.scss b/src/pages/preliminaryRound/PreliminaryRound.module.scss index bc1a6f8..f266cd5 100644 --- a/src/pages/preliminaryRound/PreliminaryRound.module.scss +++ b/src/pages/preliminaryRound/PreliminaryRound.module.scss @@ -4,7 +4,7 @@ align-items: center; text-align: center; justify-content: space-around; - height: 44vh; + height: 44.5vh; width: 90%; margin: 0 auto; ion-icon { @@ -36,6 +36,21 @@ background-image: url("../../assets/icons/desktop-particles-2.svg"); background-repeat: no-repeat; background-position: 25% 30%; + border-top-right-radius: 75%; + + + &::before { + position: absolute; + content:" "; + top: 50%; + right: 0; + left: 0; + bottom: 0; + background-color: #151515; + height: 30vh; + transform: skewY(5deg); + z-index: -1; + } .heading { color: #BCBCBC; diff --git a/src/pages/preliminaryRound/PreliminaryRound.tsx b/src/pages/preliminaryRound/PreliminaryRound.tsx index afb0b59..7e3a984 100644 --- a/src/pages/preliminaryRound/PreliminaryRound.tsx +++ b/src/pages/preliminaryRound/PreliminaryRound.tsx @@ -12,37 +12,35 @@ const PreliminaryRound: React.FC = () => { -
-
+
- -

Let us check your knowledge.

-

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

-
-
+ +

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 questions
-
-
- -
20 mins + 10 mins grace
-
-
- -
Note: 85% of results minimum
-
+

Quiz

+
+
+ +
20 questions
+
+
+ +
20 mins + 10 mins grace
+
+ +
Note: 85% of results minimum
+
+
- Done! + Done! -
All the best!
-
+
All the best!