From 41440b1c66f6637d0cfbf771594642f6f6fd5aa8 Mon Sep 17 00:00:00 2001 From: Chukwumdiebube Date: Mon, 3 Apr 2023 09:43:44 +0100 Subject: [PATCH] added video link at home page --- src/pages/FloatHome.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/FloatHome.js b/src/pages/FloatHome.js index 417ec55..e4e1b97 100644 --- a/src/pages/FloatHome.js +++ b/src/pages/FloatHome.js @@ -32,8 +32,8 @@ class FloatHome extends React.Component {

{heroSection.description}

{/* HERO LINKS */}
- - {heroSection.heroLink} + + {heroSection.heroVideoLink.text}
@@ -1227,8 +1227,6 @@ class FloatHome extends React.Component { {/* END DOWNLOAD-5 */} {/* END PAGE CONTENT */} - - ) } @@ -1242,7 +1240,10 @@ export default FloatHome let heroSection = { header: `Travel Smarter. Save Money.`, description: `Travel smarter and safer, with Float's rideshare comparison, ride hailing and budgeting app. Available on IOS and Android.`, - heroLink: 'Watch the Overview', + heroVideoLink: { + text: 'Watch the Overview', + link: 'https://www.youtube.com/watch?v=Jn22jdQ4KdQ' + }, button: `Intelligent Mobility Choices!`, badge: {rating: `All Versions Rating`, review: 'Based on 7.296 user reviews'} };