Currently we only have a description saved with every new garden. We want the admin to be able to put in a little more detail in each gardens about page. Take a look at the figma wireframe and locate the frame /gardens/:id/about. As you can see we have a bunch of information on About. For now lets just keep OPENING HOURS & PROGRAMMES hardcoded but update the db to include phone and email.
[x] add an email column to the gardens table in the Db
[x] add a phone number column to the gardens table in the Db
[x] update the seeds of the already seeded data to include these contact details.
[x] adjust the routes to make sure the new data is being passed up
[x] test on Insomnia all your data is as expected before moving to the front end
[x] create an aboutHelper.js function in views/users/about/ which consumes the gardens database. you will need to use the API consume function that is stored in consume.js try to find other files that have used it so you understand.
[x] render the provided contact information in About.jsx, use the wireframes for a design reference.
Currently we only have a description saved with every new garden. We want the admin to be able to put in a little more detail in each gardens about page. Take a look at the figma wireframe and locate the frame /gardens/:id/about. As you can see we have a bunch of information on About. For now lets just keep OPENING HOURS & PROGRAMMES hardcoded but update the db to include phone and email.