Forem Creators and Builders 🌱

Discussion on: How to properly enable multiple call-to-action buttons in nav bar...

Collapse
 
pp profile image
Paweł Ludwiczak • Edited

So here's an idea for scenario where admin wants to have multiple call-to-actions in a header:

Collapse
 
lee profile image
Lee

If i can get this for article, video, listing and organisation my heart will explode with joy 🤩

Collapse
 
lee profile image
Lee

Very nice!

Collapse
 
link2twenty profile image
Andrew Bone • Edited

We took a similar route. I went a little more compressed and had a default action.

Collapse
 
ben profile image
Ben Halpern

Yeah, I think the primary action can be first, and then other actions in order. I also love that design @link2twenty 😍

@pp I'd say this is a fairly specialized dropdown since it's one-of-a-kind and built off the nav bar. I'd be in favor of leaning into this.

This will involve also adding the proper functionality to SiteConfig

Thread Thread
 
link2twenty profile image
Andrew Bone

Thanks Ben 😊
I've made a slight change to the code to make it cope with only having one action.