From 8eba7a03419b1a5411a158bf9efd98cb750836f9 Mon Sep 17 00:00:00 2001 From: moh1med Date: Tue, 17 Oct 2023 15:10:58 +0100 Subject: [PATCH 1/4] feat: create marketing cards --- public/marketing-icons/sec1.png | Bin 0 -> 3848 bytes public/marketing-icons/sec2.png | Bin 0 -> 2656 bytes public/marketing-icons/sec3.png | Bin 0 -> 2037 bytes src/components/marketing-card/Card.jsx | 15 ++++++++ .../marketing-card/SectionWithCards.jsx | 34 ++++++++++++++++++ src/layout/Layout.jsx | 1 + 6 files changed, 50 insertions(+) create mode 100644 public/marketing-icons/sec1.png create mode 100644 public/marketing-icons/sec2.png create mode 100644 public/marketing-icons/sec3.png create mode 100644 src/components/marketing-card/Card.jsx create mode 100644 src/components/marketing-card/SectionWithCards.jsx diff --git a/public/marketing-icons/sec1.png b/public/marketing-icons/sec1.png new file mode 100644 index 0000000000000000000000000000000000000000..59d565ba016b14a1415ed34852ca3da3883ec4b0 GIT binary patch literal 3848 zcmV+j5BKniP)tJ>KaW*!#j1ZYlx=LDD&5Ke%3SYYM_hn;;UJnwuYyzBt`fH?u-1eg<$Jptkb zcJ?8J{o?MeYDtMK%j%Z8B}?A@eIF#Yl{oTWRb5?Osz&H2v+=kOfBH`V3pt>Nfsk-R z3DpM$0X^;m(D#7-oF5J8-(3Ggm?J%wpuT_*Cvb7?WcTQ34jl!dBWUr&`JMoEQz;nI zQv;|4MIz%=f%?b-@BaRB3LT-%@!% zl($I0@ftU|X{HMC?e6oJ6KEN&5HoS1sMI}rID~ExBEnQkeAX6g-Kdx>q7Y|~TWp0^ zkf@V3h`JFmw?)J(n-;ZkF=tO6jZn$MZ4xodrbKN_%-Q%a14Kb0dLI)*np>VwQ1XS& z<^-gqd7=sddTZv33%ZDU^iR?_Ee3jiiX18PeAVj(Hb+!P*Pp+B1`ScWm{%?p55NmF zO;GTWzL^5}o#gWcM?w$iQyC(tTi|Cp6wrL~E9y8rMoWl;{QyDqjs`5xfMNgGmZv9MzVdB?#W(>d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s=katJ=%(fKZb(1-}90PM(SNm0|-8=KMXm!e?|BopcppZ Tn|<%Q00000NkvXXu0mjfX`XQ& literal 0 HcmV?d00001 diff --git a/src/components/marketing-card/Card.jsx b/src/components/marketing-card/Card.jsx new file mode 100644 index 0000000..8b0446c --- /dev/null +++ b/src/components/marketing-card/Card.jsx @@ -0,0 +1,15 @@ +import React from "react"; + +const Card = ({ icon, title, children }) => { + return ( +
+
+ {icon} +

{title}

+ {children} +
+
+ ); +}; + +export default Card; diff --git a/src/components/marketing-card/SectionWithCards.jsx b/src/components/marketing-card/SectionWithCards.jsx new file mode 100644 index 0000000..860f469 --- /dev/null +++ b/src/components/marketing-card/SectionWithCards.jsx @@ -0,0 +1,34 @@ +import React from "react"; +import Card from "./Card"; + +const SectionWithCards = () => { + return ( +
+

+ Section Title +

+
+ } + title='Card 1 Title' + > +

Card 1 Content

+
+ } + title='Card 1 Title' + > +

Card 1 Content

+
+ } + title='Card 1 Title' + > +

Card 1 Content

