1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/components
Robert Sese 33c05d81ce Change product landing page introLinks to a general map of link titles to links (#26360)
* Add cta button to frontmatter and context

* Add cta to Page

* Render cta button in product landing hero

* Handle external links

* Add simple unit test for cta link

* Address feedback

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Actually push condition update

* Show it's an external link

* Refactor FullLink so we use Link once

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Custom link can also be null

* Rename 'cta' to 'custom' and make it the last introLink

* Update tests with 'cta' to 'custom' change

* Filter once

* Revert "Filter once"

This reverts commit a3f9a8a06b505d77fed47ca96a66c187c86c3c91.

* Update introLinks to a map of titles and URLs

* No more custom introLink in LandingHero

* Simplify introLinks processing

* introLinks can also be null

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* more concise

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* No longer necessary with the a plain introLinks map

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* '.entries()` is simpler

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* 'link' could be false depending on what version you're on

* Update test for new introLinks

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-04-01 11:01:37 -05:00
..
2022-03-14 08:32:20 -07:00
2022-02-24 21:33:10 +00:00
2022-03-10 09:42:20 -08:00
2022-03-15 16:54:32 -07:00
2022-03-14 08:25:48 -07:00
2021-09-30 20:22:13 +00:00

Components

⚠️ This area is a work-in-progress.

This is the main source for our React components. They can be rendered by the server or the client via Next.js. The starting point for any component usage is the pages/ directory, which uses a file-system routing paradigm to match paths to pages that then render these components.