From 79d516f9d3bcd54d8da66c2be33663afc7d0bc58 Mon Sep 17 00:00:00 2001 From: Ali Khosravi Date: Fri, 3 Jul 2026 15:18:23 +0200 Subject: [PATCH] refactor(styles): consolidate page headers and unify landing section headings (#176, #163) --- src/components/Cite.tsx | 3 +- src/components/Docs.tsx | 6 +-- src/components/Ecosystem.tsx | 6 +-- src/components/LandingPage.tsx | 10 ++-- src/layouts/Science.astro | 4 +- src/pages/acknowledgements.astro | 4 +- src/pages/blog/index.astro | 4 +- src/pages/events.astro | 4 +- src/pages/graph_gallery.astro | 4 +- src/pages/plugin-registry/index.astro | 6 +-- src/pages/team.astro | 4 +- src/pages/testimonials.astro | 4 +- src/pages/use-cases.astro | 4 +- src/styles/blog.css | 21 -------- src/styles/cite.css | 8 +-- src/styles/docs.css | 29 ----------- src/styles/ecosystem.css | 29 ----------- src/styles/global.css | 43 ++++++++++++++++ src/styles/landing.css | 74 ++++++++------------------- src/styles/pages.css | 24 --------- src/styles/registry.css | 30 ----------- 21 files changed, 99 insertions(+), 222 deletions(-) diff --git a/src/components/Cite.tsx b/src/components/Cite.tsx index 269792e4..1257b566 100644 --- a/src/components/Cite.tsx +++ b/src/components/Cite.tsx @@ -110,12 +110,13 @@ export default function Cite({variant = 'section'}: {variant?: 'section' | 'pane const Wrapper = variant === 'section' ? 'section' : 'div'; const wrapperClass = variant === 'section' ? 'cite-section' : 'cite-panel'; const revealAttrs = variant === 'section' ? {'data-reveal': true} : {}; + const headingClass = variant === 'section' ? 'section-heading' : undefined; return (
-

How to cite AiiDA

+

How to cite AiiDA

If AiiDA helped your research, please cite the papers below.

diff --git a/src/components/Docs.tsx b/src/components/Docs.tsx index a5a59ae4..43256480 100644 --- a/src/components/Docs.tsx +++ b/src/components/Docs.tsx @@ -86,13 +86,13 @@ const DOCS: DocEntry[] = [ export default function Docs(): ReactNode { return (
-
+

Documentation

-

+

Find the right documentation for the AiiDA package you're working with. All docs are hosted on Read the Docs.

-
+ {/* Featured: aiida-core */}
diff --git a/src/components/Ecosystem.tsx b/src/components/Ecosystem.tsx index 8d885d01..0deada2b 100644 --- a/src/components/Ecosystem.tsx +++ b/src/components/Ecosystem.tsx @@ -134,13 +134,13 @@ export default function Ecosystem(): ReactNode { return (
-
+

The AiiDA ecosystem

-

+

AiiDA is more than a workflow engine — it's a growing ecosystem of tools, platforms, and community plugins that cover the full lifecycle of computational research.

-
+ {/* Layered architecture diagram */}
diff --git a/src/components/LandingPage.tsx b/src/components/LandingPage.tsx index 5e09f7bc..b5778857 100644 --- a/src/components/LandingPage.tsx +++ b/src/components/LandingPage.tsx @@ -607,7 +607,7 @@ function PluginShowcase(): ReactNode { return (
-

Plugin ecosystem

+

Plugin ecosystem

Extend AiiDA with community plugins for your simulation codes. Each plugin wraps a code with workflows, parsers, and data types — all fully tracked in the provenance graph. @@ -900,7 +900,7 @@ function ProvenanceGraph(): ReactNode { return (

-

Full provenance. Full control.

+

Full provenance. Full control.

Every input, calculation, and output is tracked automatically — keeping your research findable, traceable, and reusable, by FAIR design. @@ -3212,7 +3212,7 @@ function Supporters(): ReactNode { return (

-

Supported by

+

Supported by

-

What researchers say

+

What researchers say