Skip to content

Commit

Permalink
[FEATURE]: <Add Courses Section>
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperAayush committed Oct 17, 2022
1 parent 04872ce commit bd93bb2
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import React from 'react'
import './App.css'
import Footer from './components/Footer.js'
import About from './components/About.js'
import Courses from './components/Courses.js'

const App = () => {
return (
<div className="main">
<About />
<Courses />
<Footer />
</div>
)
Expand Down
Binary file added src/assests/course.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/components/Courses.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react'
import '../styles/Courses.css';
import course from '../assests/course.png'

const Courses = () => {
return (
<div className="courses">
<div className="courses_text">
<h2>Boost your career with our <br /> Complete Hands On Courses</h2>
<ul className="courses_ul">
<li>We believe that every student, irrespective of their college or <br/> branch, can make it big. Community Classroom is an <br/> initiative built on this thought.</li>
<li>We provide hands-on training, mentorship for FREE and have <br/> an inclusive community.</li>
<li>Get expert guidance with career, Open Source, and <br/> internships, jobs around the world.</li>
</ul>
<a href="https://discord.gg/Wydusp72AB" target="_blank" rel="noreferrer">
<button id="bt_discord">Join our Discord</button>
</a>
</div>
<img className="courses_img" src={course} alt="" />
</div>
)
}

export default Courses
2 changes: 1 addition & 1 deletion src/styles/About.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.about{
display: flex;
margin-top: 5%;
margin-top: 10%;
}

.about_img{
Expand Down
48 changes: 48 additions & 0 deletions src/styles/Courses.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.courses{
display: flex;
margin-top: 10%;
}

.courses_img{
margin-left: 5%;
width: 584.5px;
height: 425px;

}

.courses_text{
margin-left: 10%;
width: 584px;
height: 243px;
font-size: 20px;
line-height: 145%;
color: #5F7086;
}

.courses_ul{
list-style: disc;
}

li{
padding-top: 3.5%;
}

h2{
color: #181E25;
font-size: 36px;
padding-bottom:5%;
}

#bt_discord{
margin-top: 8%;
padding: 12px 24px;
gap: 10px;
width: 233px;
height: 53px;
background: #4094EC;
border-radius: 4px;
font-size: 20px;
line-height: 145%;
border: none;
color: #FFFFFF;
}
1 change: 1 addition & 0 deletions src/styles/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.row{
display: flex;
flex-wrap: wrap;
margin-top:10%;
}
ul{
list-style: none;
Expand Down

0 comments on commit bd93bb2

Please sign in to comment.