Skip to content

Commit 2d43a79

Browse files
committed
About section completed
1 parent a0f9329 commit 2d43a79

21 files changed

Lines changed: 222 additions & 10 deletions

package-lock.json

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"@testing-library/user-event": "^7.2.1",
99
"react": "^16.13.1",
1010
"react-dom": "^16.13.1",
11+
"react-router-dom": "^5.2.0",
1112
"react-scripts": "3.4.1",
1213
"react-scroll": "^1.7.16"
1314
},

src/UI/SectionTitle/SectionTitle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
const SectionTitle = (props) => {
44
return (
55
<div className = "row justify-content-center mb-5">
6-
<p className = "display-4 mt-5 text-weight-bold"><strong>{props.title}</strong></p>
6+
<p className = "display-4 mt-5 text-weight-bold" style={{color:props.color}}><strong>{props.title}</strong></p>
77
</div>
88
);
99
}

src/assets/images/onlineStudy.jpg

1.13 MB
Loading

src/assets/images/study.jpg

217 KB
Loading

src/components/AboutSection/AboutSection.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
import React from 'react';
2+
import classes from './AboutSection.module.css';
23
import Features from './Features/Features';
34
import SectionTitle from '../../UI/SectionTitle/SectionTitle';
5+
import Introduction from './Introduction/Introduction';
6+
47

58
const AboutSection = () => {
69
return (
7-
<div>
10+
<div className = {classes.aboutSection}>
811
<div className="container">
9-
<SectionTitle title="About"/>
12+
<SectionTitle title="About" color="white"/>
1013
<Features/>
14+
<Introduction/>
1115
</div>
1216
</div>
1317

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.aboutSection{
2+
height: 100vh;
3+
background-color: #292D2E ;
4+
}

src/components/AboutSection/Features/Feature/Feature.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import classes from './Feature.module.css';
33

44
const Feature = (props) => {
55
return (
6-
<div className = { classes.feature+" justify-content-center" }>
7-
<div className = {classes.rotate+" justify-content-center p-3"}>
6+
<div className = { classes.feature }>
7+
<div className = {classes.rotate+" p-3"}>
88
<i className = {classes.mdi+props.icon}></i>
99
<h5><strong>{props.title}</strong></h5>
1010
<p>{props.body}</p>

src/components/AboutSection/Features/Feature/Feature.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
.feature{
2+
border: 2px solid white ;
3+
border-radius: 5px;
24
margin: 10px;
3-
background-color: #64C7CC;
5+
background-color: #646c74 ;
46
color: white;
7+
text-align: center;
58
}
69

710
.feature:hover{
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from 'react';
2+
import classes from './Introduction.module.css';
3+
4+
const Introduction = () => {
5+
return(
6+
<div className = {classes.intro}>
7+
<div className = "row">
8+
<div className = "col-lg-10 offset-lg-1">
9+
<p className="text-justify pt-5">
10+
We are a bootstrap startup with a vision to impact education and economics solving complex problems with simple solutions.
11+
Edunomics combines tech expertise and business intelligence to catalyze change and deliver results.
12+
We are employing top talent to provide a uniquely matching solution for your unique problem.
13+
</p>
14+
</div>
15+
</div>
16+
</div>
17+
);
18+
}
19+
export default Introduction;

0 commit comments

Comments
 (0)