From bc94b1192bbfbf981a2357661e58d0c971803e47 Mon Sep 17 00:00:00 2001 From: Alina Khomenker Date: Tue, 27 Dec 2022 11:19:30 +0200 Subject: [PATCH 01/31] create about us --- code/screens/about-us/index.js | 19 ++++++++++++ code/screens/about/components/big-side.js | 13 --------- code/screens/about/components/careers-list.js | 13 --------- code/screens/about/components/grid-section.js | 13 --------- code/screens/about/components/small-side.js | 23 --------------- code/screens/about/index.js | 29 ------------------- content/_shared/footer/index.md | 4 +-- content/_shared/navbar/navigation/index.md | 2 +- content/about/md/careers/index.md | 10 ------- content/about/md/grid/section1/big.md | 4 --- content/about/md/grid/section1/index.md | 7 ----- content/about/md/grid/section1/small.md | 6 ---- content/about/md/grid/section2/big.md | 4 --- content/about/md/grid/section2/index.md | 7 ----- content/about/md/grid/section2/small.md | 6 ---- content/about/md/grid/section3/big.md | 4 --- content/about/md/grid/section3/index.md | 7 ----- content/about/md/grid/section3/small.md | 7 ----- content/about/md/index.md | 18 +++++------- 19 files changed, 29 insertions(+), 167 deletions(-) create mode 100644 code/screens/about-us/index.js delete mode 100644 code/screens/about/components/big-side.js delete mode 100644 code/screens/about/components/careers-list.js delete mode 100644 code/screens/about/components/grid-section.js delete mode 100644 code/screens/about/components/small-side.js delete mode 100644 code/screens/about/index.js delete mode 100644 content/about/md/careers/index.md delete mode 100644 content/about/md/grid/section1/big.md delete mode 100644 content/about/md/grid/section1/index.md delete mode 100644 content/about/md/grid/section1/small.md delete mode 100644 content/about/md/grid/section2/big.md delete mode 100644 content/about/md/grid/section2/index.md delete mode 100644 content/about/md/grid/section2/small.md delete mode 100644 content/about/md/grid/section3/big.md delete mode 100644 content/about/md/grid/section3/index.md delete mode 100644 content/about/md/grid/section3/small.md diff --git a/code/screens/about-us/index.js b/code/screens/about-us/index.js new file mode 100644 index 0000000..5023780 --- /dev/null +++ b/code/screens/about-us/index.js @@ -0,0 +1,19 @@ +import ColorSection from "../../common/ColorSection"; +import PageWrapper from "../../common/pageWrapper"; +import React from "react"; +import { COLORS } from "../../../assets/js/common/colors"; + +function AboutUs({ title, description, marquee, contact, _relativeURL, _ID }) { + return ( + + ); +} + +export default AboutUs; diff --git a/code/screens/about/components/big-side.js b/code/screens/about/components/big-side.js deleted file mode 100644 index 1f43d42..0000000 --- a/code/screens/about/components/big-side.js +++ /dev/null @@ -1,13 +0,0 @@ -import React from "react"; -import Image from "../../../common/img"; -import { handleUrl } from "../../../utils"; - -function BigSide({ image, _relativeURL, _ID }) { - return ( -
- -
- ); -} - -export default BigSide; diff --git a/code/screens/about/components/careers-list.js b/code/screens/about/components/careers-list.js deleted file mode 100644 index 89d0a79..0000000 --- a/code/screens/about/components/careers-list.js +++ /dev/null @@ -1,13 +0,0 @@ -import React from "react"; -import animations from "../../../../assets/js/animations"; - -function CareersList({ careers, _body }) { - return ( -
-
{_body}
- {careers} -
- ); -} - -export default CareersList; diff --git a/code/screens/about/components/grid-section.js b/code/screens/about/components/grid-section.js deleted file mode 100644 index 5446c19..0000000 --- a/code/screens/about/components/grid-section.js +++ /dev/null @@ -1,13 +0,0 @@ -import React from "react"; -import animations from "../../../../assets/js/animations"; - -function AboutGridSection({ bigSide, smallSide }) { - return ( -
- {bigSide} - {smallSide} -
- ); -} - -export default AboutGridSection; diff --git a/code/screens/about/components/small-side.js b/code/screens/about/components/small-side.js deleted file mode 100644 index cd0dac8..0000000 --- a/code/screens/about/components/small-side.js +++ /dev/null @@ -1,23 +0,0 @@ -import React from "react"; -import Image from "../../../common/img"; -import { handleUrl } from "../../../utils"; - -function SmallSection({ image, _relativeURL, _ID, title, _body }) { - return ( -
- {image && } -
-
{title}
- {_body} -
-
- ); -} - -export default SmallSection; diff --git a/code/screens/about/index.js b/code/screens/about/index.js deleted file mode 100644 index 8d2bd63..0000000 --- a/code/screens/about/index.js +++ /dev/null @@ -1,29 +0,0 @@ -import React from "react"; -import animations from "../../../assets/js/animations"; -import { handleUrl } from "../../utils"; - -function About({ sections, careers, topImage, _relativeURL, _ID, team }) { - return ( -
-
-

- We are GoTech -

- -

Our story

-
{sections}
- {team} -
- {careers} -