Skip to content

Commit f9872a9

Browse files
Fix style issues.
1 parent 0f89659 commit f9872a9

File tree

4 files changed

+34
-10
lines changed

4 files changed

+34
-10
lines changed

src/components/about/Avatar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export default function Avatar({ person }) {
1212
"working at QuantStack as a " +
1313
person.position
1414
}
15+
width={"300px"}
16+
height={"300px"}
1517
/>
1618
</div>
1719
);

src/components/about/LargePortraitCard.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import Link from "@docusaurus/Link";
55
import React from "react";
66
import Avatar from "./Avatar";
77

8-
9-
108
export function Distinction({ person }) {
119
if (person.distinctionTitle.length !== 0) {
1210
return (
@@ -33,10 +31,20 @@ export default function LargePortraitCard({ person }) {
3331
<div className={"container"}>
3432
<div className={"row padding-none"}>
3533
<div className="col col--12 col--offset-1">
36-
<div className={styles.large_card_complete_name}>
34+
<div
35+
className={
36+
styles.large_card_complete_name
37+
}
38+
>
3739
{person.completeName}
3840
</div>
39-
<div className={styles.large_card_position}>{person.position}</div>
41+
<div
42+
className={
43+
styles.large_card_position
44+
}
45+
>
46+
{person.position}
47+
</div>
4048
</div>
4149
</div>
4250
<div className="row">

src/components/about/styles.module.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ div .row {
2727

2828
.bio_container {
2929
font-family: var(--ifm-font-family-roboto);
30-
font-size: 16px;
30+
font-size: 14px;
3131
font-style: normal;
3232
font-weight: 400;
3333
line-height: 24px;
@@ -59,14 +59,15 @@ div .row {
5959

6060
.large_card_complete_name {
6161
font-family: var(--ifm-font-family-roboto);
62-
font-size: 32px;
62+
font-size: 28px;
6363
color: var(---ifm-text-color);
6464
font-style: normal;
6565
font-weight: 400;
6666
line-height: 40px;
6767
color: var(--ifm-color-primary-p2);
6868
}
69-
s .large_card_position {
69+
70+
.large_card_position {
7071
font-size: var(--ifm--font-size-normal);
7172
font-family: var(--ifm-font-family-roboto);
7273
color: var(--ifm-color-primary-p2);
@@ -76,6 +77,9 @@ s .large_card_position {
7677
letter-spacing: 0.5px;
7778
}
7879

80+
81+
82+
7983
a {
8084
color: var(--ifm-color-primary-p2);
8185
}
@@ -160,6 +164,14 @@ div .join_the_team_text {
160164
line-height: 150%;
161165
text-align: center;
162166
}
167+
168+
.large_card_complete_name {
169+
text-align: center;
170+
}
171+
172+
.large_card_position {
173+
text-align: center;
174+
}
163175
}
164176

165177
@media only screen and (min-width: 996px) {

src/components/home/Hero/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ export function Hero() {
2828
styles.astronaut_column
2929
}
3030
>
31-
<div className={styles.astronaut_container}>
32-
<Astronaut alt={"Astronaut mascot of QuantStack"} />
33-
</div>
31+
<Astronaut
32+
alt={"Astronaut mascot of QuantStack"}
33+
width={"300px"}
34+
height={"300px"}
35+
/>
3436
</div>
3537
</div>
3638
</div>

0 commit comments

Comments
 (0)