From ec0180c76f1f1fba78e5b706b84d3fe19fac169a Mon Sep 17 00:00:00 2001 From: Mohit Maroliya Date: Wed, 13 Jul 2022 20:52:00 +0530 Subject: [PATCH 1/2] Adding TeamD subblock for light & dark mode --- src/blocks/index.js | 5 +- src/blocks/team/dark/d.js | 219 +++++++++++++++++++++++++++++++++++++ src/blocks/team/light/d.js | 219 +++++++++++++++++++++++++++++++++++++ src/icons/index.js | 4 +- src/icons/team/d.js | 69 ++++++++++++ 5 files changed, 514 insertions(+), 2 deletions(-) create mode 100644 src/blocks/team/dark/d.js create mode 100644 src/blocks/team/light/d.js create mode 100644 src/icons/team/d.js diff --git a/src/blocks/index.js b/src/blocks/index.js index f48ad80..4c8f477 100644 --- a/src/blocks/index.js +++ b/src/blocks/index.js @@ -144,10 +144,12 @@ import DarkStepC from './step/dark/c'; import LightTeamA from './team/light/a'; import LightTeamB from './team/light/b'; import LightTeamC from './team/light/c'; +import LightTeamD from './team/light/d'; import DarkTeamA from './team/dark/a'; import DarkTeamB from './team/dark/b'; import DarkTeamC from './team/dark/c'; +import DarkTeamD from './team/dark/d'; import LightTestimonialA from './testimonial/light/a'; import LightTestimonialB from './testimonial/light/b'; @@ -245,7 +247,8 @@ export default function getBlock({theme = 'indigo', darkMode = false}) { Team: { TeamA: darkMode ? : , TeamB: darkMode ? : , - TeamC: darkMode ? : + TeamC: darkMode ? : , + TeamD: darkMode ? : }, Testimonial: { TestimonialA: darkMode ? : , diff --git a/src/blocks/team/dark/d.js b/src/blocks/team/dark/d.js new file mode 100644 index 0000000..cae7d45 --- /dev/null +++ b/src/blocks/team/dark/d.js @@ -0,0 +1,219 @@ +import React from "react"; +import PropTypes from "prop-types"; + +function DarkTeamD(props) { + return ( +
+
+
+

+ Our Team +

+

+ Whatever cardigan tote bag tumblr hexagon brooklyn asymmetrical + gentrify, subway tile poke farm-to-table. Franzen you probably + haven't heard of them. +

+
+ +
+
+ team +
+
+

+ Holden Caulfield | UI Designer +

+

+ DIY tote bag drinking vinegar cronut adaptogen squid fanny pack + vaporware photo booth fam. +

+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ team +
+
+

+ Atticus Finch{" "} + | Product Manager +

+

+ DIY tote bag drinking vinegar cronut adaptogen squid fanny pack + vaporware photo booth fam. +

+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ team +
+
+

+ Alper Kamu{" "} + | Software Developer +

+

+ DIY tote bag drinking vinegar cronut adaptogen squid fanny pack + vaporware photo booth fam. +

+ + + + + + + + + + + + + + + + + +
+
+
+
+ ); +} + +DarkTeamD.defaultProps = { + theme: "indigo", +}; + +DarkTeamD.propTypes = { + theme: PropTypes.string.isRequired, +}; + +export default DarkTeamD; diff --git a/src/blocks/team/light/d.js b/src/blocks/team/light/d.js new file mode 100644 index 0000000..ffec15c --- /dev/null +++ b/src/blocks/team/light/d.js @@ -0,0 +1,219 @@ +import React from "react"; +import PropTypes from "prop-types"; + +function LightTeamD(props) { + return ( +
+
+
+

+ Our Team +

+

+ Whatever cardigan tote bag tumblr hexagon brooklyn asymmetrical + gentrify, subway tile poke farm-to-table. Franzen you probably + haven't heard of them. +

+
+ +
+
+ team +
+
+

+ Holden Caulfield | UI Designer +

+

+ DIY tote bag drinking vinegar cronut adaptogen squid fanny pack + vaporware photo booth fam. +

+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ team +
+
+

+ Atticus Finch{" "} + | Product Manager +

+

+ DIY tote bag drinking vinegar cronut adaptogen squid fanny pack + vaporware photo booth fam. +

+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ team +
+
+

+ Alper Kamu{" "} + | Software Developer +

+

+ DIY tote bag drinking vinegar cronut adaptogen squid fanny pack + vaporware photo booth fam. +

+ + + + + + + + + + + + + + + + + +
+
+
+
+ ); +} + +LightTeamD.defaultProps = { + theme: "indigo", +}; + +LightTeamD.propTypes = { + theme: PropTypes.string.isRequired, +}; + +export default LightTeamD; diff --git a/src/icons/index.js b/src/icons/index.js index 9b89c77..17d40e0 100644 --- a/src/icons/index.js +++ b/src/icons/index.js @@ -73,6 +73,7 @@ import StepC from './step/c'; import TeamA from './team/a'; import TeamB from './team/b'; import TeamC from './team/c'; +import TeamD from './team/d'; import TestimonialA from './testimonial/a'; import TestimonialB from './testimonial/b'; @@ -166,7 +167,8 @@ export default function getIcons() { Team: { TeamA: , TeamB: , - TeamC: + TeamC: , + TeamD: }, Testimonial: { TestimonialA: , diff --git a/src/icons/team/d.js b/src/icons/team/d.js new file mode 100644 index 0000000..873111a --- /dev/null +++ b/src/icons/team/d.js @@ -0,0 +1,69 @@ +import React from "react"; + +function TeamD() { + return ( + + + + + + + + + + + + + + + + + + + + ); +} + +export default TeamD; From c51aaef7dd238a39c5e20835b41bc86728e8d32c Mon Sep 17 00:00:00 2001 From: Mohit Maroliya Date: Thu, 14 Jul 2022 17:44:44 +0530 Subject: [PATCH 2/2] Adding TeamD icon --- src/blocks/team/dark/d.js | 24 ++++++++--------- src/blocks/team/light/d.js | 6 ++--- src/icons/team/d.js | 54 ++++++++++++++++++++++---------------- 3 files changed, 46 insertions(+), 38 deletions(-) diff --git a/src/blocks/team/dark/d.js b/src/blocks/team/dark/d.js index cae7d45..cc5b080 100644 --- a/src/blocks/team/dark/d.js +++ b/src/blocks/team/dark/d.js @@ -18,7 +18,7 @@ function DarkTeamD(props) {