From 186bfa6d8fede87157302398b1b2cbd74403b54f Mon Sep 17 00:00:00 2001 From: Ebube Date: Mon, 10 Apr 2023 02:46:56 +0100 Subject: [PATCH] Footer Links added --- .env | 5 +++++ src/components/Footer.js | 4 ++-- src/index.js | 12 ++++++------ src/pages/About.js | 33 +++++++++------------------------ src/pages/Faqs.js | 28 ++++++++-------------------- 5 files changed, 30 insertions(+), 52 deletions(-) diff --git a/.env b/.env index f70f84e..43029e8 100644 --- a/.env +++ b/.env @@ -7,3 +7,8 @@ REACT_APP_APIGATE='http://float-gat.dev.chiefsoft.net' REACT_APP_APPLE_LINK='https://apps.apple.com/us/app/float-mobility/id1465369130' REACT_APP_GOOGLE_PLAY_LINK='https://apps.apple.com/us/app/float-mobility/id1465369130' + +REACT_APP_FACEBOOK_LINK='https://www.facebook.com/tryfloat' +REACT_APP_TWITTER_LINK='https://twitter.com/tryfloat/' +REACT_APP_LINKEDIN_LINK="https://www.linkedin.com/company/float-mobility/" +REACT_APP_INSTAGRAM_LINK="https://www.instagram.com/company/float-mobility/" \ No newline at end of file diff --git a/src/components/Footer.js b/src/components/Footer.js index b06196d..a99e63d 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -43,10 +43,10 @@ class Footer extends React.Component {
- + appstore-badge - + googleplay-badge
diff --git a/src/index.js b/src/index.js index c7ea92f..c984790 100644 --- a/src/index.js +++ b/src/index.js @@ -1,18 +1,18 @@ import React from 'react'; -import ReactDOM from 'react-dom'; +import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; import { BrowserRouter } from "react-router-dom"; -ReactDOM.render( - // basename='/usr/src/app/build' +const rootElement = document.getElementById('root'); +const root = ReactDOM.createRoot(rootElement); + +root.render( - , - - document.getElementById('root') + ); // If you want to start measuring performance in your app, pass a function diff --git a/src/pages/About.js b/src/pages/About.js index 9ad89cc..0bed2a1 100644 --- a/src/pages/About.js +++ b/src/pages/About.js @@ -5,21 +5,16 @@ class About extends React.Component { render() { return(
- - - {/* PRELOADER SPINNER - ============================================= */} + {/* PRELOADER SPINNER */}
- {/* PAGE CONTENT - ============================================= */} + {/* PAGE CONTENT */}
- {/* PAGE HERO - ============================================= */} + {/* PAGE HERO */}
@@ -34,8 +29,7 @@ class About extends React.Component {
{/* End row */}
{/* End container */}
{/* END PAGE HERO */} - {/* ABOUT-2 - ============================================= */} + {/* ABOUT-2 */}
{/* TEXT BLOCK */} @@ -111,11 +105,8 @@ class About extends React.Component {
{/* END BUTTON */}
{/* End container */} -
{/* END ABOUT-2 */} - - - {/* TEAM-1 - ============================================= */} +
{/* END ABOUT-2 */} + {/* TEAM-1 */}
{/* SECTION TITLE */} @@ -133,8 +124,6 @@ class About extends React.Component {
{Testimonial.map(({name, title, image, link: {domain, href}}, idx) => ( - <> - {/* TEAM MEMBER #1 */}
{/* Team Member Photo */} @@ -148,16 +137,13 @@ class About extends React.Component { @{domain}
-
- {/* END TEAM MEMBER #1 */} - +
))}
{/* End row */} {/* TEAM MEMBERS HOLDER */} {/* End container */}
{/* END TEAM-1 */} - {/* NEWSLETTER-1 - ============================================= */} + {/* NEWSLETTER-1 */}
@@ -187,8 +173,7 @@ class About extends React.Component {
{/* End row */}
{/* End newsletter-holder */} {/* End container */} -
{/* END NEWSLETTER-1 */} - + {/* END NEWSLETTER-1 */} {/* END PAGE CONTENT */} ) diff --git a/src/pages/Faqs.js b/src/pages/Faqs.js index 224ba64..4fd8b32 100644 --- a/src/pages/Faqs.js +++ b/src/pages/Faqs.js @@ -4,23 +4,16 @@ class Faqs extends React.Component { render() { return(
- - - {/* PRELOADER SPINNER - ============================================= */} + {/* PRELOADER SPINNER */}
- {/* PAGE CONTENT - ============================================= */} + {/* PAGE CONTENT */}
- {/* HEADER - ============================================= */} - - {/* FAQs-2 - ============================================= */} + {/* HEADER */} + {/* FAQs-2 */}
{/* SECTION TITLE */} @@ -182,8 +175,7 @@ class Faqs extends React.Component { {/* GEOMETRIC OVERLAY */}
{/* END FAQs-2 */} - {/* DOWNLOAD-2 - ============================================= */} + {/* DOWNLOAD-2 */}
@@ -206,11 +198,11 @@ class Faqs extends React.Component {
{/* AppStore */} - + appstore-logo {/* Google Play */} - + googleplay-logo
@@ -219,12 +211,8 @@ class Faqs extends React.Component {
{/* End row */}
{/* End container */}
{/* END DOWNLOAD-2 */} -
{/* END PAGE CONTENT */} - - - -
+ ) } }