When I wrote this code, only me and God knew how it works. Now only God knows…


Toyota Drive better

Secondary nav bar
  • _secondaryNavBar.title -
Banner
  • bannerType - generic
  • Theme -
  • genericData.isProductBanner - false
  • genericData.withBreadCrumb -
  • genericData.title - #DRIVEBETTER
  • genericData.textTheme -
  • backgroundImage -
Text
  • htmlTextData.content.items[0].content - <p>By participating in the Toyota #DriveBetter challenge, you can change a child’s life. Now that Toyota Connect is available on all new Toyota models through the MyToyota App, you can log on, get your driver score, and share it on social media. Toyota will then donate 10 times your driver score to Jumping Kids, a registered non-profit that provides lower limb prosthetic solutions to children living with amputations. Change a child’s life today and together we can give kids the prosthetics they need to start their impossible and live out their dreams.</p>
  • htmlTextData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - T's & C's
      • htmlTextData.buttons[0].button.linkUrl - /campaign/toyota-drive-better/terms-and-conditions
      • htmlTextData.buttons[0].button.linkWindow - false
Stats card
  • theme -
  • statsCards
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - HOW TO GET YOUR DRIVER SCORE
  • textWithImageData.description - <p>Getting your driver score is easy thanks to the MyToyota App. Simply log on to the App, activate Toyota Connect by selecting the connect tab and begin tracking your driver score.</p>
  • textWithImageData.backgroundColor - #f8f8f8
  • textWithImageData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - FIND OUT MORE
      • htmlTextData.buttons[0].button.linkUrl - /my-toyota/toyota-drive-better
      • htmlTextData.buttons[0].button.linkWindow - true
    • htmlTextData.buttons[1].defaultButton
      • htmlTextData.buttons[1].button.linkLabel - DOWNLOAD PDF
      • htmlTextData.buttons[1].button.linkUrl - https://media.toy-backend.co.za/campaigns/toyota-drive-better/How-to-guide.pdf
      • htmlTextData.buttons[1].button.linkWindow - true
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/ckghpthzs01b10il6r4va0lpe-how-to-get-driver-rating.0.0.1920.1080.full.jpg

  • textWithImageData.imgPosition - right
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - JUMPING KIDS
  • textWithImageData.subTitle - ABOUT
  • textWithImageData.description - <p>Jumping Kids is a non-profit organisation that provides affordable prosthetics to those who need it most, such as children living with amputations from previously disadvantaged backgrounds. Their prosthetic solutions are geared for optimum results and they work hard to boost awareness and advocate for change; ensuring children’s lives are transformed for the better.</p>
  • textWithImageData.backgroundColor - #ffffff
  • textWithImageData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - FIND OUT MORE
      • htmlTextData.buttons[0].button.linkUrl - http://www.jumpingkids.org.za/
      • htmlTextData.buttons[0].button.linkWindow - true
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/ckghpzj9x01da0il6x8hsnveq-jumping-kids.0.0.1920.1080.full.jpg

  • textWithImageData.imgPosition - left