Skip to content

New QuantStack website #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 50 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
668fdd0
Initiate new QuantStack's website's project.
HaudinFlorence Apr 9, 2024
1a5b090
Update the landing page and start to work on the about us page.
HaudinFlorence Apr 16, 2024
08eb5dc
Update already existing pages and start to work on Projects and Servi…
HaudinFlorence Apr 26, 2024
9cb9b13
Work on About Page, perfom updates on existing pages and reorganisati…
HaudinFlorence May 1, 2024
5adf64a
Update existing pages, complete the contact page, work on a first ver…
HaudinFlorence May 14, 2024
087472c
Start to work on the careers page.
HaudinFlorence May 16, 2024
ae81db8
Update pages and try to improve logics, styles and components.
HaudinFlorence May 29, 2024
189eef1
Update pages and update docusaurus to version 3.3.2.
HaudinFlorence May 30, 2024
cdb2fb1
Update pages, add popup logics for portraits card and add mobile desk…
HaudinFlorence Jun 3, 2024
979e647
Update docusaurus.config.ts and other docusaurus files.
HaudinFlorence Jun 3, 2024
527aec4
Fix pathes to pictures for png and svg pictures, after trying to buil…
HaudinFlorence Jun 6, 2024
c7da4fa
Update popup for the large portrait cards and fix some styling issues.
HaudinFlorence Jun 7, 2024
6d81a00
Add a .github/workflows/static.yml to try a deployment from github ac…
HaudinFlorence Jun 7, 2024
9f71c2a
Update Docusaurus version to 3.4.
HaudinFlorence Jun 7, 2024
b3a6838
Update static.yml file.
HaudinFlorence Jun 7, 2024
d3225ab
Update footer and fix a column width issue in projects page in deskto…
HaudinFlorence Jun 7, 2024
d42e197
Add the mobile design for the services page and fix various issues.
HaudinFlorence Jun 10, 2024
a66c699
Update careers page.
HaudinFlorence Jun 10, 2024
6a4a0e5
Replace logos by versions without background.
HaudinFlorence Jun 11, 2024
83291b9
Add the detailled portrait pages for the mobile design.
HaudinFlorence Jun 12, 2024
9314c1e
Use the script yml-to-json.ts in /src/components/blog to produce a .j…
HaudinFlorence Jun 13, 2024
bb7dc5a
Add all blogposts images assets.
HaudinFlorence Jun 20, 2024
c21fa94
Fix style issues and add some logics to have 2 alternating colors for…
HaudinFlorence Jun 20, 2024
a4aaea5
Update the footer.
HaudinFlorence Jun 24, 2024
d1db0ba
Start to implement the logics for the dark mode.
HaudinFlorence Jun 24, 2024
c02402e
Fix style issues and keep on working on dark mode.
HaudinFlorence Jun 26, 2024
143acfe
Simplify the logics around css variables and keep on fixing some styl…
HaudinFlorence Jun 27, 2024
fb9c4a9
Start to work on the PortraitPopup components to be able to place the…
HaudinFlorence Jun 28, 2024
12219b8
Add logics to properly place to portrait popups by calculating the of…
HaudinFlorence Jul 3, 2024
ede860e
Remove .docusaurus from git tracked directories.
HaudinFlorence Jul 3, 2024
987fcab
Try to fix issue with the Hero directory.
HaudinFlorence Jul 3, 2024
cb1dfae
Try another rendering for the project page.
HaudinFlorence Jul 3, 2024
eb47581
Fix some style issues.
HaudinFlorence Jul 4, 2024
3aa3ec8
Add alt text for all pictures.
HaudinFlorence Jul 8, 2024
c2a8f62
Remove logics for the dark mode.
HaudinFlorence Jul 9, 2024
2f061ec
Remove logics of having diffferent components for desktop and for mob…
HaudinFlorence Jul 9, 2024
9c2ad11
Remove most of the media queries in the various css file
HaudinFlorence Jul 10, 2024
3556a64
Add 2 newly added blog posts.
HaudinFlorence Jul 11, 2024
31696e7
Keep on working on style and css classes.
HaudinFlorence Jul 14, 2024
8b905af
Update the team data to include the avatarUrl and the BioComponent in…
HaudinFlorence Jul 15, 2024
002fc1e
Add a blog post.
HaudinFlorence Jul 16, 2024
f4a1744
Fix style issues.
HaudinFlorence Jul 16, 2024
42fc78c
Address style issue comments on the PR.
HaudinFlorence Jul 19, 2024
00165aa
Try to add colors on the background of the home page.
HaudinFlorence Jul 19, 2024
6e01a26
Address style issue comments made on the PR.
HaudinFlorence Jul 30, 2024
f61878e
Gather all the team informations into one single team.ts file, introd…
HaudinFlorence Aug 12, 2024
edc2ca2
Change some colors of buttons and texts on the home page.
HaudinFlorence Aug 12, 2024
6e1be9d
Fix some style issues.
HaudinFlorence Aug 12, 2024
aaba7c3
Change the baseUrl and the url.
HaudinFlorence Aug 13, 2024
c6dc571
Revert change on baseUrl.
HaudinFlorence Aug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update the team data to include the avatarUrl and the BioComponent in…
… the objects describing members of teams.