+
+
+
+ ); +}; + +export default SectionWithCards; diff --git a/src/layout/Layout.jsx b/src/layout/Layout.jsx index 0cc1e4a..b53fa67 100644 --- a/src/layout/Layout.jsx +++ b/src/layout/Layout.jsx @@ -1,4 +1,5 @@ import Footer from "@/components/footer/Footer"; +import SectionWithCards from "@/components/marketing-card/SectionWithCards"; import Navbar from "@/components/navbar/Navbar"; export default function Layout({ children }) { From ae881da7c97632c1b7b9682f4bed23b50c019988 Mon Sep 17 00:00:00 2001 From: moh1med Date: Thu, 19 Oct 2023 23:38:01 +0100 Subject: [PATCH 2/4] feat: make the section responsive --- .../marketing-card/SectionWithCards.jsx | 61 ++++++++++++------- 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/src/components/marketing-card/SectionWithCards.jsx b/src/components/marketing-card/SectionWithCards.jsx index 860f469..a787191 100644 --- a/src/components/marketing-card/SectionWithCards.jsx +++ b/src/components/marketing-card/SectionWithCards.jsx @@ -3,29 +3,44 @@ import Card from "./Card"; const SectionWithCards = () => { return ( -
-

- Section Title -

-
- } - title='Card 1 Title' - > -

Card 1 Content

-
- } - title='Card 1 Title' - > -

Card 1 Content

-
- } - title='Card 1 Title' - > -

Card 1 Content

-
+
+

Section Title

+ +
+
+ + Icon +

Card 1 Title

+

Card 1 Content

+
+
+ +
+ + Icon +

Card 1 Title

+

Card 1 Content

+
+
+
+ + Icon +

Card 1 Title

+

Card 1 Content

