vbhv4GitHub / portfolio

This repository contains all the code for MERN stack portfolio website. You can visit the live website via Readme.
1 stars 0 forks source link

Create new file => src/pages/home.tsx #2

Open jacob-ai-bot[bot] opened 1 week ago

jacob-ai-bot[bot] commented 1 week ago

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

<div className="w-full h-full bg-white border border-solid rounded-3xl p-8">
  <div className="w-full max-w-7xl mx-auto">
    <div className="w-full flex flex-col items-start mb-4">
      <h1 className="text-6xl font-medium leading-tight tracking-tight text-[#323c71] mb-4">
        Building a Hero Section on a Homepage
      </h1>
      <p className="text-2xl text-white">
        Follow the installation steps at docs.jacb.ai
      </p>
    </div>
    <div className="w-full max-w-7xl mx-auto mb-8">
      <p className="text-2xl text-black">
        Once you have followed the installation steps at https://docs.jacb.ai, you’re ready to start creating your first component. We’ll start with the simple static Hero section of the homepage for our new site.
      </p>
    </div>
    <div className="flex justify-between items-start mb-8">
      <div className="w-1/2">
        <div className="flex items-start mb-4">
          <h2 className="text-6xl font-medium leading-tight tracking-tight text-[#0043ff]">
            Step 1
          </h2>
          <p className="text-xl text-black ml-4">
            Launch the JACoB: AI CodeGen Connector plugin (Figma Logo -> Plugins -> JACoB Plugin). We’ll start with the simple static Hero section of the homepage for our new site.
          </p>
        </div>
        <div className="flex items-start mb-4">
          <h2 className="text-6xl font-medium leading-tight tracking-tight text-[#0043ff]">
            Step 2
          </h2>
          <p className="text-xl text-black ml-4">
            Authenticate with the GitHub account you used to set up the JACoB GitHub app. Choose the repository.
          </p>
        </div>
        <div className="flex items-start mb-4">
          <h2 className="text-6xl font-medium leading-tight tracking-tight text-[#0043ff]">
            Step 3
          </h2>
          <p className="text-xl text-black ml-4">
            Enter a name for the new file. In this case, we are making a component called “Hero”
          </p>
        </div>
        <div className="flex items-start mb-4">
          <h2 className="text-6xl font-medium leading-tight tracking-tight text-[#0043ff]">
            Step 4
          </h2>
          <p className="text-xl text-black ml-4">
            Select the “Component 1 - Home Page Hero Section” frame and view it in the preview.
          </p>
        </div>
        <div className="flex items-start mb-4">
          <h2 className="text-6xl font-medium leading-tight tracking-tight text-[#0043ff]">
            Step 5
          </h2>
          <p className="text-xl text-black ml-4">
            Click “Start writing code.” This will take about 30-60 seconds to convert your design into a GitHub Issue. The JACoB GitHub bot will continue working on your code for a few minutes and will eventually create a PR for you to review.
          </p>
        </div>
      </div>
      <div className="flex flex-col items-center">
        <img src="/images/76f46b30ac7845fe4dc93daf03c3a3d76e48ef59.jpg" className="w-[438px] h-[322px] mb-4" />
        <img src="/images/65c923507cfede98e64daae8f97fba6aad5d4134.jpg" className="w-[301px] h-[675px] border-4 border-solid border-red-500" />
      </div>
    </div>
    <p className="text-sm text-gray-500">
      Component is from https://www.figcomponents.com/kits/wireframe-ui-kit?id=631ab154ef237c64eac55a9b Licensed under CC-BY-4.0: https://creativecommons.org/licenses/by/4.0/
    </p>
  </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. image image

jacob-ai-bot[bot] commented 1 week ago

JACoB here...

You mentioned me on this issue and I am busy taking a look at it.

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

jacob-ai-bot[bot] commented 1 week ago

Unfortunately, I ran into trouble working on this.

Here is some error information:

ENOENT: no such file or directory, open '/mnt/tmp/tmp-97-dnGtfq5Ioq53/.gitignore'