Skip to content

Commit

Permalink
Fix style issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaudinFlorence committed Jul 17, 2024
1 parent 0f89659 commit da01a28
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 11 deletions.
2 changes: 2 additions & 0 deletions src/components/about/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default function Avatar({ person }) {
"working at QuantStack as a " +
person.position
}
width={"300px"}
height={"300px"}
/>
</div>
);
Expand Down
16 changes: 12 additions & 4 deletions src/components/about/LargePortraitCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import Link from "@docusaurus/Link";
import React from "react";
import Avatar from "./Avatar";



export function Distinction({ person }) {
if (person.distinctionTitle.length !== 0) {
return (
Expand All @@ -33,10 +31,20 @@ export default function LargePortraitCard({ person }) {
<div className={"container"}>
<div className={"row padding-none"}>
<div className="col col--12 col--offset-1">
<div className={styles.large_card_complete_name}>
<div
className={
styles.large_card_complete_name
}
>
{person.completeName}
</div>
<div className={styles.large_card_position}>{person.position}</div>
<div
className={
styles.large_card_position
}
>
{person.position}
</div>
</div>
</div>
<div className="row">
Expand Down
20 changes: 16 additions & 4 deletions src/components/about/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ div .row {

.bio_container {
font-family: var(--ifm-font-family-roboto);
font-size: 16px;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 24px;
Expand Down Expand Up @@ -59,14 +59,15 @@ div .row {

.large_card_complete_name {
font-family: var(--ifm-font-family-roboto);
font-size: 32px;
font-size: 28px;
color: var(---ifm-text-color);
font-style: normal;
font-weight: 400;
line-height: 40px;
color: var(--ifm-color-primary-p2);
}
s .large_card_position {
}cg

.large_card_position {
font-size: var(--ifm--font-size-normal);
font-family: var(--ifm-font-family-roboto);
color: var(--ifm-color-primary-p2);
Expand All @@ -76,6 +77,9 @@ s .large_card_position {
letter-spacing: 0.5px;
}




a {
color: var(--ifm-color-primary-p2);
}
Expand Down Expand Up @@ -160,6 +164,14 @@ div .join_the_team_text {
line-height: 150%;
text-align: center;
}

.large_card_complete_name {
text-align: center;
}

.large_card_position {
text-align: center;
}
}

@media only screen and (min-width: 996px) {
Expand Down
8 changes: 5 additions & 3 deletions src/components/home/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ export function Hero() {
styles.astronaut_column
}
>
<div className={styles.astronaut_container}>
<Astronaut alt={"Astronaut mascot of QuantStack"} />
</div>
<Astronaut
alt={"Astronaut mascot of QuantStack"}
width={"300px"}
height={"300px"}
/>
</div>
</div>
</div>
Expand Down

0 comments on commit da01a28

Please sign in to comment.