-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more buttons on home page(up to 5 buttons) #2261
Comments
Currently, you can use a custom layout.
If we're gonna support this feature, I suggest making the config like below: action:
- text: Get Started →
link: /guide/
- text: Action 2
link: /whatever/
- text: Action 3
link: /whatever/ |
Yeah, custom layout is a good solution to solve this situation. if this feature be supported, will make users feel conveniently. |
I can help with this featue, do we need it?@newsbielt703 |
@Mister-Hope Hi bro, could you implement this feature and make a PR ahead, you could follow @newsbielt703 suggestion? awful thank in advanced. |
One more action link is definitely needed. 🏀 Before proceeding I would suggest to apply a different style to the rest of the action buttons to avoid having multiple primary CTAs with the same style, weight, etc (see Option A). I would suggest to go with one more action first (see Option B) but having a different style for the rest of the actions could allow more that two action links without degrading the user experience (see Option C). WDYT @taozuhong? /cc @billyyyyy3320
If the consensus here is to have two only actions I would suggest to use the following config structure, otherwise following the structure proposed in #2261 (comment) looks good. action:
- primaryText: Get Started →
primaryLink: /guide/
- secondaryText: Documentation
secondaryLink: /documentation/ |
in our project, could have development / stable / long-term-support(LTS) / donate(contribute) options, so I suggest the structure and style like below:
|
Feature request
What problem does this feature solve?
I use VuePress to build a website for my app, it divided into stable and development versions, So I need two button to guide user to download different version.
What does the proposed API look like?
actionText / actionLink, actionText2 / actionLink2, ...... , actionText5 / actionLink5
How should this be implemented in your opinion?
Just support up 5 buttons to support this situation(actionText / actionLink, actionText5 / actionLink5)
Are you willing to work on this yourself?
The text was updated successfully, but these errors were encountered: