Skip to content

Commit

Permalink
Merge branch 'main' into Dark-Default-Toggler
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipullakum007 authored Jun 17, 2024
2 parents 4f10ce3 + 0ae44d5 commit 2696fd1
Show file tree
Hide file tree
Showing 7 changed files with 236 additions and 0 deletions.
Binary file added src/assets/benefits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/resource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions src/components/about/About.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
// src/About.js
import React from 'react';
import './about.css';
import Header from '../../pages/header';
import image from '../../assets/book.png'
import resource from '../../assets/resource.png'
import benefit from '../../assets/benefits.png'
import { Link } from 'react-router-dom';

// import sun from './images/sun.png'; // Example image import
// import moon from './images/moon.png'; // Example image import

const About = () => {
return (
<>
<Header />
<div className='head-container'>
<h1>About Us</h1>
</div>
<Link to="/" className="back-icon" style={{ position: 'absolute', top: '75px !important', left: '35px', fontSize: '42px' }}>
<svg
xmlns="http://www.w3.org/2000/svg"
width="42"
height="42"
fill="currentColor"
viewBox="0 0 16 16"
style={{
fontWeight: 'bold',
position: 'fixed',
top: 139,
left: 20
}}
>
<path
fillRule="evenodd"
d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8m15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-4.5-.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5z"
/>
</svg>
</Link>

<div class="main">

<div class="start">
<div class="img-container">
<img class="about_logo" src={image}/>
</div>
<div class="text-container">
<h1 class="text-title">What is 75%?</h1>
<p class="text-desc">
Welcome to 75per, the ultimate destination for all your study resource needs. Our platform is designed to provide you with comprehensive and high-quality materials, ensuring you have everything required to excel academically. With our resources, you can confidently aim to top your exams and achieve outstanding scores. Our mission is to support your educational journey, making it easier and more efficient to access the best study materials in one convenient place. Experience unparalleled success with 75per, where your academic excellence is our priority. </p>
</div>
</div>
<div class="end">
<div class="img-container">
<img class="mission" src={resource}/>
</div>
<div class="text-container">
<h1 class="text-title">Our Resource</h1>
<p class="text-desc" >
At 75per, we offer an extensive collection of resources tailored for students across all academic years: 1st, 2nd, 3rd, and 4th. Our repository includes comprehensive quantum syllabi, past year question papers, engaging lecture videos, and a plethora of additional invaluable materials. Our aim is to equip you with everything you need to succeed academically, ensuring that you have access to top-notch study aids that facilitate better understanding and higher scores in your exams. Discover the ultimate study companion at 75per, where your educational journey is our top priority.

</p>
</div>
</div>
<div class="start mb">
<div class="img-container">
<img class="benefit" src={benefit}/>
</div>
<div class="text-container">
<h1 class="text-title">Benefits of HelpOps-Hub</h1>
<ol class="text-desc">
<li><b>Comprehensive Coverage</b>: We offer expertly curated syllabi, past year questions, and engaging lecture videos. These high-quality materials are designed to enhance your learning experience and provide a deep understanding of the subjects.

</li>
<li><b>High-Quality Materials</b>: All your study materials are available in one place, saving you time and effort. You no longer need to search multiple sources for the information you need; it’s all here at 75per.

</li>
<li><b>Convenience</b>: With our extensive and well-organized resources, you can aim to top your exams and achieve outstanding scores. Our materials are geared towards helping you perform your best.

</li>
<li><b>Enhanced Performance</b>: We are dedicated to supporting your educational journey. Our platform is designed to make learning easier and more efficient, providing continuous support to help you succeed academically.

</li>

</ol>
</div>
</div>
</div>

</>
);
};

export default About;
134 changes: 134 additions & 0 deletions src/components/about/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@

.font{
font-size: 0.8rem;
font-family: sans-serif;
color: black;
font-weight:550;
}


@keyframes animate {
from {
height: 0px;
}
to {
height: 270px;
}
}




.head-container{
text-align: center;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 2rem;
}


.start {
width: 80%;
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
height: auto;
overflow-x: hidden;
}
.end {
width: 80%;
display: flex;
flex-direction: row;
height: auto;
overflow-x: hidden;
}
.start .img-container {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.end .img-container {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.text-container {
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
}
.text-title {
font-family: "Poppins", sans-serif;
font-weight: 400;
}
.text-desc {
font-size: larger;
text-align: justify;
}

.about_logo{
width: 180px;
transition: transform 0.5s ease;
margin-right: 15px;
}
.mission {
width: 300px;
transition: transform 0.5s ease;
}
.benefit{
width: 400px;
transition: transform 0.5s ease;
}
.img-container img:hover {
transform: scale(0.9);
}

@media only screen and (max-width: 769px) {
.end {
flex-direction: column;
}
.start {
flex-direction: column;
}
.img-container {
width: 100% !important;
}
.start .img-container {
justify-content: center;
}
.end .img-container {
justify-content: center;
}
.text-container {
width: 100% !important;
}
}
.text-container h1{
font-size: 40px !important;
text-align: left;
}

p{
font-weight: bold !important;
align-items: left !important;
display: block !important;
width: auto !important;
}

.about_logo{
width: auto !important;
}
.img{
width: 90% !important;
height: auto !important;
}
.main{
margin-top: 100px !important;
}
5 changes: 5 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import Fstsyllabus from './components/page5(1st)/fstsyllabus.js';
import Sndsyllabus from './components/page6(2nd)/sndsyllabus.js'
import Frthsyllabus from './components/page7(4yr)/frthsyllabus.js'
import TrdSyllabus from './components/page8(3yr)/trdsyllabus.js';
import About from './components/about/About.jsx';
import {
createBrowserRouter,
RouterProvider,
Expand Down Expand Up @@ -149,6 +150,10 @@ const router = createBrowserRouter([
path: "/Review",
element: <ReviewPage/>
},
{
path: "/about",
element: <About />
},
]);

ReactDOM.createRoot(document.getElementById("root")).render(
Expand Down
3 changes: 3 additions & 0 deletions src/pages/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ function Header() {
<a href="/Login" className="logo link1" style={{ padding: 10, margin: 5, height: 30, width: 40 }}>
<b>Login</b>
</a>
<a href="/about" className="logo link1" style={{ padding: 10, margin: 5, height: 30, width: 80 }}>
<b>About Us</b>
</a>
</div>
{/* Theme Toggler Button */}
<button className="theme-toggler" onClick={toggleTheme}>
Expand Down

0 comments on commit 2696fd1

Please sign in to comment.