Project modified
This commit is contained in:
+2
-1
@@ -13,9 +13,10 @@ COPY package.json ./
|
|||||||
RUN npm install --silent
|
RUN npm install --silent
|
||||||
RUN npm install react-scripts@3.4.1 -g --silent
|
RUN npm install react-scripts@3.4.1 -g --silent
|
||||||
|
|
||||||
|
RUN npm install react-router-dom --save
|
||||||
|
|
||||||
# add app
|
# add app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
# start app
|
# start app
|
||||||
CMD ["npm","run", "start"]
|
CMD ["npm","run", "start"]
|
||||||
|
|
||||||
|
|||||||
+28
-9
@@ -1,21 +1,28 @@
|
|||||||
{
|
{
|
||||||
"name": "floatweb",
|
"name": "float-ev-www",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@testing-library/jest-dom": "^5.16.5",
|
"@testing-library/jest-dom": "^5.11.4",
|
||||||
"@testing-library/react": "^13.4.0",
|
"@testing-library/react": "^11.1.0",
|
||||||
"@testing-library/user-event": "^13.5.0",
|
"@testing-library/user-event": "^12.1.10",
|
||||||
"react": "^18.2.0",
|
"axios": "^0.24.0",
|
||||||
"react-dom": "^18.2.0",
|
"react": "^17.0.2",
|
||||||
"react-scripts": "5.0.1",
|
"react-countup": "^6.0.0",
|
||||||
"web-vitals": "^2.1.4"
|
"react-dom": "^17.0.2",
|
||||||
|
"react-router-dom": "^5.3.0",
|
||||||
|
"react-scripts": "5.0.0",
|
||||||
|
"react-slick": "^0.28.1",
|
||||||
|
"simple-react-lightbox": "^3.6.9-0",
|
||||||
|
"slick-carousel": "^1.8.1",
|
||||||
|
"web-vitals": "^1.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject",
|
||||||
|
"lint": "yarn add -D prettier && yarn add -D babel-eslint && npx install-peerdeps --dev eslint-config-airbnb && yarn add -D eslint-config-prettier eslint-plugin-prettier"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
@@ -34,5 +41,17 @@
|
|||||||
"last 1 firefox version",
|
"last 1 firefox version",
|
||||||
"last 1 safari version"
|
"last 1 safari version"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.11.0",
|
||||||
|
"eslint-config-airbnb": "18.2.1",
|
||||||
|
"eslint-config-prettier": "^8.3.0",
|
||||||
|
"eslint-plugin-import": "2.22.1",
|
||||||
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
||||||
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
|
"eslint-plugin-react": "7.21.5",
|
||||||
|
"eslint-plugin-react-hooks": "1.7.0",
|
||||||
|
"prettier": "^2.4.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,20 +4,18 @@ function getConfig() {
|
|||||||
return [
|
return [
|
||||||
|
|
||||||
{
|
{
|
||||||
"site_name" : 'WrenchBoard',
|
"site_name" : 'Floatev',
|
||||||
"dash_url": 'https://dashboard.wrenchboard.com',
|
"dash_url": 'https://dashboard.wrenchboard.com',
|
||||||
"dash_url_login": "https://dashboard.wrenchboard.com/login",
|
"dash_url_login": "https://dashboard.wrenchboard.com/login",
|
||||||
"dash_url_signup": "https://dashboard.wrenchboard.com/signup",
|
"dash_url_signup": "https://dashboard.wrenchboard.com/signup",
|
||||||
"android_app": 'https://play.google.com/store/apps/details?id=com.wrenchboard.users',
|
"android_app": 'https://play.google.com/store/apps/details?id=com.wrenchboard.users',
|
||||||
"apple_app": 'https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8',
|
"apple_app": 'https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8',
|
||||||
"facebook_link": 'https://www.facebook.com/wrenchboard',
|
"facebook_link": 'https://www.facebook.com/tryfloat',
|
||||||
"twitter_link": 'https://twitter.com/wrenchboard/',
|
"twitter_link": 'https://twitter.com/tryfloat/',
|
||||||
"linked_link": "https://www.linkedin.com/company/wrenchboard/",
|
"linked_link": "https://www.linkedin.com/company/float-mobility/",
|
||||||
"support_email": 'support@wrenchboard.com',
|
"support_email": 'support@float.sg',
|
||||||
"support_phone": '404 855-7966',
|
"support_phone": '404 855-7966',
|
||||||
"support_phone_ng": '(+420) 336 476 328',
|
"support_us_address": '1070 Cresta Way Unit 2, San Rafael CA 94903',
|
||||||
"support_us_address": 'Cumberland Pkwy, Atlanta GA 30339',
|
|
||||||
"support_ng_address": 'Saka Tinubu Street, Victoria Island Lagos, Nigeria',
|
|
||||||
"dummy": "2018-06-25T18:54:22.000Z",
|
"dummy": "2018-06-25T18:54:22.000Z",
|
||||||
"user_service_endpoint": "https://dashboard.wrenchboard.com/svs/user",
|
"user_service_endpoint": "https://dashboard.wrenchboard.com/svs/user",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,3 +122,6 @@
|
|||||||
left: 15px;
|
left: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.fleet-title{
|
||||||
|
color: aqua;
|
||||||
|
}
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ function BlogHomeOne() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
||||||
<a href="https://blog.float.sg/resources/">Resources</a>
|
{/* <a href="https://blog.float.sg/resources/">Resources</a>
|
||||||
{/* <section className="appie-blog-area pt-90 pb-95">
|
<section className="appie-blog-area pt-90 pb-95">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-lg-12">
|
<div className="col-lg-12">
|
||||||
@@ -22,11 +22,11 @@ function BlogHomeOne() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section> */}
|
</section>
|
||||||
<div className="appie-header-main-menu">
|
<div className="appie-header-main-menu">
|
||||||
<Navigation />
|
<Navigation />
|
||||||
</div>
|
</div>
|
||||||
|
*/}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,42 +22,42 @@ function FeaturesHomeOne({ className }) {
|
|||||||
<div className="row align-items-center">
|
<div className="row align-items-center">
|
||||||
|
|
||||||
|
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-12 col-lg-3">
|
<div className="col-12 col-lg-3">
|
||||||
<div
|
<div
|
||||||
className="appie-features-content wow animated fadeInLeft "
|
className="appie-features-content wow animated fadeInLeft "
|
||||||
className="appie-title"
|
className="appie-title"
|
||||||
className="appie-features-tabs-btn"
|
className="appie-features-tabs-btn"
|
||||||
className="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical"
|
className="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical"
|
||||||
>
|
>
|
||||||
<div className="appie-hero-content"><h4>Float analytical, recommendation/rewards framework</h4> </div>
|
<div className="appie-hero-content"><h4>Float analytical, recommendation/rewards framework</h4> </div>
|
||||||
<br></br>
|
<br></br>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Our platform analyzes current fleet behavior and display areas for improvement on our custom customer dashboard.</p></li>
|
<li><p>Our platform analyzes current fleet behavior and display areas for improvement on our custom customer dashboard.</p></li>
|
||||||
<br></br>
|
<br></br>
|
||||||
<li><p>We provide immediate and longer term changes to improve fleet performance.</p></li>
|
<li><p>We provide immediate and longer term changes to improve fleet performance.</p></li>
|
||||||
<br></br>
|
<br></br>
|
||||||
<li><p>Our software takes you through the daily process of transitioning your fleet to Float.</p></li>
|
<li><p>Our software takes you through the daily process of transitioning your fleet to Float.</p></li>
|
||||||
<br></br>
|
<br></br>
|
||||||
<li><p>We guide you step by step to convert to Electronic vehicles.</p></li>
|
<li><p>We guide you step by step to convert to Electronic vehicles.</p></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="col-12 col-lg-6">
|
|
||||||
<div
|
|
||||||
className="appie-hero-content wow animated fadeInRight "
|
|
||||||
className="appie-title"
|
|
||||||
|
|
||||||
>
|
|
||||||
|
|
||||||
<img src={Fleet} alt="" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="col-12 col-lg-6">
|
||||||
|
<div
|
||||||
|
className="appie-hero-content wow animated fadeInRight "
|
||||||
|
className="appie-title"
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
|
<img src={Fleet} alt="" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ function FooterHomeOne({ className }) {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
{`It is simple. You can do something that somebody is ready to pay you for. WrenchBoard is the platform to connect you with earning opportunities. `}
|
{`Float saves their customers money from day one by analyzing their current fleet data on cost, emissions,time and resources and then makes recommendations on prioritization of vehicle replacements and infrastructure investments.`}
|
||||||
</p>
|
</p>
|
||||||
<a href="/service">
|
<a href="/service">
|
||||||
Read More <i className="fal fa-arrow-right" />
|
Read More <i className="fal fa-arrow-right" />
|
||||||
@@ -98,7 +98,7 @@ function FooterHomeOne({ className }) {
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<i className="fal fa-map-marker-alt" />San Anselmo,CA 9690
|
<i className="fal fa-map-marker-alt" />1070 Cresta Way Unit 2, San Rafael CA 94903
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -1,19 +1,17 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import heroThumbOne from '../../assets/images/app-thumb-1.png';
|
|
||||||
import heroThumbTwo from '../../assets/images/app-pic.png';
|
|
||||||
import shapeTwo from '../../assets/images/shape/shape-2.png';
|
|
||||||
import shapeThree from '../../assets/images/shape/shape-3.png';
|
|
||||||
import shapeFour from '../../assets/images/shape/shape-4.png';
|
|
||||||
import getConfig from './../../Config/config'
|
import getConfig from './../../Config/config'
|
||||||
|
import HomeBanner from '../../assets/float-ev/images/home-banner.jpg';
|
||||||
|
|
||||||
function HeroHomeOne() {
|
function HeroHomeOne() {
|
||||||
var site = getConfig()[0];
|
var site = getConfig()[0];
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<section className="appie-hero-area" className="appie-title" >
|
<section className="appie-hero-area" className="appie-title" >
|
||||||
<img src="/static/media/home-banner.0e7f65c2e2177a1be513.jpg" alt="Float" />
|
<div className="col-lg-12">
|
||||||
{/* <h1 className="appie-title">
|
<img src={HomeBanner} alt="Float" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* <h1 className="appie-title fleet-title">
|
||||||
ELECTRIC FLEET CONVERSION PLATFORM
|
ELECTRIC FLEET CONVERSION PLATFORM
|
||||||
</h1> */}
|
</h1> */}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ function ServicesHomeOne({ className }) {
|
|||||||
return (
|
return (
|
||||||
<section className={`appie-service-area pt-90 pb-100 ${className}`} id="service">
|
<section className={`appie-service-area pt-90 pb-100 ${className}`} id="service">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<div className="row justify-content-center">
|
{/* <div className="row justify-content-center">
|
||||||
<div className="col-lg-8">
|
<div className="col-lg-8">
|
||||||
<div className="appie-section-title text-center">
|
<div className="appie-section-title text-center">
|
||||||
<h1 className="appie-title">
|
<h1 className="appie-title">
|
||||||
@@ -21,7 +21,7 @@ function ServicesHomeOne({ className }) {
|
|||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
<div className="row align-items-center">
|
<div className="row align-items-center">
|
||||||
<div className="col-lg-6">
|
<div className="col-lg-6">
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user