diff --git a/src/js/deals.js b/src/js/deals.js index c121525..92e8a3e 100644 --- a/src/js/deals.js +++ b/src/js/deals.js @@ -11,13 +11,11 @@ const alertBoxesData = [ }, ]; const alertBoxHtml = alertBoxesData.map((bx) => { - const body = bx.body ? bx.body : ``; - const output = - `
  • ${body}
  • `; - return output; + const body = bx.body ? bx.body : `` + return `
  • ${body}
  • ` }); -const alertBoxesElement = document.querySelector("#alert-boxes .card-body"); -if (alertBoxesElement) alertBoxesElement.innerHTML = alertBoxHtml.join(""); +const alertBoxesElement = document.querySelector("#alert-boxes .card-body") +if (alertBoxesElement) alertBoxesElement.innerHTML = alertBoxHtml.join("") @@ -79,16 +77,18 @@ const dealsSlidesData = [ }, ]; const dealsSlidesHtml = dealsSlidesData.map((sl) => { - return `
  • -
    -
    -
    -
    ${sl.icon}
    -
    ${sl.title}
    -
    -
    ${sl.body}
    -
    -
  • `; + const output = + `
  • `+ + `
    `+ + `
    `+ + `
    `+ + `
    ${sl.icon}
    `+ + `
    ${sl.title}
    `+ + `
    `+ + `
    ${sl.body}
    `+ + `
    `+ + `
  • ` + return output }); -const dealsSlidesElement = document.getElementById("deals-slides"); -if (dealsSlidesElement) dealsSlidesElement.innerHTML = dealsSlidesHtml.join(""); +const dealsSlidesElement = document.getElementById("deals-slides") +if (dealsSlidesElement) dealsSlidesElement.innerHTML = dealsSlidesHtml.join("") diff --git a/src/js/testimonials.js b/src/js/testimonials.js index 926bcba..3483832 100644 --- a/src/js/testimonials.js +++ b/src/js/testimonials.js @@ -90,36 +90,37 @@ const alertBoxesData = [ name: `Maybelline Sierra`, body: `I needed 4 new tires, a wheel alignment and rear brake pads and rotors for my 2018 Honda Accord. I called at least 6 places for quotes and Car Club gave me the best deal by far. I called them back several times with new questions while I was still shopping around for price quotes and each time, they were super patien+t and kind with me. When I finally decided to go with them, they got me in for service the very next day and did a great job! Now we will be bringing them our second car as well for some needed routine maintenance. I highly recommend them!`, }, -]; +] const aletBoxHtml = alertBoxesData.map((rv) => { const avatar = rv.img ? `Google Reviewer's Photo` - : ``; - const url = rv.url ? rv.url : ``; - const name = rv.name ? rv.name : ``; - const body = rv.body ? rv.body : ``; + : `` + const url = rv.url ? rv.url : `` + const name = rv.name ? rv.name : `` + const body = rv.body ? rv.body : `` - const output = `
  • -
    -
    - - ${avatar} ${name} — - -
    -
    - - - - - -
    -
    "${body}"
    -
    -
  • `; + const output = + `
  • `+ + `
    `+ + `
    `+ + ``+ + `${avatar} ${name} — `+ + ``+ + `
    `+ + `
    `+ + ``+ + ``+ + ``+ + ``+ + ``+ + `
    `+ + `
    "${body}"
    `+ + `
    `+ + `
  • ` return output; }); -const aletBoxesElement = document.getElementById(`review-slides`); -if (aletBoxesElement) aletBoxesElement.innerHTML = aletBoxHtml.join(``); +const aletBoxesElement = document.getElementById(`review-slides`) +if (aletBoxesElement) aletBoxesElement.innerHTML = aletBoxHtml.join(``) diff --git a/src/media/reviewers/Africans_In_Orlando.webp b/src/media/reviewers/Africans_In_Orlando.webp new file mode 100644 index 0000000..ee8706b Binary files /dev/null and b/src/media/reviewers/Africans_In_Orlando.webp differ diff --git a/src/media/reviewers/Danielle_Marie.webp b/src/media/reviewers/Danielle_Marie.webp new file mode 100644 index 0000000..d732600 Binary files /dev/null and b/src/media/reviewers/Danielle_Marie.webp differ diff --git a/src/media/reviewers/Eddrina-Delmont.webp b/src/media/reviewers/Eddrina-Delmont.webp new file mode 100644 index 0000000..528a2f4 Binary files /dev/null and b/src/media/reviewers/Eddrina-Delmont.webp differ diff --git a/src/media/reviewers/Lex_Scooter.webp b/src/media/reviewers/Lex_Scooter.webp new file mode 100644 index 0000000..0d49787 Binary files /dev/null and b/src/media/reviewers/Lex_Scooter.webp differ diff --git a/src/media/reviewers/Mercy_Ares.webp b/src/media/reviewers/Mercy_Ares.webp new file mode 100644 index 0000000..4c3c46e Binary files /dev/null and b/src/media/reviewers/Mercy_Ares.webp differ diff --git a/src/media/reviewers/Virag_Anna_Szolgyemy.webp b/src/media/reviewers/Virag_Anna_Szolgyemy.webp new file mode 100644 index 0000000..b7619af Binary files /dev/null and b/src/media/reviewers/Virag_Anna_Szolgyemy.webp differ diff --git a/src/media/reviewers/usman_shah.webp b/src/media/reviewers/usman_shah.webp new file mode 100644 index 0000000..b44c96d Binary files /dev/null and b/src/media/reviewers/usman_shah.webp differ diff --git a/src/media/reviewers/xavier_marin.webp b/src/media/reviewers/xavier_marin.webp new file mode 100644 index 0000000..3d89675 Binary files /dev/null and b/src/media/reviewers/xavier_marin.webp differ