Skip to content

Commit 31971c5

Browse files
authored
Merge pull request #45 from Pyrrha-Platform/updates
Updates to deployment platforms
2 parents ea984b2 + 7c5604d commit 31971c5

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Please note we have a [Code of Conduct](#code-of-conduct), please follow it in a
1010
## Pull Request Process
1111

1212
1. Fork the repository.
13-
2. Commit your changes to your fork.
14-
3. Submit a pull request.
15-
4. Handle any feedback before the request is merged.
16-
5. Accept our sincere Thank You!
13+
1. Commit your changes to your fork.
14+
1. Submit a pull request.
15+
1. Handle any feedback before the request is merged.
16+
1. Accept our sincere Thank You!
1717

1818
## Code of Conduct
1919

src/components/Banner.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ const Banner = () => {
77

88
return (
99
<section className="landing__banner">
10-
<div className="bx--grid">
11-
<div className="bx--row">
12-
<div className="bx--col col__banner__title">
10+
<div className="cds--grid">
11+
<div className="cds--row">
12+
<div className="cds--col col__banner__title">
1313
<h1 className="BannerTitle">Pyrrha</h1>
1414
<h2 className="BannerSubtitle_Responsive">{t("bannerMission")}</h2>
1515
</div>
16-
<div className="bx--col col__banner__subtitle">
16+
<div className="cds--col col__banner__subtitle">
1717
{" "}
1818
<h2 className="BannerSubtitle">{t("bannerMission")}</h2>
1919
</div>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import marco from "../content/assets/Marco-Emilio-Rodriguez-Serrano.jpeg";
1111
import joan from "../content/assets/Joan-Herrera.jpeg";
1212
import artur from "../content/assets/Artur-Alvarez.jpeg";
1313

14-
const SensorInfo = () => {
14+
const DeviceInfo = () => {
1515
const { t } = useContext(AppContext);
1616

1717
return (
@@ -29,9 +29,9 @@ const SensorInfo = () => {
2929
<Column lg={4}></Column>
3030
<Column lg={6}>
3131
<img
32-
className="sensor-image"
32+
className="device-image"
3333
src={board}
34-
alt="A 3D printed sensor"
34+
alt="A 3D printed device"
3535
></img>
3636
</Column>
3737
</Row>
@@ -215,4 +215,4 @@ const NetworkInfo = () => {
215215
);
216216
};
217217

218-
export { SensorInfo, DashboardInfo, NetworkInfo };
218+
export { DeviceInfo, DashboardInfo, NetworkInfo };

src/content/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"architectureTitle": "Pyrrha in a nutshell",
1111
"architectureDescription": "A two-way system that collects toxin readings, analyzes them, and sends actionable data back to the team.",
1212
"architectureDescription1": "1. The firefighter logs into the ruggedized Samsung smartphone via IBM App ID. Devices are paired through Bluetooth.",
13-
"architectureDescription2": "2. The device sensors capture toxin levels. The device sends stored readings to the phone at regular intervals.",
13+
"architectureDescription2": "2. The device captures toxin levels. The device sends stored readings to the phone at regular intervals.",
1414
"architectureDescription3": "3. The mobile application relays data to the IBM IoT platform.",
1515
"architectureDescription4": "4. The MQTT client service listens for incoming messages from the IBM IoT platform.",
1616
"architectureDescription5": "5. The MQTT client stores the data in the MariaDB relational database.",

src/pages/Landing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import Header from "../components/Header";
3-
import { SensorInfo, DashboardInfo, NetworkInfo } from "../components/Sensors";
3+
import { DeviceInfo, DashboardInfo, NetworkInfo } from "../components/Devices";
44
import Banner from "../components/Banner";
55
import WhoWeAre from "../components/WhoWeAre";
66
import Footer from "../components/Footer";
@@ -12,7 +12,7 @@ const Landing = () => {
1212
<main>
1313
<Banner />
1414
<WhoWeAre />
15-
<SensorInfo />
15+
<DeviceInfo />
1616
<DashboardInfo />
1717
<NetworkInfo />
1818
</main>

src/styles/Landing.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
// https://www.carbondesignsystem.com/guidelines/typography/productive
33

44
// Header
5-
.bx--header .bx--header__name {
5+
.cds--header .cds--header__name {
66
@include carbon--type-style("expressive-heading-04");
77
font-size: 1rem;
88
}
99

10-
.bx--header__nav {
10+
.cds--header__nav {
1111
display: block;
1212
position: absolute;
1313
right: 95px;
@@ -174,40 +174,40 @@
174174
margin-bottom: 4rem;
175175
float: left;
176176

177-
.bx--btn--primary {
177+
.cds--btn--primary {
178178
background-color: #cc3d3d;
179179
max-width: 14rem;
180180
}
181181

182182
@media screen and (max-width: 778px) {
183183
flex-direction: column;
184184

185-
.bx--btn,
186-
.bx--btn--primary {
185+
.cds--btn,
186+
.cds--btn--primary {
187187
max-width: none;
188188
margin: 1rem 0;
189189
}
190190
}
191191

192-
.bx--btn--primary:hover {
192+
.cds--btn--primary:hover {
193193
background-color: #5f6163;
194194
}
195195
}
196196
}
197197

198-
// Sensor information section.
198+
// Device information section.
199199
.info-section {
200200
margin-bottom: 10vw;
201201

202202
.info-text {
203203
padding-top: 40px;
204204
border-top: 1px solid #cc3d3d;
205-
div[class^="bx--col"] {
205+
div[class^="cds--col"] {
206206
margin-top: 10px;
207207
}
208208
}
209209

210-
.sensor-image {
210+
.device-image {
211211
margin-top: 2vw;
212212
margin-bottom: 1.5vw;
213213
width: 100%;

0 commit comments

Comments
 (0)