Skip to content

Commit 0fad20a

Browse files
Keep on working on style and css classes.
Add svg pictures for the mobile menu. Fix portrait pop up for mobile screen sizes.
1 parent 1441977 commit 0fad20a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+978
-785
lines changed

package-lock.json

Lines changed: 170 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"probe-image-size": "^7.2.3",
4343
"python": "^0.0.4",
4444
"react": "^18.0.0",
45+
"react-bootstrap": "^2.10.4",
4546
"react-dom": "^18.0.0",
4647
"react-markdown": "^9.0.1",
4748
"react-slick": "^0.30.2",

src/components/about/Avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function Avatar({ person }) {
1111
height={"160px"}
1212
alt={
1313
"Avatar of " +
14-
person.CompleteName +
14+
person.completeName +
1515
"working at QuantStack as a " +
1616
person.position
1717
}

src/components/about/FourValues.tsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { valuesDetails } from "./Values/valuesDetails";
44

55
export default function FourValues() {
66
return (
7-
<div className={styles.four_values_container}>
7+
<div>
88
<div className="row">
99
<div className="col">
1010
<h1 className={"padding-none" + " " + "full-flex-centered"}>
@@ -14,21 +14,13 @@ export default function FourValues() {
1414
</div>
1515
<ul
1616
className={
17-
"row" +
18-
" " +
19-
"padding-none" +
20-
" " +
21-
styles.row_with_margins +
22-
" " +
23-
"flex-full-centered"
17+
"row padding-none flex-full-centered" + " " + styles.row_with_margins
2418
}
2519
>
2620
{valuesDetails.map((value, index) => (
2721
<li className="cards-list" key={index}>
2822
<div className="col">
29-
<div className={styles.value_card_container}>
30-
<ValueCard value={value} />
31-
</div>
23+
<ValueCard value={value} />
3224
</div>
3325
</li>
3426
))}

src/components/about/LargePortraitCard.tsx

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@ import styles from "./styles.module.css";
22
import SocialMediaContacts from "./SocialMediaContacts";
33
import DistinctionIcon from "@site/static/img/icons/Distinction.svg";
44
import Link from "@docusaurus/Link";
5+
import React, { useState } from "react";
6+
7+
export function Avatar({ person, avatarUrl }) {
8+
return (
9+
<img
10+
src={avatarUrl}
11+
className={styles.avatar}
12+
alt={
13+
"Avatar of " +
14+
person.completeName +
15+
"working at QuantStack as a " +
16+
person.position
17+
}
18+
/>
19+
20+
);
21+
}
522

623
export function Distinction({ person }) {
724
if (person.distinctionTitle.length !== 0) {
@@ -27,33 +44,29 @@ export default function LargePortraitCard({ person, avatarUrl, BioComponent }) {
2744
return (
2845
<div className={styles.large_portrait_card}>
2946
<div className={"container"}>
30-
<div
31-
className={
32-
"row" + " " + "padding-none" + " " + styles.row_with_margins
33-
}
34-
>
47+
<div className={"row padding-none"}>
3548
<div className="col col--12 col--offset-1">
3649
<div className={styles.large_card_complete_name}>
3750
{person.completeName}
3851
</div>
3952
<div className={styles.large_card_position}>{person.position}</div>
4053
</div>
4154
</div>
42-
<div className="row" style={{ marginBottom: "var(--ifm-spacing-4xl)" }}>
43-
<div
44-
className={"col col--3 col--offset-1" + " " + "flex-full-centered"}
45-
>
55+
<div className={"row" + " " + styles.row_with_margin_bottom}>
56+
<div className={"col col--3 col--offset-1 flex-full-centered"}>
4657
<div className="flex-full-centered">
58+
<div style={{marginBottom:"var(--ifm-spacing-lg)"}}>
4759
<img
4860
src={avatarUrl}
4961
className={styles.avatar}
5062
alt={
5163
"Avatar of " +
52-
person.CompleteName +
64+
person.completeName +
5365
"working at QuantStack as a " +
5466
person.position
5567
}
5668
/>
69+
</div>
5770
</div>
5871
</div>
5972
<div className="col col--6 col--offset-1">

0 commit comments

Comments
 (0)