PioneerSquareLabs / jacb-ai-website

The jacb.ai marketing website
https://www.jacb.ai
MIT License
8 stars 1 forks source link

Create /src/components/DesignedForDevelopers.tsx #160

Open jacob-local-kevin[bot] opened 3 months ago

jacob-local-kevin[bot] commented 3 months ago

Summary:

A new design has been added to Figma for the file /src/components/DesignedForDevelopers.tsx. The design was converted into JSX. Here is what was provided:

<div className="w-full h-screen flex flex-col items-center justify-center bg-white">
  <div className="flex flex-col items-start justify-start w-full max-w-7xl">
    <div className="flex flex-col items-start justify-start w-full max-w-lg p-4">
      <div className="text-6xl text-[#1d265d]">Designed for</div>
      <div className="flex items-center">
        <div className="text-6xl text-center text-[#1d265d]">Developers</div>
        <div className="text-6xl text-center text-[#1d265d]">,</div>
      </div>
      <div className="text-6xl text-[#1d265d]">Tailored for Teams</div>
      <div className="text-lg font-light text-[#61668b] mt-4">
        JACoB is built from the ground up to address the specific needs of software development.
      </div>
    </div>
    <div className="flex flex-wrap justify-between w-full mt-8">
      <div className="w-full md:w-1/2 lg:w-1/3 p-4">
        <div className="bg-[rgba(248,232,224,0.4)] border border-solid border-[#e9dad7] rounded-lg p-4">
          <div className="text-xl font-medium text-[#1d265d]">Efficiency Boost</div>
          <div className="text-sm font-light text-[#61668b] mt-2">
            ACoB automates the repetitive and mundane, allowing you to concentrate on innovation and complex problem-solving.
          </div>
        </div>
      </div>
      <div className="w-full md:w-1/2 lg:w-1/3 p-4">
        <div className="bg-[rgba(248,232,224,0.4)] border border-solid border-[#e9dad7] rounded-lg p-4">
          <div className="text-xl font-medium text-[#1d265d]">Quality Assurance</div>
          <div className="text-sm font-light text-[#61668b] mt-2">
            With JACoB's AI-driven reviews, your code stays clean and maintainable.
          </div>
        </div>
      </div>
      <div className="w-full md:w-1/2 lg:w-1/3 p-4">
        <div className="bg-[rgba(248,232,224,0.4)] border border-solid border-[#e9dad7] rounded-lg p-4">
          <div className="text-xl font-medium text-[#1d265d]">Rapid Integration</div>
          <div className="text-sm font-light text-[#61668b] mt-2">
            JACoB fits into your workflow from day one, adapting to your tools and preferences.
          </div>
        </div>
      </div>
      <div className="w-full md:w-1/2 lg:w-1/3 p-4">
        <div className="bg-[rgba(248,232,224,0.4)] border border-solid border-[#e9dad7] rounded-lg p-4">
          <div className="text-xl font-medium text-[#1d265d]">Scalable Development</div>
          <div className="text-sm font-light text-[#61668b] mt-2">
            Handle more projects and complex code without expanding your team.
          </div>
        </div>
      </div>
      <div className="w-full md:w-1/2 lg:w-1/3 p-4">
        <div className="bg-[rgba(248,232,224,0.4)] border border-solid border-[#e9dad7] rounded-lg p-4">
          <div className="text-xl font-medium text-[#1d265d]">Learning & Growth</div>
          <div className="text-sm font-light text-[#61668b] mt-2">
            JACoB continuously learns from your codebase, contributing more effectively over time.
          </div>
        </div>
      </div>
      <div className="w-full md:w-1/2 lg:w-1/3 p-4">
        <div className="bg-[rgba(248,232,224,0.4)] border border-solid border-[#e9dad7] rounded-lg p-4">
          <div className="text-xl font-medium text-[#1d265d]">Security & Control</div>
          <div className="text-sm font-light text-[#61668b] mt-2">
            Hosted within your environment, JACoB ensures your code remains secure and proprietary.
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faEnvelope } from '@fortawesome/free-solid-svg-icons'
const element = <FontAwesomeIcon icon={faEnvelope} />
  1. For images, the figma code will likely list the image name. This image has already been saved to the public folder. You must use that image as the source for the image tag.
  2. IMPORTANT: The design team did not wire up any of the buttons or links, they assigned that critical task to you. You MUST implement the code to handle the click events.

