Skip to content

Commit f80279b

Browse files
authored
Merge pull request #31 from NepTechTribe/new
Hero and About Sections are responsive in all devices
2 parents 6f60515 + a8d5000 commit f80279b

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

src/Components/landingpage/about.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ function AboutUs() {
3838
<Container className="About">
3939
<Title title={"About NEPTECH Tribe"} head={"Who Are We "} />
4040
<Row className="About-row1">
41-
<Col md={6} className="About-row1__col1">
41+
<Col lg={6} md={12} className="About-row1__col1">
4242
<img src={img} alt="About Image" />
4343
</Col>
44-
<Col md={6} className="About-row1__col2">
44+
<Col lg={6} md={12} className="About-row1__col2">
4545
<p className="About-row1__col2__introduction">
4646
<b> NepTech Tribe </b> is a non-profit organization that unites
4747
tech enthusiasts of all ages to share knowledge and foster

src/Styles/App.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,17 @@
182182
font-weight: 400;
183183
}
184184

185+
@media screen and (max-width: 993px) {
186+
.About-row1__col1 {
187+
margin-bottom: 2rem;
188+
}
189+
.About-row1__col2 {
190+
display: flex;
191+
flex-direction: column;
192+
justify-content: center;
193+
align-items: center;
194+
}
195+
}
185196
.Program {
186197
position: relative;
187198
overflow: hidden;

src/Styles/App.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Styles/LandingPage/_About.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,20 @@
4141
font-weight: 400;
4242
}
4343
}
44+
}
45+
46+
@media screen and (max-width:993px) {
47+
.About{
48+
&-row1{
49+
&__col1{
50+
margin-bottom: 2rem;
51+
}
52+
&__col2{
53+
display: flex;
54+
flex-direction: column;
55+
justify-content: center;
56+
align-items: center;
57+
}
58+
}
59+
}
4460
}

0 commit comments

Comments
 (0)