Skip to content

Commit

Permalink
Keep on working on style and css classes. Add svg pictures for the mo…
Browse files Browse the repository at this point in the history
…bile menu.
  • Loading branch information
HaudinFlorence committed Jul 14, 2024
1 parent 1441977 commit c00c730
Show file tree
Hide file tree
Showing 60 changed files with 512 additions and 610 deletions.
2 changes: 1 addition & 1 deletion src/components/about/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Avatar({ person }) {
height={"160px"}
alt={
"Avatar of " +
person.CompleteName +
person.completeName +
"working at QuantStack as a " +
person.position
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/about/FourValues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { valuesDetails } from "./Values/valuesDetails";

export default function FourValues() {
return (
<div className={styles.four_values_container}>
<div className="upper-container-with-margin-top">
<div className="row">
<div className="col">
<h1 className={"padding-none" + " " + "full-flex-centered"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/about/LargePortraitCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function LargePortraitCard({ person, avatarUrl, BioComponent }) {
className={styles.avatar}
alt={
"Avatar of " +
person.CompleteName +
person.completeName +
"working at QuantStack as a " +
person.position
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/about/SmallPortraitCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function SmallPortraitCard({ person, avatarUrl, setOffsets }) {
height={"160px"}
alt={
"Avatar of " +
person.CompleteName +
person.completeName +
"working at QuantStack as a " +
person.position
}
Expand Down
1 change: 0 additions & 1 deletion src/components/about/SubTeam.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import styles from "./styles.module.css";
import Link from "@docusaurus/Link";
import PopupPortrait from "./SmallPortraitCard";

export default function SubTeam ({
Expand Down
25 changes: 5 additions & 20 deletions src/components/about/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ import FourValues from "./FourValues";
import SubTeam from "./SubTeam";
import LinkToContact from "../home/LinkToContact";


export function About() {
return (
<div>
<div className="main-container-with-margins">
<div className={"container" + " " + styles.about_container}>
<div className="container upper-container-with-margin-top">
<div className={"row"}>
<div className={"col" + " " + "flex-full-centered"}>
<FourValues />
Expand Down Expand Up @@ -59,24 +58,10 @@ export function About() {
</div>
</div>
</div>
<div className={styles.join_the_team_container}>
<h1
className={
"text--center" +
" " +
"padding-none" +
" " +
"h1-margin-none" +
" " +
styles.join_the_team_title
}
>
Join the team
</h1>
<div className={styles.join_the_team_text}>
QuantStack is seeking talents in the open-source scientific computing
community. Join a team committed to open-science and free software.
</div>
<div className="blue-banner-container">
<div className="blue-banner-header">Join the team</div>
QuantStack is seeking talents in the open-source scientific computing
community. Join a team committed to open-science and free software.
<LinkToContact label={"JOIN THE TEAM!"} />
</div>
</div>
Expand Down
4 changes: 0 additions & 4 deletions src/components/about/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ div .row {
margin-right: 0;
}

.about_container {
margin-top: var(--ifm-spacing-6xl);
}

.value_card {
height: 540px;
width: 264px;
Expand Down
4 changes: 1 addition & 3 deletions src/components/blog/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,4 @@ div .blogpost_date {
var(--ifm-spacing-lg);
}

.blogposts_container {
margin: var(--ifm-spacing-6xl) 0;
}

14 changes: 0 additions & 14 deletions src/components/careers/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +0,0 @@
import styles from "./styles.module.css";
import GroupPhotoJupyterConUrl from "@site/static/img/group/group-photo.png";

export default function Header() {
return (
<div className={styles.careers_header}>
<h1 className="text--center">Join the QuantStack team!</h1>
<div className={styles.group_photo_container + " " + "flex-full-centered"}>
<img src={GroupPhotoJupyterConUrl} alt={"Picture showing QuantStack people gathered at the Jupytercon in Paris in May 2023."}/>
</div>
</div>
);
}

2 changes: 1 addition & 1 deletion src/components/careers/InterviewPicture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function InterviewPicture({ person }) {
src={person.pictureRoute}
alt={
"Picture of" +
person.CompleteName +
person.completeName +
"working at QuantStack as a" +
person.position
}
Expand Down
17 changes: 2 additions & 15 deletions src/components/careers/VisitWTJProfile.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
import styles from "./styles.module.css";
import LinkToWTJ from "./LinkToWTJ";

export default function VisitWTJProfile() {
return (
<div className={styles.WTJ_profile_container}>
<h1
className={
"text--center" +
" " +
"padding-none" +
" " +
"h1-margin-none" +
" " +
styles.learn_more_WTJ
}
>
LEARN MORE ON OUR WELCOME TO THE JUNGLE WEB PAGE
</h1>
<div className="blue-banner-container">
Learn more on our Welcome to the Jungle web page.
<LinkToWTJ label={"OPEN OUR PROFILE"} />
</div>
);
Expand Down
23 changes: 20 additions & 3 deletions src/components/careers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,32 @@ import Interviews from "./Interviews";
import Header from "./Header";
import VisitWTJProfile from "./VisitWTJProfile";
import JoinTheTeam from "./JoinTheTeam";
import GroupPhotoJupyterConUrl from "@site/static/img/group/group-photo.png";

export default function Careers() {
return (
<div>
<div className="main-container-with-margins">
<div className={"container" + " " + styles.careers_container}>
<div className={"row" + " " + "padding-none" + " "+ "flex-full-centered"}>
<div className="container upper-container-with-margin-top">
<div
className={
"row padding-none flex-full-centered"
}
>
<div className="col">
<Header />
<h1 className="text--center">Join the QuantStack team!</h1>
<div
className={
styles.group_photo_container + " " + "flex-full-centered"
}
>
<img
src={GroupPhotoJupyterConUrl}
alt={
"Picture showing QuantStack people gathered at the Jupytercon in Paris in May 2023."
}
/>
</div>
</div>
</div>
<div
Expand Down
29 changes: 0 additions & 29 deletions src/components/careers/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,13 @@
-ms-transform: translate(-50%, -50%);
}

div .learn_more_WTJ {
color: var(--ifm-color-secondary-s2);
margin-bottom: var(--ifm-spacing-2xl);
}

.link_to_WTJ {
background-color: var(--ifm-color-secondary-s2);
color: white;
width: 358px;
font-weight: 700;
}

.careers_container {
margin-top: var(--ifm-spacing-6xl);
}

.interview_card {
width: 280px;
height: 300px;
Expand Down Expand Up @@ -97,23 +88,3 @@ div .learn_more_WTJ {
line-height: 24px; /* 133.333% */
letter-spacing: 0.5px;
}

.WTJ_profile_container {
margin: var(--ifm-spacing-6xl) 0 var((--ifm-spacing-2xl)) 0;
background-color: var(--ifm-color-secondary-s1);
padding: var(--ifm-spacing-2xl) var(--ifm-spacing-2xl);
font-family: var(--ifm-font-family-roboto);
font-size: 28px;
text-align: center;
}

.learn_more_WTJ {
margin-bottom: var(--ifm-spacing-2xl);
text-align: center;
font-family: var(--ifm-font-family-bebas-neue);
font-size: var(--ifm-font-size-main-title);
font-style: normal;
font-weight: 600;
line-height: 150%; /* 72px */
letter-spacing: 2.112px;
}
2 changes: 1 addition & 1 deletion src/components/contact/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ContactIllustration from "/img/illustrations/contact.svg"

export function Contact() {
return (
<div className={"container" + " " + styles.contact_container}>
<div className="container upper-container-with-margin-top">
<div className={"row"}>
<div
className={
Expand Down
3 changes: 0 additions & 3 deletions src/components/contact/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
width: 508px;
margin-top: var(--ifm-spacing-2xl);
}
.contact_container {
margin: var(--ifm-spacing-5xl) 0;
}

.contact_form {
margin-top: var(--ifm-spacing-xl);
Expand Down
33 changes: 12 additions & 21 deletions src/components/home/AboutQS/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,18 @@ import LinkToAboutUs from "../LinkToAboutUs";

export default function AboutQS() {
return (
<div className={"container" + " " + styles.about_us_container}>
<div
className={"row" + " " + "flex-full-centered" + " " + "padding-none"}
>
<div className={"col" + " " + "padding-none" + " " + "margin-none"}>
<div className={styles.text_container}>
<div className={"container" + " " + styles.aboutQS_container}>
<div className={"row flex-full-centered padding-none"}>
<div className={"col padding-none margin-none"}>
<div className={styles.aboutQS_text}>
We are a team of expert of open-source developers, the very same
people behind a number of technologies that you already use.
</div>
</div>
</div>
<div
className={"row" + " " + "flex-full-centered" + " " + "padding-none"}
>
<div className={"col" + " " + "padding-none" + " " + "margin-none"}>
<div
className="flex-full-centered"
style={{ marginBottom: "var(--ifm-spacing-2xl)" }}
>
<div className={"row flex-full-centered padding-none"}>
<div className={"col padding-none margin-none"}>
<div className="flex-full-centered">
<img
src={GroupPhotoUrl}
alt={
Expand All @@ -32,13 +25,11 @@ export default function AboutQS() {
</div>
</div>
</div>
<div
className={"row" + " " + "flex-full-centered" + " " + "padding-none"}
>
<div className={"col" + " " + "padding-none"}>
<LinkToAboutUs label={"LEARN MORE ABOUT US"} />

<div className="spacing-2xl" />
<div className={"row flex-full-centered padding-none"}>
<div className={"col padding-none"}>
<div className={styles.learn_more_button_container}>
<LinkToAboutUs label={"LEARN MORE ABOUT US"} />
</div>
</div>
</div>
</div>
Expand Down
39 changes: 28 additions & 11 deletions src/components/home/AboutQS/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
.about_us_container {
margin-top: var(--ifm-spacing-2xl);
background-color: var(--ifm-color-primary-p1);
}
@media only screen and (max-width: 996px) {
.aboutQS_container {
background-color: var(--ifm-color-secondary-s2);
color: white;
padding: var(--ifm-spacing-2xl) var(--ifm-spacing-2xl) 0
var(--ifm-spacing-2xl);
text-align: center;
}

.aboutQS_text {
font-size: 14px;
text-align: center;
margin-bottom: var(--ifm-spacing-xl);
}

div .text_container {
color: var(--ifm-color-primary-p2);
}

.text_container {
font-size: 24px;
text-align: center;
margin-bottom: var(--ifm-spacing-lg);
padding: var(--ifm-spacing-5xl) var(--ifm-spacing-5xl);
@media only screen and (min-width: 996px) {
.aboutQS_container {
margin-top: var(--ifm-spacing-2xl);
background-color: var(--ifm-color-primary-p1);
color: var(--ifm-color-primary-p2);
padding: var(--ifm-spacing-2xl) var(--ifm-spacing-5xl) 0
var(--ifm-spacing-5xl);
}

.aboutQS_text {
font-size: 24px;
text-align: center;
margin-bottom: var(--ifm-spacing-lg);
}
}
Loading

0 comments on commit c00c730

Please sign in to comment.