itskevin-zz / jacob-template

0 stars 0 forks source link

Create new file => /src/components/Hero.tsx #1

Open jacob-ai-bot[bot] opened 3 months ago

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

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

<div className="w-full h-screen bg-white flex items-center justify-center">
  <div className="w-full max-w-7xl h-full flex flex-col items-center justify-center">
    <div className="w-full h-full bg-white flex flex-col md:flex-row items-center justify-center">
      <div className="w-full md:w-1/2 p-8">
        <h1 className="text-6xl font-bold text-[#0f172a] leading-none tracking-tight mb-6">
          Meet the New Landingfolio Kit
        </h1>
        <p className="text-lg text-[#4b5262] mb-8">
          Clarity gives you the blocks & components you need to create a truly professional website, landing page or admin panel for your SaaS.
        </p>
        <button className="w-full md:w-auto bg-[#485aff] text-white rounded-lg py-4 px-8 flex items-center justify-center">
          <span className="text-lg">Start using LandingFolio</span>
        </button>
      </div>
      <div className="w-full md:w-1/2 p-8 flex items-center justify-center">
        <div className="w-full max-w-lg h-full bg-[#dbeafe] rounded-3xl flex items-center justify-center">
          {/* Placeholder for the photograph icon */}
          <div className="w-20 h-20 border-4 border-[#94a3b8] rounded-full flex items-center justify-center">
            <div className="w-12 h-12 border-4 border-[#94a3b8] rounded-full"></div>
          </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.

jacob-ai-bot[bot] commented 3 months 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 3 months ago

Update

I've completed my initial work on this issue and have created a pull request: Create /src/components/Hero.tsx.

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

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

Update

I've completed my work on this issue and have updated this pull request: Create /src/components/Hero.tsx.

Please review my changes there.