Skip to content

Commit 63e5e2a

Browse files
Merge pull request #34 from Aksh-Bansal-dev/main
fix(frontend): font bug in prod
2 parents 02297ea + b76033c commit 63e5e2a

File tree

8 files changed

+20
-18
lines changed

8 files changed

+20
-18
lines changed

frontend/public/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap"
1515
rel="stylesheet"
1616
/>
17-
<link
18-
href="http://fonts.cdnfonts.com/css/monument-extended"
19-
rel="stylesheet"
20-
/>
2117
<meta name="viewport" content="width=device-width, initial-scale=1" />
2218
<meta name="theme-color" content="#000000" />
2319
<meta

frontend/src/components/Mission_vision/style.module.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
color: rgba(255, 255, 255, 0.9);
1717
text-shadow: -4px 4px 4px #10abc2;
1818
font-family: var(--heading-font);
19-
font-size: 5.5rem;
19+
font-size: 5rem;
2020
}
2121
.heading2 {
2222
margin: 0;
@@ -37,15 +37,16 @@
3737
color: rgba(255, 255, 255, 0.75);
3838
font-family: monospace;
3939
width: 80%;
40-
font-size: 1.2rem;
41-
line-height: 25px;
40+
font-size: 1.1rem;
41+
line-height: 23px;
4242
}
4343

4444
.vectors {
4545
grid-area: vectors;
4646
display: flex;
4747
flex-direction: column;
48-
justify-content: space-around;
48+
padding-top: 2vh;
49+
justify-content: flex-start;
4950
align-items: center;
5051
height: 80%;
5152
}

frontend/src/components/Nav/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const useStyles = makeStyles((theme: Theme) =>
3232
marginRight: theme.spacing(2),
3333
},
3434
menuIcon: {
35-
fontSize: "4rem",
35+
fontSize: "2.5rem",
3636
},
3737
logo: {
3838
width: "15vh",

frontend/src/components/WhyUs/style.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
color: rgba(255, 255, 255, 0.9);
1717
text-shadow: -4px 4px 4px #10abc2;
1818
font-family: var(--heading-font);
19-
font-size: 5rem;
19+
font-size: 4.5rem;
2020
}
2121
.heading2 {
2222
margin: -2vh 0;
2323
text-transform: uppercase;
2424
font-family: var(--heading-font);
25-
font-size: 5rem;
25+
font-size: 4.5rem;
2626
color: #00050b;
2727
text-shadow: -4px 4px 4px #10abc2;
2828
-webkit-text-stroke-width: 1px;
@@ -38,8 +38,8 @@
3838
color: rgba(255, 255, 255, 0.75);
3939
font-family: monospace;
4040
width: 80%;
41-
line-height: 26px;
42-
font-size: 1.1rem;
41+
line-height: 23px;
42+
font-size: 1rem;
4343
margin-left: 1vh;
4444
}
4545

frontend/src/components/aboutUs/style.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
color: rgba(255, 255, 255, 0.9);
2020
text-shadow: -4px 4px 4px #10abc2;
2121
font-family: var(--heading-font);
22-
font-size: 6rem;
22+
font-size: 5.2rem;
2323
padding: 0;
2424
}
2525
.heading2 {
2626
margin: -2vh 0;
2727
padding: 0;
2828
text-transform: uppercase;
29-
font-size: 6rem;
29+
font-size: 5.2rem;
3030
font-family: var(--heading-font);
3131
color: #00050b;
3232
text-shadow: -4px 4px 4px #10abc2;
@@ -43,8 +43,8 @@
4343
color: rgba(255, 255, 255, 0.75);
4444
font-family: monospace;
4545
width: 80%;
46-
font-size: 1.1rem;
47-
line-height: 26px;
46+
font-size: 1rem;
47+
line-height: 23px;
4848
}
4949
.hide {
5050
text-decoration: none;
33.6 KB
Binary file not shown.

frontend/src/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ code {
1111
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
1212
monospace;
1313
}
14+
15+
@font-face {
16+
font-family: "Monument Extended";
17+
src: url("./fonts/MonumentExtended-Regular.otf");
18+
}

frontend/src/pages/homePage/style.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
font-family: monospace;
2727
font-style: normal;
2828
font-weight: normal;
29-
font-size: 1.5rem;
29+
font-size: 1.4rem;
3030
margin: 5vh 0;
3131
width: 30vw;
3232
line-height: 31px;

0 commit comments

Comments
 (0)