Here is a temporary snapshot of your design. It will expire in 60 minutes for security purposes. snapshot

Here are the images from your design. These images will be downloaded to this branch and these links will expire in 60 minutes for security purposes.

Plan:

Step-by-Step Plan to Create /src/components/DesignedForDevelopers.tsx

  1. Create the File:

    • Create a new file named /src/components/DesignedForDevelopers.tsx.
  2. Copy the Provided Code:

    • Copy the provided JSX code into the newly created file.
  3. Adjust TailwindCSS Classes:

    • Review the provided code and ensure all TailwindCSS classes are valid.
    • Convert any arbitrary values to standard TailwindCSS classes.
    • Use custom Tailwind.config color names if there is an exact match.
  4. Replace Placeholder Text:

    • Identify and replace any placeholder text with the real data from the code.
  5. Create Necessary Functions:

    • Implement any functions or additional code needed to make the component work.
    • Ensure the component is functional and interactive.
  6. Match the Design:

    • Ensure the code matches the design as closely as possible.
    • Bias towards using flexbox and other modern TailwindCSS features instead of hardcoding widths or heights.
  7. Add Icons:

    • Identify any icons in the design.
    • Use the Font Awesome icon kit to add the necessary icons.
    • Example:
      import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
      import { faEnvelope } from '@fortawesome/free-solid-svg-icons';
      const element = <FontAwesomeIcon icon={faEnvelope} />;
  8. Add Images:

    • Identify any images in the design.
    • Use the provided image names and ensure they are sourced correctly from the public folder.
    • Example:
      <img src="[image name]" alt="Description" />
  9. Implement Click Events:

    • Wire up any buttons or links to handle click events.
    • Ensure all interactive elements are functional.
  10. Review and Test:

    • Review the entire component to ensure it is pixel-perfect and matches the design.
    • Test the component to ensure all functionality works as expected.
    • Make any necessary adjustments to achieve a pixel-perfect implementation.

By following these steps, you will create a pixel-perfect implementation of the design for the DesignedForDevelopers component.

Storybook Story:

I will update this PR with a storybook story for this component.

@jacob-ai-bot create story

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ā†—ļøŽ

Name Status Preview Comments Updated (UTC)
jacb-ai-website āœ… Ready (Inspect) Visit Preview šŸ’¬ Add feedback May 28, 2024 8:39pm
jacob-local-kevin[bot] commented 3 months ago

JACoB here...

I'm busy creating a storybook story for this component.

I'll continue to comment on this pull request with status as I make progress.

jacob-local-kevin[bot] commented 3 months ago

Hello human! šŸ‘‹

This PR was updated by JACoB

Next Steps

  1. Please review the PR carefully. Auto-generated code can and will contain subtle bugs and mistakes.

  2. If you identify code that needs to be changed, please reject the PR with a specific reason. Be as detailed as possible in your comments. JACoB will take these comments, make changes to the code and push up changes. Please note that this process will take a few minutes.

  3. Once the code looks good, approve the PR and merge the code.

jacob-ai-bot[bot] commented 3 months ago

JACoB here...

I'm busy creating a storybook story for this component.

I'll continue to comment on this pull request with status as I make progress.

jacob-ai-bot[bot] commented 3 months ago

Unfortunately, I ran into trouble working on this.

I was not able to write the requested code. Please contact support on https://docs.jacb.ai.