From b1d6eba564af57595b0e868cda32e67962dc444c Mon Sep 17 00:00:00 2001 From: "jacob-local-kevin[bot]" <164088400+jacob-local-kevin[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:38:47 -0800 Subject: [PATCH] JACoB PR for Issue Create Design System Overview Component in Dashboard Design Section --- .../dashboard/[org]/[repo]/design/Design.tsx | 60 ++-------------- .../[repo]/design/DesignSystemOverview.tsx | 19 +++++ .../[repo]/design/FigmaPluginContent.tsx | 72 +++++++++++++++++++ 3 files changed, 95 insertions(+), 56 deletions(-) create mode 100644 src/app/dashboard/[org]/[repo]/design/DesignSystemOverview.tsx create mode 100644 src/app/dashboard/[org]/[repo]/design/FigmaPluginContent.tsx diff --git a/src/app/dashboard/[org]/[repo]/design/Design.tsx b/src/app/dashboard/[org]/[repo]/design/Design.tsx index b0187f2..5f262cf 100644 --- a/src/app/dashboard/[org]/[repo]/design/Design.tsx +++ b/src/app/dashboard/[org]/[repo]/design/Design.tsx @@ -1,6 +1,8 @@ import React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons"; +import DesignSystemOverview from "./DesignSystemOverview"; +import FigmaPluginContent from "./FigmaPluginContent"; interface DesignProps { org: string; @@ -18,62 +20,8 @@ const DesignComponent: React.FC = ({ org, repo }) => {
-
-

- Transform Your Figma Designs into React Components -

-

- Effortlessly convert your Figma designs into React components - with{" "} - - JACoB: CodeGen Connector - - . -

-
-
-

- 1. Authenticate with GitHub and link your repositories -

-

- 2. Select design elements in Figma -

-

- 3. Provide additional instructions if needed -

-

- 4. Click to initiate the automated code generation process -

-

- 5. View JACoB's progress in the{" "} - - Assigned Tasks - {" "} - section of the dashboard -

-
-
- - Install Plugin - - -
+ +
diff --git a/src/app/dashboard/[org]/[repo]/design/DesignSystemOverview.tsx b/src/app/dashboard/[org]/[repo]/design/DesignSystemOverview.tsx new file mode 100644 index 0000000..5c1c2c2 --- /dev/null +++ b/src/app/dashboard/[org]/[repo]/design/DesignSystemOverview.tsx @@ -0,0 +1,19 @@ +import React from "react"; + +interface DesignSystemOverviewProps {} + +const DesignSystemOverview: React.FC = () => { + return ( +
+

+ Design System Overview +

+

+ This section will provide a comprehensive overview of our application's + design system, including colors, typography, and common UI components. +

+
+ ); +}; + +export default DesignSystemOverview; diff --git a/src/app/dashboard/[org]/[repo]/design/FigmaPluginContent.tsx b/src/app/dashboard/[org]/[repo]/design/FigmaPluginContent.tsx new file mode 100644 index 0000000..de462a5 --- /dev/null +++ b/src/app/dashboard/[org]/[repo]/design/FigmaPluginContent.tsx @@ -0,0 +1,72 @@ +import React from "react"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons"; + +interface FigmaPluginContentProps { + org: string; + repo: string; +} + +const FigmaPluginContent: React.FC = ({ + org, + repo, +}) => { + return ( + <> +
+

+ Transform Your Figma Designs into React Components +

+

+ Effortlessly convert your Figma designs into React components with{" "} + + JACoB: CodeGen Connector + + . +

+
+
+

+ 1. Authenticate with GitHub and link your repositories +

+

+ 2. Select design elements in Figma +

+

+ 3. Provide additional instructions if needed +

+

+ 4. Click to initiate the automated code generation process +

+

+ 5. View JACoB's progress in the{" "} + + Assigned Tasks + {" "} + section of the dashboard +

+
+
+ + Install Plugin + + +
+ + ); +}; + +export default FigmaPluginContent;