This tutorial improves your previous code by eliminating the hard-coded site name.
In the previous tutorial you conditionally displayed a component based on a hard-coded string (the site URL). In this tutorial you will improve your code to pass the site URL as a parameter.