alexdorowork / Sparesteuern

0 stars 0 forks source link

Create new file => /src/components/CTA.tsx #9

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/CTA.tsx. The design was converted into JSX. Here is what was provided:

<div className="w-full h-screen bg-[#deefff] flex flex-col items-center justify-center">
  <div className="w-full flex flex-col items-center">
    <div className="w-[100px] h-[2px] bg-[#2f6ba2] mt-12"></div>
    <h1 className="text-4xl font-bold text-[#2f6ba2] text-center mt-6">
      Für wen eignet sich ein Steuersparmodell?
    </h1>
    <p className="text-xl text-[#0b2339] text-center mt-4 mx-4">
      Es gilt der Grundsatz: Nur wer Steuern zahlt, kann auch welche sparen. Der Jahresgewinn sollte mindestens 50.000 EUR betragen. Liegt dieser darunter lohnen sich Gestaltungen mit Stiftungen für Sie nicht.
    </p>
    {/* Vector Icon Placeholder */}
    <div className="w-[612px] h-[6px] bg-[#2f6ba2] mt-4"></div>
    <p className="text-base font-medium text-[#0b2339] text-center mt-4 mx-4">
      Wir vermitteln Sie an einen seriösen Steuerberater oder Rechtsanwalt, der Ihnen direkt weiterhelfen kann.
    </p>
    <button className="w-[543px] h-[58px] bg-[#2f6ba2] rounded mt-10 flex items-center justify-center">
      <span className="text-lg font-bold text-white tracking-wide">JETZT KOSTENFREIE ANALYSE ANFORDERN</span>
    </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.

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/CTA.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/CTA.tsx.

Please review my changes there.