sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.14k stars 207 forks source link

ux/7532: Extracted landing page link rendering logic to a single source of truth. #7548

Closed schrodingersket closed 2 months ago

schrodingersket commented 2 months ago

Description

I'm opening this as a draft for now so that we can go over the business logic that dictates which page links should appear when. Once the business logic is satisfactory, this PR is ready to merge.

The link rendering logic has been consolidated to a single source of truth so that business logic is all in one place; see https://github.com/sagemathinc/cocalc/compare/master...schrodingersket:ux/7429?expand=1#diff-53c6b656252dc3b6591f8121477a8c83492b50363c59fc139ed2619d04c0d135R78 for the current configuration, which mirrors the existing logic as much as possible.

Fixes #7532.

schrodingersket commented 2 months ago

@williamstein This should be good to merge whenever you're ready for it.