Remove unused pages and components.
Keep on fixing style.
  • Loading branch information
HaudinFlorence committed Aug 13, 2024
commit 8b905aff74e812eaeb44f2da0acc65600c922871
4 changes: 2 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const config: Config = {
items: [
{
label: " ",
className: "quantstack-astronaut-footer",
className: "astronaut-footer",
href: "/home",
},
],
Expand Down Expand Up @@ -201,7 +201,7 @@ const config: Config = {
{
html: `

<div class="div .quantstack-address">
<div class="div .address">
16, avenue Curti <br/>
94100 Saint-Maur-des-Fossés <br/>
France
Expand Down
13 changes: 0 additions & 13 deletions src/components/about/ArrowLeftHeader.tsx

This file was deleted.

30 changes: 13 additions & 17 deletions src/components/about/Avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
import styles from "./styles.module.css";
import Link from "@docusaurus/Link";

export default function Avatar({ person }) {
return (
return (
<div className="flex-full-centered">
<div className={styles.avatar}>
<img
src={require(person.avatarRoute).default}
width={"160px"}
height={"160px"}
alt={
"Avatar of " +
person.completeName +
"working at QuantStack as a " +
person.position
}
></img>
<img
src={person.avatarUrl}
className={styles.avatar}
alt={
"Avatar of " +
person.completeName +
"working at QuantStack as a " +
person.position
}
/>
</div>
</div>
);
}
);
}
6 changes: 1 addition & 5 deletions src/components/about/FourValues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ export default function FourValues() {
</h1>
</div>
</div>
<ul
className={
"row padding-none flex-full-centered" + " " + styles.row_with_margins
}
>
<ul className="row padding-none flex-full-centered row-with-margins">
{valuesDetails.map((value, index) => (
<li className="cards-list" key={index}>
<div className="col">
Expand Down
38 changes: 8 additions & 30 deletions src/components/about/LargePortraitCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,10 @@ import styles from "./styles.module.css";
import SocialMediaContacts from "./SocialMediaContacts";
import DistinctionIcon from "@site/static/img/icons/Distinction.svg";
import Link from "@docusaurus/Link";
import React, { useState } from "react";
import React from "react";
import Avatar from "./Avatar";


export function Avatar({ person, avatarUrl }) {
return (
<img
src={avatarUrl}
className={styles.avatar}
alt={
"Avatar of " +
person.completeName +
"working at QuantStack as a " +
person.position
}
/>

);
}

export function Distinction({ person }) {
if (person.distinctionTitle.length !== 0) {
Expand All @@ -40,7 +27,7 @@ export function Distinction({ person }) {
);
} else return <div></div>;
}
export default function LargePortraitCard({ person, avatarUrl, BioComponent }) {
export default function LargePortraitCard({ person }) {
return (
<div className={styles.large_portrait_card}>
<div className={"container"}>
Expand All @@ -52,26 +39,17 @@ export default function LargePortraitCard({ person, avatarUrl, BioComponent }) {
<div className={styles.large_card_position}>{person.position}</div>
</div>
</div>
<div className={"row" + " " + styles.row_with_margin_bottom}>
<div className="row">
<div className={"col col--3 col--offset-1 flex-full-centered"}>
<div className="flex-full-centered">
<div style={{marginBottom:"var(--ifm-spacing-lg)"}}>
<img
src={avatarUrl}
className={styles.avatar}
alt={
"Avatar of " +
person.completeName +
"working at QuantStack as a " +
person.position
}
/>
<div style={{ marginBottom: "var(--ifm-spacing-md)" }}>
<Avatar person={person} />
</div>
</div>
</div>
<div className="col col--6 col--offset-1">
<div className={styles.bio_container}>
<BioComponent />
<person.BioComponent />
</div>
</div>
</div>
Expand Down
57 changes: 17 additions & 40 deletions src/components/about/SmallPortraitCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Popup from "reactjs-popup";
import SocialMediaContacts from "./SocialMediaContacts";
import { useRef, useState } from "react";
import LargePortraitCard from "./LargePortraitCard";
import Avatar from "./Avatar";

const contentStyle = {
background: "white",
Expand Down Expand Up @@ -36,7 +37,7 @@ function calculateOffsets(elementRef) {
return offsets;
}

export function SmallPortraitCard({ person, avatarUrl, setOffsets }) {
export function SmallPortraitCard({ person, setOffsets }) {
const elementRef = useRef(null);

return (
Expand All @@ -48,36 +49,18 @@ export function SmallPortraitCard({ person, avatarUrl, setOffsets }) {
setOffsets(calculateOffsets(elementRef));
}}
>
<div className="flex-full-centered">
<div className={styles.avatar}>
<img
src={avatarUrl}
width={"160px"}
height={"160px"}
alt={
"Avatar of " +
person.completeName +
"working at QuantStack as a " +
person.position
}
/>
</div>
</div>
<div className={styles.small_card_complete_name}>
<Avatar person={person} />
<div className={"flex-full-centered" + " " + styles.small_card_complete_name}>
{person.completeName}
</div>
<div className={styles.small_card_position}>{person.position}</div>
<div className={"flex-full-centered" + " " + styles.small_card_position}>{person.position}</div>
<div style={{ marginTop: "var(--ifm-spacing-xl)" }}>
<SocialMediaContacts person={person}></SocialMediaContacts>
</div>
</div>
);
}
export default function PopupPortrait({
person,
avatarUrl,
subTeamBioComponent,
}) {
export default function PopupPortrait({ person }) {
const [offsets, setOffsets] = useState([0, 0]);
let [isPopupOpen, setIsPopupOpen] = useState(false);

Expand All @@ -87,19 +70,14 @@ export default function PopupPortrait({
open={isPopupOpen}
closeOnEscape={true}
closeOnDocumentClick={true}
onClose={()=>setIsPopupOpen(false)}

onClose={() => setIsPopupOpen(false)}
trigger={
<div>
<SmallPortraitCard
person={person}
avatarUrl={avatarUrl}
setOffsets={setOffsets}
/>
<SmallPortraitCard person={person} setOffsets={setOffsets} />
</div>
}
onOpen={() => {
setIsPopupOpen(true)
setIsPopupOpen(true);
}}
contentStyle={contentStyle}
overlayStyle={overlayStyle}
Expand All @@ -108,15 +86,14 @@ export default function PopupPortrait({
offsetY={offsets[1]}
>
<div>
<button className="close-button" style={{position: "absolute", right:"0px"}}
onClick={()=>{setIsPopupOpen(false)

}}></button>
<LargePortraitCard
person={person}
avatarUrl={avatarUrl}
BioComponent={subTeamBioComponent}
></LargePortraitCard>
<button
className="close-button"
style={{ position: "absolute", right: "0px" }}
onClick={() => {
setIsPopupOpen(false);
}}
></button>
<LargePortraitCard person={person}></LargePortraitCard>
</div>
</Popup>
</div>
Expand Down
20 changes: 9 additions & 11 deletions src/components/about/SocialMediaContacts.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
import styles from "./styles.module.css";
import Link from "@docusaurus/Link";
import GHPicture from "@site/static/img/socialmedias/GH.svg";
import LinkedInPicture from "@site/static/img/socialmedias/LinkedIn.svg"
import LinkedInPicture from "@site/static/img/socialmedias/LinkedIn.svg";
import XPicture from "@site/static/img/socialmedias/X.svg";


export default function SocialMediaContacts({ person }) {
return (
<>
<div className = "flex-full-centered">
<Link href={person.githubLink}>{<GHPicture/>}</Link>
<Link href={person.LinkedInLink}>
{<LinkedInPicture/>}
<div className="flex-full-centered">
<Link href={person.githubLink}>{<GHPicture />}</Link>
<Link href={person.LinkedInLink}>{<LinkedInPicture />}</Link>
<Link href={person.XLink}>{<XPicture />}</Link>
</div>
<div className="flex-full-centered">
<Link href={person.githubLink} className={styles.githubname}>
{person.githubName}
</Link>
<Link href={person.XLink}>{<XPicture/>}</Link>
</div>
<Link href={person.githubLink} className={styles.githubname}>
{" "}
{person.githubName}
</Link>
</>
);
}
15 changes: 3 additions & 12 deletions src/components/about/SubTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,19 @@ import PopupPortrait from "./SmallPortraitCard";

export default function SubTeam({
subTeamName,
subTeam,
subTeamAvatarsUrls,
subTeamBioComponents,
subTeam
}) {
return (
<div className={styles.subteam_container}>
<h2 className={"text--center"}> {subTeamName}</h2>
<div className={"container"}>
<ul
className={
"row padding-none flex-full-centered" +
" " +
styles.row_with_margin_top
}
>
<ul className="row padding-none flex-full-centered row-with-margin-top">
{subTeam.map((person, index) => (
<li className="cards-list" key={index}>
<div className="col">
<PopupPortrait
person={person}
avatarUrl={subTeamAvatarsUrls[index]}
subTeamBioComponent={subTeamBioComponents[index]}

/>
</div>
</li>
Expand Down
13 changes: 6 additions & 7 deletions src/components/about/Team/QScollaborators.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import Romain from "@site/src/components/about/Team/Romain.md";
import RomainMD from "@site/src/components/about/Team/Romain.md";
import RomainAvatarUrl from "@site/static/img/avatars/Romain.png";
import Serge from "@site/src/components/about/Team/Serge.md";
import SergeMD from "@site/src/components/about/Team/Serge.md";
import SergeAvatarUrl from "@site/static/img/avatars/Serge.png";

export const QSCollaboratorsBioComponents = [Serge, Romain];
export const QSCollaboratorsAvatarsUrls = [SergeAvatarUrl, RomainAvatarUrl];

export const QSCollaboratorsTeam = [
{
completeName: "Serge Guelton",
Expand All @@ -18,10 +15,11 @@ export const QSCollaboratorsTeam = [
LinkedInLink: "",
XLink: "",
githubName: "@serge-sans-paille",
avatarRoute: "@site/static/img/avatars/Serge@2x.jpg",
avatarUrl: SergeAvatarUrl,
distinctionTitle: [],
distinctionLink: [],
subTeamName: "QSCollaboratorsTeam",
BioComponent: SergeMD,
},
{
completeName: "Romain Menegaux",
Expand All @@ -34,10 +32,11 @@ export const QSCollaboratorsTeam = [
LinkedInLink: "https://www.linkedin.com/in/romain-menegaux-88a147134/",
XLink: "https://twitter.com/RomainMenegaux",
githubName: "@trmenegaux",
avatarRoute: "@site/static/img/avatars/Romain@2x.jpg",
avatarUrl: RomainAvatarUrl,
distinctionTitle: [],
distinctionLink: [],
subTeamName: "QSCollaboratorsTeam",
BioComponent: RomainMD
},
];
export default QSCollaboratorsTeam;
Loading