Open olivierobert opened 1 year ago
The current views contain much duplicated code (head + body) and are not consistent. For instance, https://github.com/tajul-saajan/google-searcher/blob/main/resources/views/home.hbs seems to se template.hbs but https://github.com/tajul-saajan/google-searcher/blob/main/resources/views/details.hbs does not.
template.hbs
All views should inherit from a template. Since there are two main areas (non-authenticated pages and authenticated ones), there could be two main templates.
Issue
The current views contain much duplicated code (head + body) and are not consistent. For instance, https://github.com/tajul-saajan/google-searcher/blob/main/resources/views/home.hbs seems to se
template.hbs
but https://github.com/tajul-saajan/google-searcher/blob/main/resources/views/details.hbs does not.Expected
All views should inherit from a template. Since there are two main areas (non-authenticated pages and authenticated ones), there could be two main templates.