diff --git a/funwithphysics/public/Images-public/svgs/Rocket.svg b/funwithphysics/public/Images-public/svgs/Rocket.svg new file mode 100644 index 000000000..dd222a76b --- /dev/null +++ b/funwithphysics/public/Images-public/svgs/Rocket.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/funwithphysics/public/Images-public/svgs/cloud.png b/funwithphysics/public/Images-public/svgs/cloud.png new file mode 100644 index 000000000..7f4beb3c3 Binary files /dev/null and b/funwithphysics/public/Images-public/svgs/cloud.png differ diff --git a/funwithphysics/src/Components/Home/Home.css b/funwithphysics/src/Components/Home/Home.css index 80cb6c0ba..d9fa5237f 100644 --- a/funwithphysics/src/Components/Home/Home.css +++ b/funwithphysics/src/Components/Home/Home.css @@ -45,9 +45,146 @@ h2 { } .banner_button { + width: 50vw; + display: flex; + gap: 5%; padding: 5px; } +.Roadmap{ + padding: 10% 0%; + text-align: center; +} +.Roadmap>h1{ + margin-bottom: 5%; +} +.btn-exams{ + background-color: #ffffff; + color: #000; + border:0.1rem solid #000; + width: 20vw; + padding: 0% 5%; + text-align: center; + margin: 0%; +} +.btn-exams:hover{ + background-color: #2c2b30; + color: #ffffff; +} +.roadmap-underline{ + border: 0.1rem solid #F3703B; + background-color: #F3703B; + width: 15vw; + margin: 0% 42%; + margin-bottom: 5%; +} +.Roadmap-title{ + width: 20vw; + margin: 10% 40% ; + position: absolute; + color: #000; +} +.Roadmap-title>h3{ + border-radius: 0.5rem; + margin: 60% 0%; + padding: 5% ; +} +.Roadmap-title>h3:active{ + font-size:1.5rem; + width: 18vw; + margin-left: 5%; +} +.svg-rocket{ + +} +a{ + color: #000; +} +a:hover{ + color: blue; + text-decoration: none; +} +.svg-cloud{ + z-index: 10; + width: 100vw; + margin-top: -20%; + margin-left: 0%; +} +.left-top-B{ + position: absolute; + font-size: 7rem; + margin-top: 30%; + right: 12rem; + color: rgb(73, 73, 73); +} +.left-B{ + position: absolute; + font-size: 7rem; + margin-top: -30%; + color: rgb(73, 73, 73); + right: 12rem; +} +.right-B{ + position: absolute; + font-size: 7rem; + margin-top: -115%; + color: rgb(73, 73, 73); + left: 12rem; +} +.C1{ + background-color: #F3703B; +} +.C2{ + background-color: #FFD303; +} +.left-top-T{ + position: absolute; + right:17rem; + margin-top: 36%; +} +.left-top-T>h5{ + margin: 5% 0%; + width: 30vw; + padding: 0.5% 0%; + background-color: turquoise; +} +.left-top-T>h5:active{ + font-size: 1.2rem; + width: 29vw; + margin-left: 2%; +} +.left-T{ + position: absolute; + right:17rem; + margin-top: -20%; +} +.left-T>h5{ + margin: 5% 0%; + padding: 0.5% 0%; + width: 30vw; + background-color: turquoise; +} +.left-T>h5:active{ + font-size: 1.2rem; + width: 29vw; + margin-left: 2%; +} +.right-T{ + position: absolute; + left:17rem; + margin-top: -110%; +} +.right-T>h5{ + margin: 5% 0%; + width: 30vw; + padding: 0.5% 0%; + background-color: turquoise; +} +.right-T>h5:active{ + width: 29vw; + font-size: 1.2rem; + margin-left: 2%; +} /*---Feature Section---*/ #fh5co-course-categories, @@ -64,7 +201,93 @@ h2 { padding: 7em 0; clear: both; } - +@media screen and (min-width:1200px){ + .banner_button{ + gap: 2%; + } + .btn-exams{ + width: 11vw; + } + .Roadmap>h1{ + margin-bottom: 2%; + } + .Roadmap-title>h3:active{ + font-size:1.4rem; + width: 8vw; + margin-left:25%; + } + .roadmap-underline{ + width: 10vw; + margin: 0% 45% 5%; + } + .left-top-B{ + position: absolute; + font-size: 7rem; + margin-top: 12%; + right:19rem; + color: rgb(73, 73, 73); + } + .left-B{ + position: absolute; + font-size: 7rem; + margin-top: -13%; + color: rgb(73, 73, 73); + right: 19rem; + } + .right-B{ + position: absolute; + font-size: 7rem; + margin-top: -55%; + color: rgb(73, 73, 73); + left: 17rem; + } + .Roadmap-title{ + margin: 6% 41%; + } + .Roadmap-title>h3{ + width: 10vw; + font-size: 1.5rem; + border-radius: 0.5rem; + margin:25% 20%; + padding: 5% ; + } + .left-top-T{ + right: 27rem; + margin-top: 13%; + } + .left-top-T>h5:active{ + width: 18vw; + font-size: 1.2rem; + margin-left: 5%; + } + .left-top-T>h5{ + width: 20vw; + } + .left-T{ + right: 27rem; + margin: -10% 0%; + } + .left-T>h5{ + width: 20vw; + } + .left-T>h5:active{ + width: 18vw; + font-size: 1.2rem; + margin-left: 5%; + } + .right-T{ + left:25rem; + margin: -55% 0%; + } + .right-T>h5{ + width: 20vw; + } + .right-T>h5:active{ + width: 18vw; + font-size: 1.2rem; + margin-left: 5%; + } +} @media screen and (max-width: 768px) { #fh5co-course-categories, #fh5co-counter, diff --git a/funwithphysics/src/Components/Home/Home.js b/funwithphysics/src/Components/Home/Home.js index 867a688f9..b1626723b 100644 --- a/funwithphysics/src/Components/Home/Home.js +++ b/funwithphysics/src/Components/Home/Home.js @@ -12,6 +12,7 @@ const Home = () => { const backToTopRef=useRef(null) const [loading, setloading] = useState(true); const { dispatch } = useContext(Context); + const [RoadMap,showRoadMap]=useState(false); useEffect(() => { setTimeout(() => { setloading(false); @@ -40,6 +41,16 @@ const bookReaderStyle = { backToTopRef.current!==null&&(backToTopRef.current.style.display = 'none') else backToTopRef.current!==null&&(backToTopRef.current.style.display = 'block') } + function changeRoadMapState(){ + if(RoadMap==true){ + showRoadMap(false); + }else{ + showRoadMap(true); + window.scrollTo(0,1050); + } + } + const l="}"; + const r="{"; useEffect(() => { window.addEventListener('scroll', handleScroll, { passive: true }) @@ -92,11 +103,121 @@ const bookReaderStyle = { {' '} Learn - + 0 +
+ {RoadMap &&
+

RoadMap

+
+
+ {/* Competitive Exam-1 */} +
+
Study Plan for 2 Years
+
JEE Advanced Study Material
+
Physics Galaxy Video Lectures
+
+

{l}

+

JEE

+

{r}

+ +
+
JEE Mains syllabus & Marks Weightage
+
JEE Advanced checklist
+
Best Preparation Books
+
+ {/* Competitive Exam-1 */} +
+
BITSAT Study Guide
+
Study Materials for BITSAT
+
BITSAT Video Lectures
+
+

{l}

+

BITSAT

+

{r}

+
+
BITSAT Syllabus & Instructions
+
BITSAT Previous Year
+
Best Preparation Books
+
+ {/* Competitive Exam-1 */} +
+
NEET books PDF
+
NEET study Material
+
Neela Bakhore Tutorials for NEET
+
+

{l}

+

NEET

+

{r}

+
+
NEET syllabus & Marks Weightage
+
NEET preparation Tips
+
Best Preparation Books
+
+ {/* Competitive Exam-1 */} +
+
KVPY Books PDF
+
KVPY Study Material
+
KVPY Video Lecture
+
+

{l}

+

KVPY

+

{r}

+
+
KVPY Syllabus
+
KVPY Tips and Tricks
+
Best preparation Books & Marks Weightage
+
+ {/* Competitive Exam-1 */} +
+
Self Preparation Guide
+
NEST Study Material
+
NEST Mock Test
+
+

{l}

+

NEST

+

{r}

+
+
NEST Syllabus
+
NEST Previous Year Paper
+
NEST Preparation Books
+
+ {/* Competitive Exam-1 */} +
+
Self Preparation Guide
+
Latest Study material
+
NATA Video Lecture
+
+

{l}

+

NATA

+

{r}

+
+
NATA syllabus
+
NATA Previous Year Paper,
+
Best Preparation Books
+
+ {/* Competitive Exam-1 */} +
+
NDA Video Lecture
+
NDA Study Material
+
NDA & NA Previous Year Paper
+
+

{l}

+

NDA & NA

+

{r}

+
+
NDA Syllabus & Marks Weightage
+
NDA Preparation Tips
+
NDA & NA Preparation Books
+
+
+ + + +
+ }

Learn

@@ -105,6 +226,7 @@ const bookReaderStyle = {
+