Commit 92b41acc by Tonk

update translation

parent 36b5e8ab
import React from "react"; import React from "react";
import WindowDimensions from "components/utils/WindowDimension"; import WindowDimensions from "components/utils/WindowDimension";
import { FormattedMessage } from "react-intl";
const About = ({ isMobileSized }) => { const About = ({ isMobileSized }) => {
return ( return (
...@@ -22,17 +23,14 @@ const About = ({ isMobileSized }) => { ...@@ -22,17 +23,14 @@ const About = ({ isMobileSized }) => {
justifyContent: "space-evenly" justifyContent: "space-evenly"
}} }}
> >
<h1 className="title">About Nexpie IOT Platform</h1> <h1 className="title">
<FormattedMessage id="About.Title" />
</h1>
<p className="descriptionStyle"> <p className="descriptionStyle">
Connecting everything - everywhere with IoT platform to improve your <FormattedMessage id="About.Descrip1" />
business productive and efficiency for creates best opportunities to
your organization in new Technology era unlike anything before.
</p> </p>
<p className="descriptionStyle"> <p className="descriptionStyle">
NEXPIE IoT Platform provides tools and software libraries that <FormattedMessage id="About.Descrip2" />
accelerates the IoT development process, so developers can spend more
time innovating and less time worrying about administration of
back-end servers and data storage.
</p> </p>
</div> </div>
</div> </div>
......
import React from "react"; import React from "react";
import { FormattedMessage } from "react-intl";
const feature = [ const feature = [
{ {
title: "MONITORING", title: <FormattedMessage id="Monitor.Title" />,
description: "Visualize your device and sensor data real-time" description: <FormattedMessage id="Monitor.Descrip" />
}, },
{ {
title: "TRIGGER", title: <FormattedMessage id="Trigger.Title" />,
description: "Event that happen via Device data changed" description: <FormattedMessage id="Trigger.Descrip" />
}, },
{ {
title: "CONTROLLING", title: <FormattedMessage id="Control.Title" />,
description: "Controlling how device works via Cloud Platform." description: <FormattedMessage id="Control.Descrip" />
}, },
{ {
title: "HOOK", title: <FormattedMessage id="Hook.Title" />,
description: description: <FormattedMessage id="Hook.Descrip" />
"Get automation works according to condition setting of Trigger"
}, },
{ {
title: "DATA STORAGE", title: <FormattedMessage id="Storage.Title" />,
description: "Collecting data from your device and sensor to data storage." description: <FormattedMessage id="Storage.Descrip" />
} }
]; ];
const Card = props => { const Card = props => {
...@@ -50,13 +50,14 @@ export default class Features extends React.Component { ...@@ -50,13 +50,14 @@ export default class Features extends React.Component {
paddingBottom: "60px" paddingBottom: "60px"
}} }}
> >
<h1 className="title">Features</h1> <h1 className="title">
<FormattedMessage id="BottomNav.Features" />
</h1>
<p <p
className="descriptionStyle" className="descriptionStyle"
style={{ textAlign: "center", maxWidth: 1140 }} style={{ textAlign: "center", maxWidth: 1140 }}
> >
The majority of NEXPIE functionality that helps to develop your <FormattedMessage id="Feature.Descrip" />
connected devices and smart things.
</p> </p>
<div className="feature-container"> <div className="feature-container">
{feature.map((item, index) => ( {feature.map((item, index) => (
...@@ -66,7 +67,7 @@ export default class Features extends React.Component { ...@@ -66,7 +67,7 @@ export default class Features extends React.Component {
description={item.description} description={item.description}
/> />
))} ))}
{oddItem === 1 ? <div className="hidden-feature" /> : <></>} {oddItem === 1 ? <div className="feature-card-wrapper" /> : <></>}
</div> </div>
</div> </div>
); );
......
import React from "react"; import React from "react";
import { FormattedMessage } from "react-intl";
const Card = () => { const Card = () => {
return ( return (
...@@ -29,7 +30,9 @@ export default class Services extends React.Component { ...@@ -29,7 +30,9 @@ export default class Services extends React.Component {
paddingBottom: "60px" paddingBottom: "60px"
}} }}
> >
<h1 className="title">Our Services</h1> <h1 className="title">
<FormattedMessage id="Services.Title" />
</h1>
<p <p
className="descriptionStyle" className="descriptionStyle"
style={{ textAlign: "center", maxWidth: 1140 }} style={{ textAlign: "center", maxWidth: 1140 }}
......
import React from "react"; import React from "react";
import { FormattedMessage } from "react-intl";
const Card = () => { const Card = () => {
return ( return (
...@@ -29,14 +30,14 @@ export default class WhyUs extends React.Component { ...@@ -29,14 +30,14 @@ export default class WhyUs extends React.Component {
paddingBottom: "60px" paddingBottom: "60px"
}} }}
> >
<h1 className="title">Why choose NEXPIE </h1> <h1 className="title">
<FormattedMessage id="Why.Title" />
</h1>
<p <p
className="descriptionStyle" className="descriptionStyle"
style={{ textAlign: "center", maxWidth: 1140 }} style={{ textAlign: "center", maxWidth: 1140 }}
> >
NEXPIE provide the Internet of Things (IoT) technology tools for <FormattedMessage id="Why.Descrip" />
helping your organization to achieve the most benefit in Commercial
Marketing.
</p> </p>
<div className="row"> <div className="row">
<div className="why-bg" /> <div className="why-bg" />
......
...@@ -128,18 +128,16 @@ body { ...@@ -128,18 +128,16 @@ body {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
.hidden-feature { .feature-card-wrapper {
width: 40%; width: 40%;
height: 130px; height: 130px;
margin: 0 35px 20px 35px; margin: 0 35px 20px 35px;
} }
.feature-card { .feature-card {
width: 40%; @extend .feature-card-wrapper;
height: 130px;
border-radius: 6px; border-radius: 6px;
border: solid 1px rgba(66, 179, 229, 0.35); border: solid 1px rgba(66, 179, 229, 0.35);
background-color: rgba(66, 179, 229, 0.1); background-color: rgba(66, 179, 229, 0.1);
margin: 0 35px 20px 35px;
padding: 10px; padding: 10px;
.feature-img { .feature-img {
@extend .center; @extend .center;
...@@ -190,10 +188,17 @@ body { ...@@ -190,10 +188,17 @@ body {
.descriptionStyle { .descriptionStyle {
font-size: 18px; font-size: 18px;
} }
.feature-container .feature-card, .feature-container .feature-card-wrapper {
.hidden-feature {
width: 90%; width: 90%;
} }
.feature-container .feature-card .feature-img {
display: none;
}
.feature-container .feature-card {
&:first-child {
margin-top: 30px;
}
}
} }
// .dropdown-item { // .dropdown-item {
// display: 'flex'; // display: 'flex';
......
...@@ -6,5 +6,22 @@ ...@@ -6,5 +6,22 @@
"BottomNav.Customer": "CUSTOMER", "BottomNav.Customer": "CUSTOMER",
"BottomNav.Packages": "PACKAGES", "BottomNav.Packages": "PACKAGES",
"GoToDashboard": "GO TO DASHBOARD", "GoToDashboard": "GO TO DASHBOARD",
"connect": "CONNECT" "connect": "CONNECT",
"About.Title": "About Nexpie IOT Platform",
"About.Descrip1": "Connecting everything - everywhere with IoT platform to improve your business productive and efficiency for creates best opportunities to your organization in new Technology era unlike anything before.",
"About.Descrip2": "NEXPIE IoT Platform provides tools and software libraries that accelerates the IoT development process, so developers can spend more time innovating and less time worrying about administration of back-end servers and data storage.",
"Why.Title": "Why choose NEXPIE",
"Why.Descrip": "NEXPIE provide the Internet of Things (IoT) technology tools for helping your organization to achieve the most benefit in Commercial Marketing.",
"Services.Title": "Our Services",
"Feature.Descrip": "The majority of NEXPIE functionality that helps to develop your connected devices and smart things.",
"Monitor.Title": "MONITORING",
"Monitor.Descrip": "Visualize your device and sensor data real-time",
"Trigger.Title": "TRIGGER",
"Trigger.Descrip": "Event that happen via Device data changed",
"Control.Title": "CONTROLLING",
"Control.Descrip": "Controlling how device works via Cloud Platform.",
"Hook.Title": "HOOK",
"Hook.Descrip": "Get automation works according to condition setting of Trigger",
"Storage.Title": "DATA STORAGE",
"Storage.Descrip": "Collecting data from your device and sensor to data storage."
} }
...@@ -6,5 +6,22 @@ ...@@ -6,5 +6,22 @@
"BottomNav.Customer": "ลูกค้า", "BottomNav.Customer": "ลูกค้า",
"BottomNav.Packages": "แพ็คเกจ", "BottomNav.Packages": "แพ็คเกจ",
"GoToDashboard": "ไปที่หน้าควบคุม", "GoToDashboard": "ไปที่หน้าควบคุม",
"connect": "เชื่อมต่อ" "connect": "เชื่อมต่อ",
"About.Title": "เกี่ยวกับแพลตฟอร์ม Nexpie IOT",
"About.Descrip1": "เชื่อมต่อทุกสิ่ง - ทุกที่ด้วยแพลตฟอร์ม IoT เพื่อปรับปรุงประสิทธิภาพการทำงานและประสิทธิภาพของธุรกิจของคุณ สร้างโอกาสที่ดีที่สุดให้กับองค์กรของคุณในยุคเทคโนโลยีใหม่ๆ ที่ไม่เหมือนที่ใด",
"About.Descrip2": "แพลตฟอร์ม NEXPIE IoT มีเครื่องมือและไลบรารีซอฟต์แวร์ที่เร่งกระบวนการพัฒนา IoT เพื่อให้นักพัฒนาสามารถใช้เวลาในการคิดค้นและใช้เวลาน้อยลงโดยไม่ต้องกังวลเกี่ยวกับการดูแลเซิร์ฟเวอร์แบ็คเอนด์และที่จัดเก็บข้อมูล",
"Why.Title": "ทำไมต้องเลือก NEXPIE",
"Why.Descrip": "NEXPIE มอบเครื่องมือ Internet of Things(IoT) เพื่อช่วยให้องค์กรของคุณได้รับประโยชน์สูงสุดในด้านการตลาดเชิงพาณิชย์",
"Services.Title": "บริการของเรา",
"Feature.Descrip": "ฟังก์ชั่นหลักของ NEXPIE คือการช่วยในการพัฒนาอุปกรณ์ และ smart things ของคุณ",
"Monitor.Title": "การติดตามตรวจสอบ",
"Monitor.Descrip": "ตรวจสอบอุปกรณ์และข้อมูลเซ็นเซอร์ของคุณได้แบบ real-time",
"Trigger.Title": "ตัวกระตุ้น",
"Trigger.Descrip": "เหตุการณ์ที่เกิดขึ้นเมื่อข้อมูลของอุปกรณ์มีการเปลี่ยนแปลง",
"Control.Title": "การควบคุม",
"Control.Descrip": "การควบคุมการทำงานของอุปกรณ์ผ่าน Cloud Platform",
"Hook.Title": "HOOK",
"Hook.Descrip": "ทำงานอัตโนมัติตามการเงื่อนไขของตัวกระตุ้นที่ได้ตั้งค่าไว้",
"Storage.Title": "การจัดเก็บข้อมูล",
"Storage.Descrip": "รวบรวมข้อมูลจากอุปกรณ์และเซ็นเซอร์ของคุณไปยังที่จัดเก็บข้อมูล"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment