Project modified

This commit is contained in:
2022-12-09 14:29:46 -05:00
parent 50f56f021d
commit 56eac0cc1b
9 changed files with 88 additions and 69 deletions
+2 -1
View File
@@ -13,9 +13,10 @@ COPY package.json ./
RUN npm install --silent
RUN npm install react-scripts@3.4.1 -g --silent
RUN npm install react-router-dom --save
# add app
COPY . ./
# start app
CMD ["npm","run", "start"]
+28 -9
View File
@@ -1,21 +1,28 @@
{
"name": "floatweb",
"name": "float-ev-www",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"axios": "^0.24.0",
"react": "^17.0.2",
"react-countup": "^6.0.0",
"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": {
"start": "react-scripts start",
"build": "react-scripts build",
"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": {
"extends": [
@@ -34,5 +41,17 @@
"last 1 firefox 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"
}
}
+6 -8
View File
@@ -4,20 +4,18 @@ function getConfig() {
return [
{
"site_name" : 'WrenchBoard',
"site_name" : 'Floatev',
"dash_url": 'https://dashboard.wrenchboard.com',
"dash_url_login": "https://dashboard.wrenchboard.com/login",
"dash_url_signup": "https://dashboard.wrenchboard.com/signup",
"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',
"facebook_link": 'https://www.facebook.com/wrenchboard',
"twitter_link": 'https://twitter.com/wrenchboard/',
"linked_link": "https://www.linkedin.com/company/wrenchboard/",
"support_email": 'support@wrenchboard.com',
"facebook_link": 'https://www.facebook.com/tryfloat',
"twitter_link": 'https://twitter.com/tryfloat/',
"linked_link": "https://www.linkedin.com/company/float-mobility/",
"support_email": 'support@float.sg',
"support_phone": '404 855-7966',
"support_phone_ng": '(+420) 336 476 328',
"support_us_address": 'Cumberland Pkwy, Atlanta GA 30339',
"support_ng_address": 'Saka Tinubu Street, Victoria Island Lagos, Nigeria',
"support_us_address": '1070 Cresta Way Unit 2, San Rafael CA 94903',
"dummy": "2018-06-25T18:54:22.000Z",
"user_service_endpoint": "https://dashboard.wrenchboard.com/svs/user",
}
+3
View File
@@ -122,3 +122,6 @@
left: 15px;
}
}
.fleet-title{
color: aqua;
}
+4 -4
View File
@@ -10,8 +10,8 @@ function BlogHomeOne() {
return (
<>
<a href="https://blog.float.sg/resources/">Resources</a>
{/* <section className="appie-blog-area pt-90 pb-95">
{/* <a href="https://blog.float.sg/resources/">Resources</a>
<section className="appie-blog-area pt-90 pb-95">
<div className="container">
<div className="row">
<div className="col-lg-12">
@@ -22,11 +22,11 @@ function BlogHomeOne() {
</div>
</div>
</section> */}
</section>
<div className="appie-header-main-menu">
<Navigation />
</div>
*/}
</>
);
}
+35 -35
View File
@@ -21,46 +21,46 @@ function FeaturesHomeOne({ className }) {
<div className="container">
<div className="row align-items-center">
<div className="row">
<div className="col-12 col-lg-3">
<div
className="appie-features-content wow animated fadeInLeft "
className="appie-title"
className="appie-features-tabs-btn"
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>
<br></br>
<ul>
<li><p>Our platform analyzes current fleet behavior and display areas for improvement on our custom customer dashboard.</p></li>
<br></br>
<li><p>We provide immediate and longer term changes to improve fleet performance.</p></li>
<br></br>
<li><p>Our software takes you through the daily process of transitioning your fleet to Float.</p></li>
<br></br>
<li><p>We guide you step by step to convert to Electronic vehicles.</p></li>
</ul>
</div>
</div>
<div className="col-12 col-lg-6">
<div className="row">
<div className="col-12 col-lg-3">
<div
className="appie-hero-content wow animated fadeInRight "
className="appie-title"
>
<img src={Fleet} alt="" />
</div>
className="appie-features-content wow animated fadeInLeft "
className="appie-title"
className="appie-features-tabs-btn"
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>
<br></br>
<ul>
<li><p>Our platform analyzes current fleet behavior and display areas for improvement on our custom customer dashboard.</p></li>
<br></br>
<li><p>We provide immediate and longer term changes to improve fleet performance.</p></li>
<br></br>
<li><p>Our software takes you through the daily process of transitioning your fleet to Float.</p></li>
<br></br>
<li><p>We guide you step by step to convert to Electronic vehicles.</p></li>
</ul>
</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>
</section>
);
}
+2 -2
View File
@@ -19,7 +19,7 @@ function FooterHomeOne({ className }) {
</a>
</div>
<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>
<a href="/service">
Read More <i className="fal fa-arrow-right" />
@@ -98,7 +98,7 @@ function FooterHomeOne({ className }) {
</li>
<li>
<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>
</li>
</ul>
+6 -8
View File
@@ -1,19 +1,17 @@
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 HomeBanner from '../../assets/float-ev/images/home-banner.jpg';
function HeroHomeOne() {
var site = getConfig()[0];
return (
<>
<section className="appie-hero-area" className="appie-title" >
<img src="/static/media/home-banner.0e7f65c2e2177a1be513.jpg" alt="Float" />
{/* <h1 className="appie-title">
<div className="col-lg-12">
<img src={HomeBanner} alt="Float" />
</div>
{/* <h1 className="appie-title fleet-title">
ELECTRIC FLEET CONVERSION PLATFORM
</h1> */}
</section>
+2 -2
View File
@@ -13,7 +13,7 @@ function ServicesHomeOne({ className }) {
return (
<section className={`appie-service-area pt-90 pb-100 ${className}`} id="service">
<div className="container">
<div className="row justify-content-center">
{/* <div className="row justify-content-center">
<div className="col-lg-8">
<div className="appie-section-title text-center">
<h1 className="appie-title">
@@ -21,7 +21,7 @@ function ServicesHomeOne({ className }) {
</h1>
</div>
</div>
</div>
</div> */}
<div className="row align-items-center">
<div className="col-lg-6">
<div