From f3d1592ab66bb299e2eded719f5f1ef7952aa308 Mon Sep 17 00:00:00 2001 From: Artem Date: Sun, 19 Oct 2025 19:07:20 +0300 Subject: [PATCH 1/3] feat: add Section CommunityInvolvementSection --- .../CommunityInvolvementSection.ts | 8 ++ .../CommunityInvolvementSection.tsx | 79 +++++++++++++++++++ .../CommunityInvolvementSection/index.ts | 5 ++ src/pages/Portfolio.tsx | 2 + 4 files changed, 94 insertions(+) create mode 100644 src/components/CommunityInvolvementSection/CommunityInvolvementSection.ts create mode 100644 src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx create mode 100644 src/components/CommunityInvolvementSection/index.ts diff --git a/src/components/CommunityInvolvementSection/CommunityInvolvementSection.ts b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.ts new file mode 100644 index 0000000..142868e --- /dev/null +++ b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.ts @@ -0,0 +1,8 @@ +export interface ContributionItemProps { + title: string; + description: string; +} + +export interface CommunityInvolvementSectionProps { + // No props needed for now, but keeping for future extensibility +} diff --git a/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx new file mode 100644 index 0000000..e555f6d --- /dev/null +++ b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx @@ -0,0 +1,79 @@ +import React from "react"; +import { CheckCircle } from "lucide-react"; +import { + CommunityInvolvementSectionProps, + ContributionItemProps, +} from "./CommunityInvolvementSection.ts"; + +const ContributionItem: React.FC = ({ + title, + description, +}) => { + return ( +
+ +
+

{title}

+

{description}

+
+
+ ); +}; + +const CommunityInvolvementSection: React.FC< + CommunityInvolvementSectionProps +> = () => { + const contributions: ContributionItemProps[] = [ + { + title: "Framework optimizations and plugins", + description: "Performance improvements and extended functionality", + }, + { + title: "Development automation tools", + description: "CI/CD pipelines and deployment automation", + }, + { + title: "Security and compliance utilities", + description: "Open-source security scanning and compliance tools", + }, + { + title: "Documentation and best practices", + description: "Comprehensive guides and development standards", + }, + ]; + + return ( +
+
+
+

+ Community Involvement +

+

+ The SpaceCorps team actively contributes to the open-source + community, sharing tools, libraries, and frameworks that benefit + developers worldwide. +

+
+ +
+

+ Our Contributions: +

+
+ +
+ {contributions.map((contribution, index) => ( + + ))} +
+
+
+ ); +}; + +export { CommunityInvolvementSection }; diff --git a/src/components/CommunityInvolvementSection/index.ts b/src/components/CommunityInvolvementSection/index.ts new file mode 100644 index 0000000..1bc277d --- /dev/null +++ b/src/components/CommunityInvolvementSection/index.ts @@ -0,0 +1,5 @@ +export { CommunityInvolvementSection } from "./CommunityInvolvementSection.tsx"; +export type { + CommunityInvolvementSectionProps, + ContributionItemProps, +} from "./CommunityInvolvementSection.ts"; diff --git a/src/pages/Portfolio.tsx b/src/pages/Portfolio.tsx index 1e3f119..7f5ba7c 100644 --- a/src/pages/Portfolio.tsx +++ b/src/pages/Portfolio.tsx @@ -4,6 +4,7 @@ import { OpenSourceSection } from "../components/OpenSourceSection"; import { FeaturedProjectsSection } from "../components/FeaturedProjectsSection"; import { TechnologyDemosSection } from "../components/TechnologyDemosSection"; import { FrameworkDetailsSection } from "../components/FrameworkDetailsSection"; +import { CommunityInvolvementSection } from "../components/CommunityInvolvementSection"; const Portfolio: React.FC = () => { return ( @@ -14,6 +15,7 @@ const Portfolio: React.FC = () => { + ); From 2eed25725a397b25335e33a55355fd9d33e3b073 Mon Sep 17 00:00:00 2001 From: Artem Date: Sun, 19 Oct 2025 19:36:34 +0300 Subject: [PATCH 2/3] feat: improve CommunityInvolvementSection layout and typography --- .../CommunityInvolvementSection.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx index e555f6d..0799280 100644 --- a/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx +++ b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx @@ -10,11 +10,11 @@ const ContributionItem: React.FC = ({ description, }) => { return ( -
- +
+
-

{title}

-

{description}

+

{title}

+

{description}

); @@ -28,14 +28,14 @@ const CommunityInvolvementSection: React.FC< title: "Framework optimizations and plugins", description: "Performance improvements and extended functionality", }, - { - title: "Development automation tools", - description: "CI/CD pipelines and deployment automation", - }, { title: "Security and compliance utilities", description: "Open-source security scanning and compliance tools", }, + { + title: "Development automation tools", + description: "CI/CD pipelines and deployment automation", + }, { title: "Documentation and best practices", description: "Comprehensive guides and development standards", @@ -46,10 +46,10 @@ const CommunityInvolvementSection: React.FC<
-

+

Community Involvement

-

+

The SpaceCorps team actively contributes to the open-source community, sharing tools, libraries, and frameworks that benefit developers worldwide. @@ -57,12 +57,12 @@ const CommunityInvolvementSection: React.FC<

-

+

Our Contributions:

-
+
{contributions.map((contribution, index) => ( Date: Sun, 19 Oct 2025 20:19:04 +0300 Subject: [PATCH 3/3] feat: add card Get Involved Card --- .../CommunityInvolvementSection.tsx | 28 +++++++++++++++++++ src/components/ui/card.tsx | 2 +- src/index.css | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx index 0799280..4521a04 100644 --- a/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx +++ b/src/components/CommunityInvolvementSection/CommunityInvolvementSection.tsx @@ -1,5 +1,6 @@ import React from "react"; import { CheckCircle } from "lucide-react"; +import { Card, CardContent } from "../ui/card"; import { CommunityInvolvementSectionProps, ContributionItemProps, @@ -71,6 +72,33 @@ const CommunityInvolvementSection: React.FC< /> ))}
+ + {/* Get Involved Card */} +
+ + +

+ Get Involved +

+

+ Join our growing community of developers and contributors. + Whether you're looking to use our tools or contribute to their + development, we welcome collaboration. +

+ +
+
+
); diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx index 113d66c..3adac87 100644 --- a/src/components/ui/card.tsx +++ b/src/components/ui/card.tsx @@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {