jsferrer1 / t3-app

0 stars 0 forks source link

Create new file => /src/components/HomePageHero.tsx #2

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

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

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

const HomePageHeroSection = () => {
  return (
    <div className="w-full h-screen bg-white">
      <div className="relative w-full h-full">
        <div className="absolute top-44 right-0 w-[530px] h-[655px] bg-blue-200 rounded-3xl">
          {/* Icon/Outline/photograph - SVG Placeholder */}
        </div>
        <div className="absolute left-24 top-75 w-[650px] h-[409px]">
          <h1 className="text-8xl font-bold leading-tight tracking-tighter text-gray-800">
            Meet the New Landingfolio Kit
          </h1>
          <p className="mt-51 text-lg text-gray-600">
            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="mt-36 w-[259px] h-15 bg-blue-600 rounded-lg flex items-center justify-center">
            <span className="text-white text-lg leading-7 text-center">
              Start using LandingFolio
            </span>
          </button>
        </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 5 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 5 months ago

Update

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

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

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

Update

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

Please review my changes there.