-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,512 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
module.exports = { | ||
extends: ["eslint:recommended", "plugin:react/recommended"], | ||
parser: "babel-eslint", | ||
rules: { | ||
indent: ["error", 4, {SwitchCase: 1}], | ||
quotes: ["error", "double"], | ||
"no-console": "error", | ||
semi: ["error", "always"], | ||
"react/no-deprecated": "off" | ||
extends: ["eslint:recommended", "plugin:react/recommended"], | ||
parser: "babel-eslint", | ||
rules: { | ||
/* indent: ["error", 4, {SwitchCase: 1}], */ | ||
/* quotes: ["error", "double"], */ | ||
"no-console": "error", | ||
semi: ["error", "always"], | ||
"react/no-deprecated": "off", | ||
}, | ||
parserOptions: { | ||
ecmaFeatures: { | ||
legacyDecorators: true, | ||
}, | ||
parserOptions: { | ||
ecmaFeatures: { | ||
legacyDecorators: true | ||
} | ||
}, | ||
env: { | ||
browser: true, | ||
node: true | ||
} | ||
}, | ||
env: { | ||
browser: true, | ||
node: true, | ||
}, | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import React from "react"; | ||
import * as PropTypes from "prop-types"; | ||
|
||
import "./itemized.component.scss"; | ||
|
||
export function Itemized(props) { | ||
const { label, small = false } = props; | ||
|
||
return ( | ||
<div className="itemized-component"> | ||
<div className={small ? "box-container box-container-small" : "box-container"}> | ||
<span className="box" /> | ||
</div> | ||
<div className={small ? "content content-small" : "content"}> | ||
<span>{label}</span> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
Itemized.propTypes = { | ||
trKey: PropTypes.string, | ||
label: PropTypes.string, | ||
small: PropTypes.bool, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@import "../../../assets/scss/variables"; | ||
|
||
.itemized-component { | ||
display: flex; | ||
|
||
.box-container { | ||
width: 35px; | ||
min-width: 35px; | ||
|
||
.box { | ||
display: inline-block !important; | ||
width: 10px !important; | ||
height: 10px !important; | ||
min-width: 10px !important; | ||
min-height: 10px !important; | ||
max-width: 10px !important; | ||
max-height: 10px !important; | ||
background-color: $blue-100 !important; | ||
box-shadow: none !important; | ||
margin: 0 !important; | ||
padding: 0 !important; | ||
} | ||
|
||
&.box-container-small { | ||
width: 18px; | ||
min-width: 18px; | ||
} | ||
} | ||
|
||
.content { | ||
font-family: $font-asap; | ||
font-size: 20px; | ||
|
||
&.content-small { | ||
font-size: 18px; | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/components/shared/service-range-box/service-range-box.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React, { Component } from "react"; | ||
import PropTypes from "prop-types"; | ||
|
||
import "./service-range-box.scss"; | ||
|
||
export class ServiceRangeBox extends Component { | ||
static propTypes = { | ||
img: PropTypes.string, | ||
text: PropTypes.string, | ||
description: PropTypes.string, | ||
}; | ||
|
||
render() { | ||
const { img, description, text } = this.props; | ||
|
||
return ( | ||
<div className="box"> | ||
<div className="img-div"> | ||
<img src={img} /> | ||
</div> | ||
<p>{text}</p> | ||
{description && <p style={{ fontWeight: 500, fontSize: "16px", lineHeight: "18px" }}>{description}</p>} | ||
</div> | ||
); | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
src/components/shared/service-range-box/service-range-box.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
@import "../../../assets/scss/variables"; | ||
@import "../../../assets/scss/media-mixin"; | ||
|
||
@include device-specific($media-phone) { | ||
.box { | ||
width: 100%; | ||
margin: 5px !important; | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | ||
|
||
p { | ||
color: $black; | ||
margin-top: 20px; | ||
font-weight: 600; | ||
} | ||
|
||
img { | ||
margin: 20px auto 0 auto; | ||
width: 33%; | ||
height: 33%; | ||
} | ||
|
||
.img-div { | ||
width: 100%; | ||
|
||
} | ||
} | ||
} | ||
|
||
@include device-specific($media-md) { | ||
.box { | ||
width: 23%; | ||
margin: 5px !important; | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | ||
|
||
p { | ||
color: $black; | ||
margin-top: 20px; | ||
font-weight: 600; | ||
} | ||
|
||
img { | ||
margin: 20px auto 0 auto; | ||
width: 33%; | ||
height: 33%; | ||
} | ||
|
||
.img-div { | ||
width: 100%; | ||
} | ||
} | ||
} | ||
|
||
@include device-specific($media-xl) { | ||
.box { | ||
width: 23%; | ||
margin: 5px !important; | ||
padding: 20px; | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | ||
|
||
p { | ||
color: $black; | ||
margin-top: 20px; | ||
font-weight: 600; | ||
} | ||
|
||
img { | ||
margin: 20px auto 0 auto; | ||
width: 33%; | ||
height: 33%; | ||
} | ||
|
||
.img-div { | ||
width: 100%; | ||
|
||
img { | ||
width: 27%; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
import {BLOG_URL} from "../constants"; | ||
|
||
export const navbarItems = t => [ | ||
{ | ||
url: "/business-apis", | ||
title: t("navbar.business-apis"), | ||
external: false | ||
}, | ||
{ | ||
url: "/digital-platform", | ||
title: t("navbar.digital-platform"), | ||
external: false | ||
}, | ||
{ | ||
url: "/partners", | ||
title: t("navbar.partners"), | ||
external: false | ||
}, | ||
{ | ||
url: BLOG_URL, | ||
title: t("navbar.blog"), | ||
external: true | ||
}, | ||
{ | ||
url: "#", | ||
title: t("navbar.contact"), | ||
external: false, | ||
isButton: true | ||
}, | ||
import { BLOG_URL } from "../constants"; | ||
|
||
export const navbarItems = (t) => [ | ||
{ | ||
url: "/business-apis", | ||
title: t("navbar.business-apis"), | ||
external: false, | ||
}, | ||
{ | ||
url: "/digital-platform", | ||
title: t("navbar.digital-platform"), | ||
external: false, | ||
}, | ||
{ | ||
url: "/ai", | ||
title: t("navbar.ai"), | ||
external: false, | ||
}, | ||
{ | ||
url: "/partners", | ||
title: t("navbar.partners"), | ||
external: false, | ||
}, | ||
{ | ||
url: BLOG_URL, | ||
title: t("navbar.blog"), | ||
external: true, | ||
}, | ||
{ | ||
url: "#", | ||
title: t("navbar.contact"), | ||
external: false, | ||
isButton: true, | ||
}, | ||
]; |
Oops, something went wrong.