Redoing the landing page so it looks less like a FAQ - #571
Conversation
Automated Review URLs |
|
Uh, love the cards. Can the cards also be arranged horizontally/in a gridded layout? Like, for instance over at scikit-learn or ro-crate? We could then add images into each card to make the landing page a bit more vibrant? |
nice suggestion! something like:
(suggestions for images for each card welcome) Maybe I drop the big image on the top, it is noisy too |
|
Cool! Maybe some emoijs for the grid card headers? i.e.,
Maybe we also find a suitable image for each card? |
Also centers the OME-Zarr title/hero with custom.css.
|
@jo-mueller what about something like:
|
|
Love it. Nitpick: I would choose bottom-anchoring for the text in the cards to make it look slightly tidier. |
|
Sure, good one. I may also slightly edit the images so they are more consistently sized. Good thing is that in mobile they fall very naturally. Maybe a next stepcis adding cards to the other pages so navigation is more natural for mobile (and people with big thumbs) (I am on mobile, I ran the GH copilot agent with instructions to come up with a simple alignment there, let's see what it can do) |
|
Also, link to the #RFCs was broken We need to merge To catch these things quicker. @jo-mueller, could you review there too? |
|
Love it. Just for my understanding (I'm not super-familiar with css stuff): The |
The "Hero" is web dev jargon for the prominent image/header of a website. The new custom.css says things like: i.e. put it in the center and give it some margin The aligment of grid entries is done via the The custom.css also does some tricks to make the images x text look nicer/aligned inside each card |
|
Supercool, I'm all for it. It's a bit strange that github allows me to merge this PR though? 🤔 |
I think it is opened against the "link-fixes" branch, because I wanted the html-proofer checks. But that did not work. Only the |
|
A bug before moving forward: When hovering the cards with the mouse, it "pre fetches" the content of the page (so it is in theory loaded when clicking the button). Some of the links are heavier due to iframe (community) and the JS calls on "Publications" to EuropePMC. This ends up messing up with the navigation on the landing page. The buttons ended up in seemingly random locks (as they wait for the result of the pre-fetch). Or at least that is my interpretation of the bug Edit: bug fixed |
So...python code to generate a .bib file for the references after all? 🤓 |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: lubianat <7917951+lubianat@users.noreply.github.com>
|
Somehow the hover-over doesn't work for the cards except for the community and resources cards: 07.08.2026_13.37.22_REC.mp4 |
|
@jo-mueller yes, I am figuring out. The big pain for me is that it works when I build it locally with sphinx, so there is something specific for the RTD build that is messing with the cards... Gravacao.de.tela.de.2026-08-07.08-45-39.mp4 |
|
Lot's of unwanted learning!
That means that when users hover one link, the content of the link is prefetched (meaning, html+artifacts are sent) and prerendered (meaning, iframes are loaded, js runs and the like). Which means pages that are costly (such as "Community" which has an iframe, or the script in "Publications") are actually fetched not only when the link is clicked but als when it is hovered. This has performance implicatinos. https://docs.readthedocs.com/platform/stable/link-previews.html This blocks the thread and makes the page behave weirdly (I think).
That means a very high level of permission (via RTD) is needed to change that, and completely independent of code in the repository.
Not sure how, so I tried removing some things. And now disabling link preview on the cards. It feels brittle, but probably is the best I can do for now. |
|
@jo-mueller the last commit fixes it for me |
|
I'm just seeing that sphinx-design (which is a dependency for this page build) itself supports cards. Maybe that would save ourselves some of the css and java-script tooling here? Edit Nevermind: Just realized that the Maybe we add ourselves a TODO somewhere to remind ourselves to revisit the code we added here to fix/remove the code we are adding here to resolve the RTD interference? If we host this page ourselves at some point we can then get rid of it. |



tl;dr:
Redoes the landing page and moves the questions to the FAQ.
Safe to ignore the comments/thread.
ping for thoughts perhaps @jo-mueller @govekk @will-moore?
To review:
– Look at the rendered page, see if it works
Text updated: Aug 11, 2026