Landing page issues
artberger opened this issue · comments
Past Issues Searched
- I have searched open and closed issues to make sure that the bug has not yet been reported
Issue is a Bug Report
- This is a bug report and not a feature request, nor asking for support
Describe the bug
I was trying out the landing.yaml
to use it as the landing page for our doc set, and ran into some issues.
- Can’t have book icon in upper left to logo and link to main website (e.g., I’m on docs.solo.io and want this to go back to solo.io)
- Can’t have the CTA buttons as anchors to content further down the page.
- Can’t add anchors to sections further down the page. At least I tried adding yaml fields for anchors and it didn't seem to do anything.
- Can’t have more than one feature section for different collections of docs. It errors or only displays one of the feature sections.
- In the feature section, can’t click or add a button to go to a page with more info.
Related but different issues:
Expected behavior
See the previous list, which I expected based on common landing page patterns.
Screenshots
No response
Environment
- OS: MacOS
- Browser: brave, chrome, safari
- Browser Version: Brave Version 1.58.137, Chromium: 117.0.5938.153, Safari 16.6
@artberger Thanks for this. 👍
I plan to have all the tasks you listed addressed in an update scheduled for Sunday coming.
Can’t have more than one feature section for different collections of docs. It errors or only displays one of the feature sections.
Can you expand on this task a little bit? I'm not sure I understand 100%.
@colinwilson thank you for the update!
For the features, we have a couple sets of docs and wanted to have both of them. So right now, I can get something like this for a Gloo Gateway collection:
![image](https://private-user-images.githubusercontent.com/20074219/281092027-8e05b870-9f36-47af-8e2d-76abfc36c317.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MDE4MzUsIm5iZiI6MTcyNDcwMTUzNSwicGF0aCI6Ii8yMDA3NDIxOS8yODEwOTIwMjctOGUwNWI4NzAtOWYzNi00N2FmLThlMmQtNzZhYmZjMzZjMzE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE5NDUzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5ZDA5YTJhMDY5MjI4ZTRhM2NlMDNjZjJmNjc2MmIzZjkzZDU0YjJiNzQxNDhkZWRhNDM1ZDFmYjg0YjQwYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XXxsj7KdaftIe9M7xLV37dsluVZFgCNMWHVmV4w8Fzg)
But I thought adding another one for Gloo Mesh, such as:
![image](https://private-user-images.githubusercontent.com/20074219/281092243-72926031-1b9c-4970-bb94-a7e620ac4d70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MDE4MzUsIm5iZiI6MTcyNDcwMTUzNSwicGF0aCI6Ii8yMDA3NDIxOS8yODEwOTIyNDMtNzI5MjYwMzEtMWI5Yy00OTcwLWJiOTQtYTdlNjIwYWM0ZDcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE5NDUzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwOGY4OTEzNTBmYWIyYWU3MjJmNGVkZWIyMzMzODI1MTg1YjgyYTFiMzNiMTI0N2E3YjJmNTZmY2QyMWZiMTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JuGRsLGrcDjQqipUar2jy3YYHQPJTyBT5FdO8TLewrU)
It doesn't seem I can get them both to show up at the same time; i. e., you can only have one features
list on the landing page.
Thanks for clarifying. 👍
Yes! This is exactly what I'm working on rectifying. It will involve a small breaking change to how the sections are defined in the landing.yaml
data file, but will allow any landing 'section' template to be used multiple times.