Client wants you to develop an application just like a Slack. we will take a problem scenario from that application and solve it here. when user hits the base url like(slack.com), it should be redirected to a Base application login page. at the same time, when user hits it with workspace subdomain(google.slack.com). then it should redirect to different login/signup page.
Create a React App As per the above explained scenario.Get the SubDomain from url and Display the name of it in login and signup page.