Updates to landing pages.

This commit is contained in:
Patrick Fic
2023-02-14 16:03:41 -08:00
parent 9d42135ebf
commit b52bbab903
2 changed files with 32 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { Button, Space } from "antd"; import { Button, Card, Space } from "antd";
import { DownOutlined } from "@ant-design/icons"; import { DownOutlined } from "@ant-design/icons";
import QueueAnim from "rc-queue-anim"; import QueueAnim from "rc-queue-anim";
import TweenOne from "rc-tween-one"; import TweenOne from "rc-tween-one";
@@ -19,25 +19,27 @@ class Banner extends React.PureComponent {
delay={200} delay={200}
{...dataSource.textWrapper} {...dataSource.textWrapper}
> >
<div key="title" {...dataSource.title}> <Card style={{ opacity: "80%", background: "#000" }}>
{typeof dataSource.title.children === "string" && <div key="title" {...dataSource.title}>
dataSource.title.children.match(isImg) ? ( {typeof dataSource.title.children === "string" &&
<img src={dataSource.title.children} width="100%" alt="img" /> dataSource.title.children.match(isImg) ? (
) : ( <img src={dataSource.title.children} width="100%" alt="img" />
dataSource.title.children ) : (
)} dataSource.title.children
</div> )}
<div key="content" {...dataSource.content}> </div>
{dataSource.content.children} <div key="content" {...dataSource.content}>
</div> {dataSource.content.children}
<Space wrap> </div>
<Button ghost key="button" {...dataSource.button}> <Space wrap>
{dataSource.button.children} <Button ghost key="button" {...dataSource.button}>
</Button> {dataSource.button.children}
<Button type="primary" key="button2" {...dataSource.button2}> </Button>
{dataSource.button2.children} <Button type="primary" key="button2" {...dataSource.button2}>
</Button> {dataSource.button2.children}
</Space> </Button>
</Space>
</Card>
</QueueAnim> </QueueAnim>
<TweenOne <TweenOne
animation={{ animation={{

View File

@@ -1,8 +1,8 @@
import React from "react"; import React from "react";
import i18n from "../translations/i18n"; import i18n from "../translations/i18n";
import ImexOnlineLogoLight from "../assets/ImEX Online Logo.png"; import ImexOnlineLogoLight from "../assets/ImEX Online Logo.png";
import ImexOnlineLogoDark from "../assets/ImEX Online Logo - Dark.png";
import ImexOnlineBannerLogo from "../assets/banner-logo.png"; import RomeLogo from "../assets/romelogo.png";
import TechnologySvg from "../assets/icons/technology.svg"; import TechnologySvg from "../assets/icons/technology.svg";
export const Nav00DataSource = { export const Nav00DataSource = {
wrapper: { className: "header0 home-page-wrapper" }, wrapper: { className: "header0 home-page-wrapper" },
@@ -113,18 +113,16 @@ export const Banner00DataSource = {
textWrapper: { className: "banner0-text-wrapper" }, textWrapper: { className: "banner0-text-wrapper" },
title: { title: {
className: "banner0-title", className: "banner0-title",
children: ( children: <img alt="" style={{ width: "100%" }} src={RomeLogo} />,
<img alt="" style={{ width: "100%" }} src={ImexOnlineBannerLogo} />
),
}, },
content: { content: {
className: "banner0-content", className: "banner0-content",
children: i18n.t("landing.hero.title"), children: null, // i18n.t("landing.hero.title"),
}, },
button: { button: {
className: "banner0-button", className: "banner0-button",
children: i18n.t("landing.hero.button"), children: i18n.t("landing.hero.button"),
href: "https://imexsystems.ca/products/imex-online", href: "https://rometech.com",
}, },
button2: { button2: {
className: "banner0-button2", className: "banner0-button2",
@@ -979,9 +977,7 @@ export const Footer10DataSource = {
className: "block", className: "block",
title: { title: {
className: "logo", className: "logo",
children: ( children: <img alt="" style={{ width: "100%" }} src={RomeLogo} />,
<img alt="" style={{ width: "100%" }} src={ImexOnlineLogoDark} />
),
}, },
childWrapper: { childWrapper: {
className: "slogan", className: "slogan",
@@ -1038,7 +1034,7 @@ export const Footer10DataSource = {
childWrapper: { childWrapper: {
children: [ children: [
{ {
href: "https://imexsystems.ca/privacy", href: "https://www.rometech.com/privacy-policy-2/",
name: "link0", name: "link0",
children: i18n.t("landing.footer.company.privacypolicy"), children: i18n.t("landing.footer.company.privacypolicy"),
}, },
@@ -1048,12 +1044,12 @@ export const Footer10DataSource = {
// children: i18n.t("landing.footer.company.about"), // children: i18n.t("landing.footer.company.about"),
// }, // },
{ {
href: "/disclaimer", href: "https://www.rometech.com/end-user-privacy-statement/",
name: "link2", name: "link2",
children: i18n.t("landing.footer.company.disclaimers"), children: i18n.t("landing.footer.company.disclaimers"),
}, },
{ {
href: "https://imexsystems.ca/schedule-a-demo/", href: "https://www.rometech.com/learn-more-now/",
name: "link3", name: "link3",
children: i18n.t("landing.footer.company.contact"), children: i18n.t("landing.footer.company.contact"),
}, },
@@ -1068,8 +1064,7 @@ export const Footer10DataSource = {
className: "copyright", className: "copyright",
children: ( children: (
<span> <span>
©2022 <a href="http://imexsystems.ca">ImEX Systems</a> used under ©2023 <a href="http://imexsystems.ca">ImEX Systems</a>
license.
</span> </span>
), ),
}, },