+
+
); From 4a3f37a949610767efbd8a664dc304d56f4a8bed Mon Sep 17 00:00:00 2001 From: moh1med Date: Sat, 21 Oct 2023 15:17:10 +0100 Subject: [PATCH 3/4] feat: modify the sectionWithCard component to accept elements as children and img tag --- src/components/marketing-card/Card.jsx | 8 +-- src/components/marketing-card/SectionData.jsx | 68 +++++++++++++++++++ .../marketing-card/SectionWithCards.jsx | 45 ++---------- src/layout/Layout.jsx | 2 + 4 files changed, 77 insertions(+), 46 deletions(-) create mode 100644 src/components/marketing-card/SectionData.jsx diff --git a/src/components/marketing-card/Card.jsx b/src/components/marketing-card/Card.jsx index 8b0446c..aa6c6e7 100644 --- a/src/components/marketing-card/Card.jsx +++ b/src/components/marketing-card/Card.jsx @@ -1,10 +1,8 @@ -import React from "react"; - const Card = ({ icon, title, children }) => { return ( -
-
- {icon} +
+
+
{icon}

{title}

{children}
diff --git a/src/components/marketing-card/SectionData.jsx b/src/components/marketing-card/SectionData.jsx new file mode 100644 index 0000000..9faaa8d --- /dev/null +++ b/src/components/marketing-card/SectionData.jsx @@ -0,0 +1,68 @@ +import SectionWithCards from "./SectionWithCards"; +import Card from "./Card"; +import Image from "next/image"; + +const SectionData = () => { + return ( +
+ + + } + title='Card 1 Title' + > +

+ Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industrys + standard dummy text ever since the 1500s, +

+
+ + } + title='Card 2 Title' + > +

+ Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industrys + standard dummy text ever since the 1500s, +

+
+ + } + title='Card 3 Title' + > +

+ Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industrys + standard dummy text ever since the 1500s, +

+
+
+
+ ); +}; + +export default SectionData; diff --git a/src/components/marketing-card/SectionWithCards.jsx b/src/components/marketing-card/SectionWithCards.jsx index a787191..a1d4fea 100644 --- a/src/components/marketing-card/SectionWithCards.jsx +++ b/src/components/marketing-card/SectionWithCards.jsx @@ -1,47 +1,10 @@ -import React from "react"; import Card from "./Card"; -const SectionWithCards = () => { +const SectionWithCards = ({ children }) => { return ( -
-

Section Title

- -
-
- - Icon -

Card 1 Title

-

Card 1 Content

-
-
- -
- - Icon -

Card 1 Title

-

Card 1 Content

-
-
-
- - Icon -

Card 1 Title

-

Card 1 Content

-
-
-
+
+

Section Title

+
{children}
); }; diff --git a/src/layout/Layout.jsx b/src/layout/Layout.jsx index b53fa67..4fd1fcc 100644 --- a/src/layout/Layout.jsx +++ b/src/layout/Layout.jsx @@ -1,12 +1,14 @@ import Footer from "@/components/footer/Footer"; import SectionWithCards from "@/components/marketing-card/SectionWithCards"; import Navbar from "@/components/navbar/Navbar"; +import SectionData from "@/components/marketing-card/SectionData"; export default function Layout({ children }) { return (
{children} +
); From bfebd2d6c0674a1d0df12064f9e6c6577d099c10 Mon Sep 17 00:00:00 2001 From: ismailbenlaredj Date: Mon, 23 Oct 2023 19:55:58 +0100 Subject: [PATCH 4/4] refactor(marketing card): update section container component --- src/components/marketing-card/SectionData.jsx | 68 ------------------- .../marketing-card/SectionWithCards.jsx | 6 +- src/layout/Layout.jsx | 3 - 3 files changed, 2 insertions(+), 75 deletions(-) delete mode 100644 src/components/marketing-card/SectionData.jsx diff --git a/src/components/marketing-card/SectionData.jsx b/src/components/marketing-card/SectionData.jsx deleted file mode 100644 index 9faaa8d..0000000 --- a/src/components/marketing-card/SectionData.jsx +++ /dev/null @@ -1,68 +0,0 @@ -import SectionWithCards from "./SectionWithCards"; -import Card from "./Card"; -import Image from "next/image"; - -const SectionData = () => { - return ( -
- - - } - title='Card 1 Title' - > -

- Lorem Ipsum is simply dummy text of the printing and - typesetting industry. Lorem Ipsum has been the industrys - standard dummy text ever since the 1500s, -

-
- - } - title='Card 2 Title' - > -

- Lorem Ipsum is simply dummy text of the printing and - typesetting industry. Lorem Ipsum has been the industrys - standard dummy text ever since the 1500s, -

-
- - } - title='Card 3 Title' - > -

- Lorem Ipsum is simply dummy text of the printing and - typesetting industry. Lorem Ipsum has been the industrys - standard dummy text ever since the 1500s, -

-
-
-
- ); -}; - -export default SectionData; diff --git a/src/components/marketing-card/SectionWithCards.jsx b/src/components/marketing-card/SectionWithCards.jsx index a1d4fea..39686d2 100644 --- a/src/components/marketing-card/SectionWithCards.jsx +++ b/src/components/marketing-card/SectionWithCards.jsx @@ -1,9 +1,7 @@ -import Card from "./Card"; - -const SectionWithCards = ({ children }) => { +const SectionWithCards = ({ children, SectionTitle }) => { return (
-

Section Title

+

{SectionTitle}

{children}
); diff --git a/src/layout/Layout.jsx b/src/layout/Layout.jsx index 4fd1fcc..0cc1e4a 100644 --- a/src/layout/Layout.jsx +++ b/src/layout/Layout.jsx @@ -1,14 +1,11 @@ import Footer from "@/components/footer/Footer"; -import SectionWithCards from "@/components/marketing-card/SectionWithCards"; import Navbar from "@/components/navbar/Navbar"; -import SectionData from "@/components/marketing-card/SectionData"; export default function Layout({ children }) { return (
{children} -
);