alexdorowork / Sparesteuern

0 stars 0 forks source link

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

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="relative w-full h-screen">
  <img
    src="/images/a87db576eca3208b30414af99e04dd64e32f9eb3.jpg"
    className="absolute w-full h-full object-cover"
    alt="Background"
  />
  <div className="absolute inset-0 bg-black bg-opacity-40"></div>
  <div className="relative flex flex-col items-center justify-center h-full">
    <h1 className="text-white text-6xl font-bold text-center">
      Raus aus der Steuerfalle!
    </h1>
    <p className="text-white text-xl text-center mt-4">
      So sparen Sie legal Steuern
    </p>
    <div className="flex justify-center mt-12 space-x-8">
      <div className="flex items-center bg-[#0b2339] rounded-lg overflow-hidden w-96 h-24">
        <div className="bg-[#2f6ba2] w-16 h-full flex items-center justify-center">
          {/* Prohibit Icon */}
        </div>
        <p className="text-white text-lg font-medium ml-4">
          Schluss mit unseriösen Steuersparmodellen!
        </p>
      </div>
      <div className="flex items-center bg-[#0b2339] rounded-lg overflow-hidden w-96 h-24">
        <div className="bg-[#2f6ba2] w-16 h-full flex items-center justify-center">
          {/* ChartDonut Icon */}
        </div>
        <p className="text-white text-lg font-medium ml-4">
          Setzen Sie auf legale Gestaltungsmöglichkeiten!
        </p>
      </div>
      <div className="flex items-center bg-[#0b2339] rounded-lg overflow-hidden w-96 h-24">
        <div className="bg-[#2f6ba2] w-16 h-full flex items-center justify-center">
          {/* Briefcase Icon */}
        </div>
        <p className="text-white text-lg font-medium ml-4">
          Vertrauen Sie auf erfahrene Steuerberater und Rechtsanwälte!
        </p>
      </div>
    </div>
    <button className="mt-12 px-8 py-3 bg-white text-[#2f6ba2] text-sm font-bold tracking-wider rounded-lg">
      JETZT KOSTENFREIE ANALYSE ANFORDERN
    </button>
  </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

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.