Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the previous assignment, you created a home page containing several components, for example, a header, navbar, hero, content sections, and a footer. You will

image text in transcribed
In the previous assignment, you created a home page containing several components, for example, a header, navbar, hero, content sections, and a footer. You will move some of these components into reusable handlebars partial view files. Create only the following partial views and refrain from adding additional ones. - navbar.hbs - contains the html used to construct the header and navigation bar. - footer.hbs - contains the html used to construct the footer area. - rental.hbs - contains the html used to construct a single rental card. The remaining components, such as the hero and content sections will not be moved into partial views. Create a handlebars default layout view called main.hbs. The layout will contain markup that is shared across all pages of your website. This view will render the partial views for the header and footer. The layout should not include the hero image, content sections, or the rental partial view file. Create the following handlebars view files for the routes defined in the previous assignment. Make sure these pages use the default layout view. Anytime a rentol is displayed, ensure you are using the "rental" partial view from above. Do not change the URL for any of the routes, simply use res.render() to display the correct view file. Remember that you are not implementing controllers, so place all you views in the "views" folder and partial views in the "partials" folder. Delete the index.htmi file from the previous assignment once you have created the views. - home.hbs - Home page, contains the hero, content sections, and featured rentals. - rentals.hbs - Rentals page, displays rentals grouped by city and province. - sign-up.hbs - A customer registration page to allow new users to create an account. - log-in.hbs - A login page to allow existing users to access their account

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

=+What is the nature of the plant or site-level role of unions?

Answered: 1 week ago