From c04c86f2600919f3723429f6a9d55a16a18ce0bf Mon Sep 17 00:00:00 2001 From: LaidBenglia <73167661+LaidBengli@users.noreply.github.com> Date: Sun, 15 Oct 2023 04:35:19 -0700 Subject: [PATCH 1/4] feat: add category card --- src/components/categorycard/CategoryCard.jsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/components/categorycard/CategoryCard.jsx diff --git a/src/components/categorycard/CategoryCard.jsx b/src/components/categorycard/CategoryCard.jsx new file mode 100644 index 0000000..ae28910 --- /dev/null +++ b/src/components/categorycard/CategoryCard.jsx @@ -0,0 +1,18 @@ +import React from "react"; + +const CategoryCard = ({ category }) => { + return ( +
+ {category.name} +
+
{category.name}
+
+
+ ); +}; + +export default CategoryCard; From 4f5d398ec869330f5b59bc9b75ab4d92bbbb89c1 Mon Sep 17 00:00:00 2001 From: Ismail Benlaredj <55237234+ismail-benlaredj@users.noreply.github.com> Date: Sun, 15 Oct 2023 15:58:20 +0100 Subject: [PATCH 2/4] Update issue-autolink.yml --- .github/workflows/issue-autolink.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-autolink.yml b/.github/workflows/issue-autolink.yml index 21d496a..8d7738c 100644 --- a/.github/workflows/issue-autolink.yml +++ b/.github/workflows/issue-autolink.yml @@ -9,5 +9,5 @@ jobs: steps: - uses: tkt-actions/add-issue-links@v1.6.0 with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + repo-token: "${{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 }}" resolve: "true" From ea1dce98c3dcb5c35d7f332044762dc267394128 Mon Sep 17 00:00:00 2001 From: Darine Date: Sun, 15 Oct 2023 19:34:59 +0100 Subject: [PATCH 3/4] feat(herosection component): add hero section implement responsive hero section componenet close #36 --- public/images/hero-img.svg | 40 ++++++++++++++++++++++ src/components/herosection/HeroSection.jsx | 34 ++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 public/images/hero-img.svg create mode 100644 src/components/herosection/HeroSection.jsx diff --git a/public/images/hero-img.svg b/public/images/hero-img.svg new file mode 100644 index 0000000..bd08563 --- /dev/null +++ b/public/images/hero-img.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/herosection/HeroSection.jsx b/src/components/herosection/HeroSection.jsx new file mode 100644 index 0000000..0d3abd2 --- /dev/null +++ b/src/components/herosection/HeroSection.jsx @@ -0,0 +1,34 @@ +import Image from "next/image"; + +const HeroSection = () => { + return ( +
+
+ hero image +
+

+ Lorem ipsum dolor sit amet consectetur, adipisicing + elit. Ullam, quia ad alias non saepe aliquid, totam, + aliqu perspiciatis optio doloribus debitis vero + voluptates esse. Voluptatum nihil nam fuga minima! quis + nostr exercitation ullamco laboris nisi ut aliquip ex ea + commodo consequat. +

+
+ +
+
+
+
+ ); +}; + +export default HeroSection; From 332d79d7e8e51ac57fdcdc1a9b13355179d2a5d0 Mon Sep 17 00:00:00 2001 From: ismailbenlaredj Date: Fri, 20 Oct 2023 11:20:39 +0100 Subject: [PATCH 4/4] refactor(code update): fix prettier error --- .github/workflows/issue-autolink.yml | 2 -- src/components/blogcard/BlogCard.jsx | 2 -- src/components/categorycard/CategoryCard.jsx | 2 -- 3 files changed, 6 deletions(-) diff --git a/.github/workflows/issue-autolink.yml b/.github/workflows/issue-autolink.yml index a39774e..b457728 100644 --- a/.github/workflows/issue-autolink.yml +++ b/.github/workflows/issue-autolink.yml @@ -9,8 +9,6 @@ jobs: steps: - uses: tkt-actions/add-issue-links@v1.6.0 with: - repo-token: "${{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 }}" - resolve: "true" diff --git a/src/components/blogcard/BlogCard.jsx b/src/components/blogcard/BlogCard.jsx index 2d0f3e3..b932f0b 100644 --- a/src/components/blogcard/BlogCard.jsx +++ b/src/components/blogcard/BlogCard.jsx @@ -1,5 +1,3 @@ -import React from "react"; - const BlogCard = ({ blog }) => { return (
diff --git a/src/components/categorycard/CategoryCard.jsx b/src/components/categorycard/CategoryCard.jsx index ae28910..c46ecbb 100644 --- a/src/components/categorycard/CategoryCard.jsx +++ b/src/components/categorycard/CategoryCard.jsx @@ -1,5 +1,3 @@ -import React from "react"; - const CategoryCard = ({ category }) => { return (