Skip to content

Commit bb18594

Browse files
committed
Headings: harmonize h1/h2/h3 hierarchy across all pages
One h1 per page (page title only). Section headers become h2, subsections h3. Project taglines demoted from h2 to p. Hero tech list and project subtitles converted to p. Add h1 'About QuantStack' to about page. Rename 'We have worked with' to 'Trusted by'.
1 parent 17baa24 commit bb18594

17 files changed

Lines changed: 57 additions & 54 deletions

src/components/about/FourValues.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { valuesDetails } from "./Values/valuesDetails";
55
export default function FourValues() {
66
return (
77
<>
8-
<h1>Our values</h1>
8+
<h2>Our values</h2>
99
<CardGrid cols={4}>
1010
{valuesDetails.map((value, index) => (
1111
<li key={index}>

src/components/about/SubTeam.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import CardGrid from "../layout/CardGrid";
55
export default function SubTeam({ subTeamName, subTeam }) {
66
return (
77
<div className={styles.subteam_container}>
8-
<h2 className="text--center">{subTeamName}</h2>
8+
<h3 className="text--center">{subTeamName}</h3>
99
<CardGrid cols={3}>
1010
{subTeam.map((person) => (
1111
<li key={person.pageName}>

src/components/about/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ export function About() {
2020
return (
2121
<>
2222
<Section pageTop bg="light">
23+
<h1>About QuantStack</h1>
2324
<FourValues />
2425
</Section>
2526
<Section>
26-
<h1>Meet the QuantStack team</h1>
27+
<h2>Meet the QuantStack team</h2>
2728
<div className={styles.team_description}>
2829
A team of outliers, leaders in software projects adopted at the
2930
global scale, benefiting millions of people worldwide.

src/components/home/Hero/index.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import styles from "./styles.module.css";
2-
import LogoGrid from "./LogosTableBy8";
32
import Astronaut from "/img/quantstack/astronaut.svg";
43
import Banner from "./Banner";
54

@@ -17,9 +16,9 @@ export function Hero() {
1716
A team behind major open-source projects of the scientific
1817
computing ecosystem
1918
</p>
20-
<h2 className={styles.h2_custom}>
19+
<p className={styles.tech_tagline}>
2120
Jupyter, Conda-forge, Mamba, Voilà, Xtensor and more.
22-
</h2>
21+
</p>
2322
</div>
2423
<div className={styles.hero_image}>
2524
<Astronaut
@@ -29,8 +28,6 @@ export function Hero() {
2928
/>
3029
</div>
3130
</div>
32-
<div className={styles.worked_with}>We have worked with</div>
33-
<LogoGrid />
3431
</div>
3532
</div>
3633
);

src/components/home/Hero/styles.module.css

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
.h2_custom {
1+
.tech_tagline {
22
color: var(--ifm-color-blue-jupyter);
3+
font-size: var(--ifm-font-size-secondary-title);
4+
font-weight: 700;
35
}
46

57
.sub_header {
@@ -142,33 +144,6 @@
142144
font-size: 24px;
143145
}
144146

145-
.customer_logo {
146-
height: 36px;
147-
width: auto;
148-
filter: grayscale(1);
149-
opacity: 0.75;
150-
object-fit: contain;
151-
}
152-
153-
.logo_grid {
154-
display: flex;
155-
flex-wrap: wrap;
156-
justify-content: center;
157-
align-items: center;
158-
gap: var(--ifm-spacing-xl) var(--ifm-spacing-2xl);
159-
padding: var(--ifm-spacing-lg) 0;
160-
}
161-
162-
.worked_with {
163-
font-size: 13px;
164-
font-weight: 400;
165-
font-family: var(--ifm-font-family-roboto);
166-
color: var(--ifm-color-neutral-n1);
167-
text-align: center;
168-
letter-spacing: 0.12em;
169-
text-transform: uppercase;
170-
margin-bottom: var(--ifm-spacing-lg);
171-
}
172147

173148
@media only screen and (max-width: 576px) {
174149
.banner_container_medium { display: none }

src/components/home/ProjectsOverview/Computing.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export default function ComputingProjects() {
88
<SplitSection
99
image={<XTensorXSIMDPicture style={{ maxWidth: "100%" }} />}
1010
>
11-
<h1 className="padding-none">Scientific computing</h1>
12-
<h2 className={styles.h2_custom}>Supporting the development of several C++ scientific computing packages.</h2>
11+
<h2 className="padding-none">Scientific computing</h2>
12+
<p className={styles.tagline}>Supporting the development of several C++ scientific computing packages.</p>
1313
<ComputingMD />
1414
</SplitSection>
1515
);

src/components/home/ProjectsOverview/DataAnalysis.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export default function DataAnalysisProjects() {
1010
reverse
1111
image={<ApacheArrowPicture style={{ maxWidth: "100%" }} />}
1212
>
13-
<h1 className="padding-none">Data Analysis</h1>
14-
<h2 className={styles.h2_custom}>Supporting the development of key data analysis technologies.</h2>
13+
<h2 className="padding-none">Data Analysis</h2>
14+
<p className={styles.tagline}>Supporting the development of key data analysis technologies.</p>
1515
<DataAnalysisMD />
1616
</SplitSection>
1717
);

src/components/home/ProjectsOverview/Jupyter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export default function JupyterProject() {
88
<SplitSection
99
image={<img src={JupyterPictureUrl} alt={"Picture showing two jupyterlab user interfaces"} style={{ maxWidth: "100%" }} />}
1010
>
11-
<h1 className="padding-none">Jupyter project</h1>
12-
<h2 className={styles.h2_custom}>We strive to sustain the project in the long term.</h2>
11+
<h2 className="padding-none">Jupyter project</h2>
12+
<p className={styles.tagline}>We strive to sustain the project in the long term.</p>
1313
<JupyterMD />
1414
</SplitSection>
1515
);

src/components/home/ProjectsOverview/Robotics.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export default function RoboticsProjects() {
1010
reverse
1111
image={<img src={RoboticsPictureUrl} alt={"Picture showing two jupyterlab user interfaces displaying robotics projects."} style={{ maxWidth: "100%" }} />}
1212
>
13-
<h1 className="padding-none">Robotics</h1>
14-
<h2 className={styles.h2_custom}>We just kicked off a new initiative to Robotics education.</h2>
13+
<h2 className="padding-none">Robotics</h2>
14+
<p className={styles.tagline}>We just kicked off a new initiative to Robotics education.</p>
1515
<RoboticsMD />
1616
</SplitSection>
1717
);

src/components/home/ProjectsOverview/SpecialProjects.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export default function SpecialProjects() {
88
<SplitSection
99
image={<img src={SpecialProjectsPictureUrl} alt={"Picture showing examples of Jupyter CAD projects in Jupyterlab."} style={{ maxWidth: "100%", maxHeight: "500px", objectFit: "contain" }} />}
1010
>
11-
<h1 className="padding-none">Special projects</h1>
12-
<h2 className={styles.h2_custom}>Applications built from the ground up and addressing a complete use case.</h2>
11+
<h2 className="padding-none">Special projects</h2>
12+
<p className={styles.tagline}>Applications built from the ground up and addressing a complete use case.</p>
1313
<SpecialProjectsMD />
1414
</SplitSection>
1515
);

0 commit comments

Comments
 (0)