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

View File

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