Skip to content

Commit

Permalink
Merge pull request #95 from hack4bengal/ark-dev
Browse files Browse the repository at this point in the history
[FIX]: Fixed Responsiveness
  • Loading branch information
tamalCodes authored Jun 4, 2024
2 parents 0028333 + 08337cd commit 444bd57
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/assets/data/TeamContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const teamMember = {
{
img: arkapravo,
name: "Arkapravo",
title: "Lead Engineer @RevMaxx",
title: "Just a Tech",
linkedIn: "https://www.linkedin.com/in/arkapravo-ghosh",
twitter: "https://x.com/ArkapravoGhosh1",
},
Expand Down
13 changes: 10 additions & 3 deletions src/components/private/about/About.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
top: 16px;
z-index: -2;

@media screen and (max-width: 1120px) {
font-size: 100px;
letter-spacing: 0.2rem;
top: 5px;
left: 50%;
}

@media screen and (max-width: 576px) {
font-size: 73px;
letter-spacing: 0.2rem;
Expand Down Expand Up @@ -62,7 +69,7 @@
.about__desc {
width: 50%;

@media screen and (max-width: 576px) {
@media screen and (max-width: 1120px) {
width: 100%;
text-align: justify;

Expand Down Expand Up @@ -96,7 +103,7 @@
grid-column-gap: unset;
grid-template-columns: repeat(3, 1fr);

@media screen and (max-width: 576px) {
@media screen and (max-width: 1120px) {
grid-column-gap: 4rem;
grid-template-columns: repeat(2, 1fr);
}
Expand Down Expand Up @@ -147,7 +154,7 @@
display: none;
}

@media screen and (max-width: 576px) {
@media screen and (max-width: 1120px) {
margin-top: 2rem;
width: 100%;

Expand Down
7 changes: 6 additions & 1 deletion src/components/private/landing/Landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,18 @@
display: flex;
gap: 2rem;

@media screen and (max-width: 1120px) {
align-items: center;
gap: 1.2rem;
right: 50%;
}

@media screen and (max-width: 576px) {
position: relative;
bottom: 0;
flex-direction: column;
align-items: center;
gap: 1.2rem;
right: 50%;
}
}
}
Expand Down
32 changes: 29 additions & 3 deletions src/components/private/timer/Timer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display: flex;
align-items: center;

@media screen and (max-width: 576px) {
@media screen and (max-width: 850px) {
justify-content: center;
}

Expand All @@ -25,6 +25,14 @@
gap: 4rem;
margin-top: -4rem;

@media screen and (max-width: 1120px) {
margin-top: 0rem;
}

@media screen and (max-width: 850px) {
margin-top: 5rem;
}

@media screen and (max-width: 576px) {
margin-top: 0rem;
gap: 3rem;
Expand All @@ -45,6 +53,10 @@
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

@media screen and (max-width: 1120px) {
font-size: 60px;
}

@media screen and (max-width: 576px) {
font-size: 48px;
}
Expand All @@ -57,6 +69,10 @@
gap: 1rem;
z-index: 1;

@media screen and (max-width: 1120px) {
gap: 5px;
}

@media screen and (max-width: 576px) {
gap: 10px;
display: grid;
Expand All @@ -83,6 +99,10 @@
width: 115px;
height: 115px;

@media screen and (max-width: 1120px) {
font-size: 30px;
}

@media screen and (max-width: 576px) {
font-size: 35px;
display: flex;
Expand Down Expand Up @@ -140,7 +160,11 @@
.ghori {
width: 55%;

@media screen and (max-width: 576px) {
@media screen and (max-width: 1200px) {
width: 45%;
}

@media screen and (max-width: 850px) {
display: none;
}
}
Expand All @@ -158,10 +182,12 @@
0% {
opacity: 1;
}

50% {
opacity: 0;
}

100% {
opacity: 1;
}
}
}
35 changes: 24 additions & 11 deletions src/components/shared/footer/Footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
flex-direction: column;
justify-content: center;

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
height: auto;
padding-bottom: 3rem;
}
Expand All @@ -26,7 +26,7 @@
width: 20rem;
margin-left: -5px;

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
width: 18rem;
}
}
Expand All @@ -35,7 +35,7 @@
display: none;
}

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
flex-direction: column;
gap: 1.5rem;
padding: 0rem 1.5rem;
Expand All @@ -44,7 +44,7 @@
}

.footer_content {
@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
flex-direction: column;
gap: 1rem;
justify-content: center;
Expand Down Expand Up @@ -76,7 +76,7 @@
flex-direction: column;
gap: 1.2rem;

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
align-items: center;
}

Expand Down Expand Up @@ -105,7 +105,7 @@
}

.previous_season {
@media screen and (min-width: 430px) {
@media screen and (min-width: 851px) {
display: none;
}

Expand All @@ -129,7 +129,7 @@
.footer_flexdiv:nth-of-type(2) {
margin-top: 4rem;

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
margin-top: 0rem;
margin-bottom: 1.5rem;
}
Expand All @@ -147,7 +147,7 @@
left: 46%;
transform: translateX(-50%);

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
display: none;
}

Expand Down Expand Up @@ -238,7 +238,7 @@
align-items: center;
z-index: 3;

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
gap: 1rem;
margin-top: 1.5rem;
}
Expand All @@ -262,7 +262,7 @@
height: 111%;
z-index: 1;

@media screen and (max-width: 430px) {
@media screen and (max-width: 850px) {
width: 105%;
}
}
Expand All @@ -275,7 +275,20 @@
width: 720px;
z-index: 2;

@media screen and (max-width: 430px) {
@media screen and (max-width: 1120px) {
top: 200px;
right: 0;
height: fit-content;
width: 720px;
}

@media screen and (max-width: 1080px) {
top: 200px;
right: 0;
width: 500px;
}

@media screen and (max-width: 850px) {
display: none;
}
}
Expand Down
8 changes: 5 additions & 3 deletions src/components/shared/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ const Header = ({ ...data }) => {

const backWordStyles = {
fontSize:
windowWidth > 700
? data.backWordSize || "150px"
: data.backWordSize_mobile,
windowWidth < 900
? "100px"
: windowWidth > 700
? data.backWordSize || "150px"
: data.backWordSize_mobile,
letterSpacing:
windowWidth > 700
? data.backWordSpacing || "0.8rem"
Expand Down

0 comments on commit 444bd57

Please sign in to comment.