I have a use case where routes are the same but the UI for those routes depends on the role selected by the user while setting up an account.roles are : Business Owner, Fleet manager, Operational manager, Hiring coordinateroutes are: /dashboard, /capacity, /cashflow,For business owner, the UI for the /dashboard will be different, and so on with other roles as well.What is the suitable approach to implement this type of routing in Svelte?
My current route grouping is this.
(role) | --> /dashboard -->/capacity -->/cashflow -->+layout.svelte
I coould have done like
I could have done like (roles) (bussiness-owner) | --> /dashboard -->/capacity -->/cashflow -->+layout.svelte (fleet-manager) | --> /dashboard -->/capacity -->/cashflow -->+layout.svelte
but this will be redundant