Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 47e940b

Browse files
fix: all issues done
1 parent 4c8b955 commit 47e940b

File tree

5 files changed

+47
-8
lines changed

5 files changed

+47
-8
lines changed

src/components/Footer/Footer.module.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@media screen and (max-width: 992px) {
1212
flex-direction: column;
1313
gap: rem(2);
14+
padding: rem(4);
1415
}
1516

1617
.FooterBody {
@@ -23,17 +24,25 @@
2324
font-size: rem(3.2);
2425
color: var(--ifm-color-white);
2526
@media screen and (max-width: 992px) {
26-
font-size: rem(2);
27+
font-size: rem(2.4);
2728
}
2829
}
2930
.FooterBodyContent {
3031
color: var(--ifm-color-white);
3132
font-weight: 400;
33+
text-align: center;
3234
@media screen and (max-width: 992px) {
33-
font-size: rem(1.5);
35+
font-size: rem(1.6);
3436
}
3537
}
3638

39+
.FooterBodyContentEmail {
40+
color: var(--ifm-color-white);
41+
font-weight: 400;
42+
@media screen and (max-width: 992px) {
43+
font-size: rem(1.4);
44+
}
45+
}
3746
.Email {
3847
color: var(--ifm-color-danger);
3948
padding: 0 rem(0.5);

src/components/Footer/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ const Footer = () => {
1717
style={{ textDecoration: 'none' }}
1818
href='https://binary.vanillacommunity.com/'
1919
>
20-
<button className={styles.communityButton}>Join Our Community</button>
20+
<button className={styles.communityButton}>Join our community</button>
2121
</a>
2222
</section>
2323
<section className={styles.FooterBody}>
2424
<Text type='subtitle-1' as='h2' align='center' className={styles.FooterContent}>
2525
We&apos;re here to help
2626
</Text>
27-
<Text type='paragraph-1' align='center' className={styles.FooterBodyContent}>
27+
<Text type='paragraph-1' align='center' className={styles.FooterBodyContentEmail}>
2828
Email us at{' '}
2929
<a className={styles.Email} href={'mailto:[email protected]'}>
3030

src/features/Home/ApiFeatures/ApiFeatures.module.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
display: flex;
2929
flex-direction: column;
3030
gap: rem(2);
31+
@media screen and (max-width: 992px) {
32+
> h2 {
33+
text-align: center;
34+
}
35+
}
3136
}
3237

3338
@media (min-width: 425px) {
@@ -40,6 +45,9 @@
4045
.FeatureList {
4146
margin-left: rem(-2);
4247
font-weight: 500;
48+
@media screen and (max-width: 992px) {
49+
font-size: rem(1.4);
50+
}
4351

4452
.FeatureOptions {
4553
align-items: center;

src/features/Home/Benefits/Benefits.module.scss

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,21 @@
7777
width: rem(46.8);
7878
> h1 {
7979
margin-bottom: rem(0.8);
80-
font-size: rem(2.4);
8180
}
8281
> p {
8382
line-height: rem(3.6);
84-
font-size: rem(1.8);
83+
font-size: rem(2.4);
8584
}
85+
// @media screen and (max-width: 992px) {
86+
// > h1 {
87+
// margin-bottom: rem(0.8);
88+
// font-size: rem(2.4);
89+
// }
90+
// > p {
91+
// line-height: rem(3.6);
92+
// font-size: rem(1.8);
93+
// }
94+
// }
8695
}
8796
@media screen and (max-width: 992px) {
8897
flex-direction: column;
@@ -91,6 +100,15 @@
91100
}
92101
.InformationContent {
93102
width: 100%;
103+
104+
> h1 {
105+
margin-bottom: rem(0.8);
106+
font-size: rem(2.4);
107+
}
108+
> p {
109+
line-height: rem(3.6);
110+
font-size: rem(1.8);
111+
}
94112
}
95113
}
96114
}

src/features/Home/GetStarted/GetStarted.module.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424

2525
.termConditions {
2626
padding: 0 rem(2.5);
27-
font-size: rem(1.2);
27+
@media screen and (max-width: 992px) {
28+
font-size: rem(1.2);
29+
}
2830
}
2931

3032
.cardContainer {
@@ -61,7 +63,9 @@
6163

6264
> p {
6365
font-family: var(--ibm-font-family-base);
64-
font-size: rem(1.4);
66+
@media screen and (max-width: 992px) {
67+
font-size: rem(1.4);
68+
}
6569
}
6670
}
6771

0 commit comments

Comments
 (0)