Skip to content

Commit 09d4052

Browse files
authored
Merge pull request #37 from NepTechTribe/new
Home Page is completely responsive
2 parents 7c0a1bc + 6334548 commit 09d4052

File tree

6 files changed

+82
-39
lines changed

6 files changed

+82
-39
lines changed

src/Components/landingpage/feedback.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
function Contact(){
1313
return(
1414
<>
15-
<Container>
15+
<Container className="Contact">
1616
<Title title={"Contact"} head={"Lets get connected"} />
1717
<Row>
1818
<Col lg={8} md={12}>

src/Components/landingpage/footer.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Footer() {
1818
<div className="Footer">
1919
<Container>
2020
<Row style={{ justifyItems: "center" , paddingTop:'2rem', paddingBottom:'2rem'}}>
21-
<Col md={3}>
21+
<Col lg={3} md={12}>
2222
<img
2323
src={fullogo}
2424
alt="NepTech Tribe Logo"
@@ -47,7 +47,7 @@ function Footer() {
4747
</button>
4848
</div>
4949
</Col>
50-
<Col md={3} className="Footer-col2">
50+
<Col lg={3} md={4} sm={6} xs={6} className="Footer-col2">
5151
<dl>
5252
<dt className="Footer-col2__head"> Explore </dt>
5353
<dd className="Footer-col2__data"> <Link to='/about' className="link-default"> About Us </Link></dd>
@@ -56,15 +56,15 @@ function Footer() {
5656
<dd className="Footer-col2__data"><Link to='/faq' className="link-default"> FAQ </Link></dd>
5757
</dl>
5858
</Col>
59-
<Col md={3} className="Footer-col2">
59+
<Col lg={3} md={4} sm={6} xs={6} className="Footer-col2">
6060
<dl>
6161
<dt className="Footer-col2__head"> Services</dt>
6262
<dd className="Footer-col2__data"><Link to='/events' className="link-default"> Events </Link></dd>
6363
<dd className="Footer-col2__data"><Link to='/hackathon' className="link-default"> Hackathons </Link></dd>
6464
<dd className="Footer-col2__data"><Link to='/bootcamp' className="link-default"> Bootcamps </Link></dd>
6565
</dl>
6666
</Col>
67-
<Col md={3} className="Footer-col2">
67+
<Col lg={3} md={4} sm={6} xs={6} className="Footer-col2">
6868
<dl>
6969
<dt className="Footer-col2__head">Resources</dt>
7070
<dd className="Footer-col2__data"><Link to='/csit' className="link-default"> Bsc CSIT </Link></dd>

src/Styles/App.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
.About-row1__col1 {
187187
margin-bottom: 2rem;
188188
}
189+
.About-row1__col1 img {
190+
width: 100%;
191+
}
189192
.About-row1__col2 {
190193
display: flex;
191194
flex-direction: column;
@@ -488,6 +491,38 @@
488491
margin-top: -5rem;
489492
}
490493

494+
@media screen and (max-width: 576px) {
495+
.ContactForm-form {
496+
margin-bottom: 3rem;
497+
}
498+
.ContactForm-form-inputcontainer {
499+
display: flex;
500+
flex-direction: column;
501+
gap: 2rem;
502+
}
503+
.ContactForm-form-input {
504+
width: 100%;
505+
}
506+
}
507+
@media screen and (min-width: 576px) and (max-width: 1023px) {
508+
.ContactForm-details {
509+
display: none;
510+
margin-top: 2rem;
511+
padding: 1.5rem;
512+
flex-direction: row;
513+
gap: 2.5rem;
514+
}
515+
.ContactForm-details__section1 {
516+
gap: 1rem;
517+
}
518+
.ContactForm-details__icon {
519+
height: 2rem;
520+
width: 2rem;
521+
}
522+
.Contact {
523+
margin-bottom: 3rem;
524+
}
525+
}
491526
.Footer {
492527
background-color: #e0e0f2;
493528
padding: 2rem 0rem;

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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
&-row1{
4949
&__col1{
5050
margin-bottom: 2rem;
51+
img{
52+
width: 100%;
53+
}
5154
}
5255
&__col2{
5356
display: flex;

src/Styles/LandingPage/_Contact.scss

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -117,37 +117,42 @@
117117
}
118118

119119

120-
// @media screen and (max-width:576px) {
121-
// .ContactForm{
122-
// &-form{
123-
// margin-bottom: 3rem;
124-
// &-inputcontainer{
125-
// display: flex;
126-
// flex-direction: column;
127-
// gap: 2rem;
128-
// }
129-
// &-input{
130-
// width: 100%;
131-
// }
132-
// }
133-
// }
134-
// }
120+
@media screen and (max-width:576px) {
121+
.ContactForm{
122+
&-form{
123+
margin-bottom: 3rem;
124+
&-inputcontainer{
125+
display: flex;
126+
flex-direction: column;
127+
gap: 2rem;
128+
}
129+
&-input{
130+
width: 100%;
131+
}
132+
}
133+
}
134+
}
135135

136-
// @media screen and (min-width:576px) and (max-width:1023px) {
137-
// .ContactForm{
138-
// &-details{
139-
// margin-top: 2rem;
140-
// padding: 1.5rem;
141-
// display: flex;
142-
// flex-direction: row;
143-
// gap: 2.5rem;
144-
// &__section1{
145-
// gap: 1rem;
146-
// }
147-
// &__icon{
148-
// height: 2rem;
149-
// width: 2rem;
150-
// }
151-
// }
152-
// }
153-
// }
136+
@media screen and (min-width:576px) and (max-width:1023px) {
137+
.ContactForm{
138+
&-details{
139+
display: none;
140+
margin-top: 2rem;
141+
padding: 1.5rem;
142+
// display: flex;
143+
flex-direction: row;
144+
gap: 2.5rem;
145+
&__section1{
146+
gap: 1rem;
147+
}
148+
&__icon{
149+
height: 2rem;
150+
width: 2rem;
151+
}
152+
}
153+
}
154+
155+
.Contact{
156+
margin-bottom: 3rem;
157+
}
158+
}

0 commit comments

Comments
 (0)