Angular 9 Check if customer or vendor

I would like to first ask a user if they are a vendor or a customer and then redirect them to their specific page.

Can I do this in one project or every user in separate projects and where can I put this button?

Source: Angular Questions