respond icon indicating copy to clipboard operation
respond copied to clipboard

<title> tag of app should use value of BRAND in .env

Open axis80 opened this issue 7 years ago • 2 comments

In the front-end app, the page title is hard-coded as Respond. This should be changed to use the value of the BRAND parameter in .env.

From what I can tell, there are two ways to accomplish this. One is to change it dynamically in Angular. I am concerned that it might briefly flash the old title before it's replaced. The other option is to set it once during the Gulp build process.

Thoughts on the best approach? I can try to do it, as it'd be a good opportunity to learn more about Angular and/or Gulp.

axis80 avatar Mar 19 '17 21:03 axis80

I want to say that Angular 4 beta supports title bindings. If so, that is the way to go. I really don't want to add any more gulp dependencies as the long term the goal is to get the Respond app to build using the Angular CLI.

madoublet avatar Mar 19 '17 23:03 madoublet

Thanks. I will dig into this soon and see if I can figure out how to do it with Angular. It seems like a good way for me to get my toes wet in that environment.

axis80 avatar Mar 19 '17 23:03 axis80