Skip to content

Commit 18d4957

Browse files
committedFeb 21, 2021
[temp fix] fixed home icons
1 parent 45ddd25 commit 18d4957

File tree

4 files changed

+42
-27
lines changed

4 files changed

+42
-27
lines changed
 

‎src/css/custom.css

+8-10
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,6 @@
6969
border-radius: 15px;
7070
}
7171

72-
.core-values .core-icons {
73-
margin-bottom: 3rem;
74-
}
75-
76-
.core-values h2 {
77-
font-size: 2rem;
78-
}
79-
8072
/* STRUCTURE */
8173
.col {
8274
border-style: none;
@@ -99,11 +91,17 @@ h1 {
9991
}
10092

10193
/* FONTAWESOME */
102-
.core-icons {
94+
/* TEMP FIX: for core values icons */
95+
.svg-inline--fa {
96+
/* color: red; */
10397
font-size: 10rem;
104-
10598
}
10699

100+
/* .core-icons {
101+
font-size: 10rem !important;
102+
color: red;
103+
} */
104+
107105
/* SCROLLBAR */
108106
/* FireFox: can't resize scrollbar, can't use border-radius on scrollbar */
109107
* {

‎src/pages/index.js

+22-11
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,35 @@ function CoreValues() {
1212
return (
1313
<div class={clsx(styles.sectionPadding)}>
1414
<section class="container">
15-
<div class="row core-values">
15+
<div class="row">
1616
<div class="col col--4 centered">
1717
{/* <FontAwesomeIcon icon={faHandshake} color="orange" size="xs"/> */}
1818
{/* <FontAwesomeIcon icon={faHandshake} color="orange" size="6x"/> */}
19-
{/* <FontAwesomeIcon icon={faHandshake} class={clsx("test")} /> */}
20-
<FontAwesomeIcon icon={faHandshake} class={"core-icons"} />
21-
<h2>Networking</h2>
22-
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
19+
20+
{/* TEMP FIX: use .svg-inline--fa to directly target icon */}
21+
{/* when using class={}, icon auto fills the container but can't resize with .core-icons class */}
22+
{/* <FontAwesomeIcon icon={faHandshake} class={clsx("core-icons")}/> */}
23+
<FontAwesomeIcon icon={faHandshake}/>
24+
<div class={clsx("padding--sm centered")}>
25+
<h2>Networking</h2>
26+
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
27+
</div>
2328
</div>
2429
<div class="col col--4 centered">
25-
<FontAwesomeIcon icon={faShieldAlt} class={"core-icons"} />
26-
<h2>Cybersecurity</h2>
27-
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
30+
{/* <FontAwesomeIcon icon={faShieldAlt} class={clsx("core-icons")}/> */}
31+
<FontAwesomeIcon icon={faShieldAlt}/>
32+
<div class={clsx("padding--sm centered")}>
33+
<h2>Cybersecurity</h2>
34+
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
35+
</div>
2836
</div>
2937
<div class="col col--4 centered">
30-
<FontAwesomeIcon icon={faDatabase} class={"core-icons"} />
31-
<h2>System Admin</h2>
32-
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
38+
{/* <FontAwesomeIcon icon={faDatabase} class={clsx("core-icons")} /> */}
39+
<FontAwesomeIcon icon={faDatabase}/>
40+
<div class={clsx("padding--sm centered")}>
41+
<h2>System Admin</h2>
42+
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
43+
</div>
3344
</div>
3445
</div>
3546
</section>

‎src/pages/membership.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import styles from "./styles.module.css";
88

99
function Steps() {
1010
return (
11-
<div class={styles.sectionPadding}>
11+
<div class={clsx(styles.sectionPadding)}>
1212
<div class="container">
1313
<div class="row">
1414
<div class="col centered padding--lg">
@@ -124,7 +124,7 @@ function Description() {
124124
<div class={styles.sectionPadding}>
125125
<div class="container">
126126
{/* <div class={styles.description}> */}
127-
<div class={clsx(styles.description, "margin-centered padding--lg")}>
127+
<div class={clsx("margin-centered padding--xl")}>
128128
<p>
129129
<span class={styles.firstWord}>SWIFT</span> is a way of moving your college career to the next level.
130130
Joining is a three step process, but it should not take more then 10

‎src/pages/styles.module.css

+10-4
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,26 @@
5050
width: 200px;
5151
}
5252

53+
/* Section */
54+
.sectionIcon {
55+
font-size: 24px;
56+
color: red;
57+
}
58+
5359

5460
/* Text */
5561
.firstWord {
5662
font-size: 1.5rem;
5763
color: var(--color-blue-light);
5864
}
5965

60-
.description {
66+
/* .description {
6167
width: 80%;
62-
}
68+
} */
6369

64-
.description > p {
70+
/* .description > p {
6571
margin-top: 1rem;
66-
}
72+
} */
6773

6874
/* Quote */
6975
.quote {

0 commit comments

Comments
 (0)
Please sign in to comment.