Skip to content

Commit

Permalink
[Other] <Responsiveness>
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyastar committed Oct 26, 2022
1 parent 8240bb2 commit 8b7a0b1
Show file tree
Hide file tree
Showing 9 changed files with 365 additions and 106 deletions.
61 changes: 61 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.6.0",
"react-router-dom": "^6.4.2",
"react-scripts": "^2.1.3",
"web-vitals": "^2.1.4"
},
Expand Down
7 changes: 4 additions & 3 deletions src/components/Podcast.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ const Event = () => {
Watch now
<img className="podcast_right" src={Right} alt="right" />
</p>
<a href='https://www.youtube.com/playlist?list=PL9gnSGHSqcnqwmKYZ5rHuzqe32Di47KMr'><button className="podcast_redirect"> See all episodes </button></a>
</div>
<div className="podcast_img_cont">

<img className="podcast_img" src={Podcast} alt="Podcast" />
<a href='https://www.youtube.com/playlist?list=PL9gnSGHSqcnqwmKYZ5rHuzqe32Di47KMr'><button className="podcast_redirect"> See all episodes </button></a>
</div>


</div>
)
}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import Course from '../components/Course/Course.js'

const HomePage = () => {
return (
<div>
<Navbar />
<div className="homepage_main">
<Navbar />
<Header />
<About />
<Courses />
Expand All @@ -25,7 +25,7 @@ const HomePage = () => {
<Blog />
<Founder />
<Footer />
</div>
</div>
)
}

Expand Down
1 change: 1 addition & 0 deletions src/styles/Blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

.blog {
flex-direction:column;
margin-top: 500px;
}

.blog_img{
Expand Down
145 changes: 133 additions & 12 deletions src/styles/Founder.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.founder{
display:flex;
margin-top: 150px;
margin-left: 12%;
margin-left: 6%;
}
.founder_img{
position: absolute;
margin-top: 23px;
margin-top: 115px;
width: 400px;
height: 446px;
margin-left: auto;
}
.founder_span
{
Expand All @@ -18,34 +21,152 @@
}
.founder_assets_green{
width: 250px;
height: 250px;
margin-top: 190px;
height: 280px;
margin-top: 280px;
}
.founder_assets_blue{
width: 250px;
height: 320px;
margin-top: 120px;
height: 350px;
margin-top: 210px;
}
.founder_text{
margin-top: 10px;
margin-left: 15%;
}
.founder_para{
margin-top: 2%;
width: 584px;
width: 500px;
margin-left: 10%;
font-size: 1.2rem;
margin-top: 25px;
}
.founder_heading{
margin-top: 35%;
margin-top: 190px;
height: 45px;
padding-bottom: 30px;
width: 584px;
margin-left: 10%;
}
.founder_socials{
list-style-type: none;
display: flex;
margin-left: 10%;
margin-top: 10px;
margin-top: 40px;
}
.founder-item{
margin-left: 3px;
}

@media screen and (max-width: 1285px) {
.founder{margin-top: 600px;}
@media screen and (max-width: 1300px){
.founder{
flex-direction: column;
margin-top:550px;
margin-left: 20%;
}
.founder_img{
position: absolute;
margin-top: 23px;
width: 400px;
height: 446px;
}
.founder_assets_green{
width: 250px;
height: 280px;
margin-top: 190px;
}
.founder_assets_blue{
width: 250px;
height: 350px;
margin-top: 120px;
position: absolute;
margin-left: 200px;
}
.founder_text{
margin-top: 10px;
margin-left: -1%;
}
.founder_para{
margin-top: 10px;
margin-left: 1%;
text-align: left;
font-size: 2rem;
}
.founder_heading{
margin-top: 50px;
margin-left: 1%;
font-size: 2rem;
}
.founder-item img{
width: 70px;
}
.founder-item{
margin-left: 10px;
}
.founder_socials{
margin-left: 10px;
margin-top: 20px;
}
}
@media screen and (max-width: 1200px){
.founder{
flex-direction: column;
margin-top:550px;
margin-left: 17%;
}
.founder_text{
margin-top: 10px;
margin-left: -1%;
}
.founder_para{
margin-top: 10px;
margin-left: 1%;
text-align: left;
font-size: 2rem;
}
.founder_heading{
margin-top: 50px;
margin-left: 1%;
font-size: 2rem;
}
.founder-item img{
width: 70px;
}
}
@media screen and (max-width: 1000px){
.founder{
flex-direction: column;
margin-top:550px;
margin-left: 27%;
}
.founder_text{
margin-top: 10px;
margin-left: -1%;
}
.founder_para{
margin-top: 10px;
margin-left: 1%;
text-align: left;
font-size: 2rem;
}
.founder_heading{
margin-top: 50px;
margin-left: 1%;
font-size: 2rem;
}
.founder-item img{
width: 70px;
}
}
@media screen and (max-width: 900px){
.founder{
flex-direction: column;
margin-top:550px;
margin-left: 24%;
}
}
@media screen and (max-width: 600px){
.founder{
flex-direction: column;
margin-top:550px;
margin-left: 10%;
}
}
Loading

0 comments on commit 8b7a0b1

Please sign in to comment.