alexdorowork / Sparesteuern

0 stars 0 forks source link

Create new file => /src/components/Features.tsx #10

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

<div className="w-full max-w-7xl mx-auto">
  <div className="flex flex-col items-center">
    <div className="w-full h-0.5 bg-[#0b2339] mt-0"></div>
    <h1 className="text-4xl font-bold text-center text-[#0b2339] mt-12">Ziele der kostenfreien Analyse</h1>
    <div className="flex flex-wrap justify-center mt-12">
      <div className="w-72 h-56 bg-[#deefff] rounded-lg m-4 p-4 flex flex-col items-center">
        <div className="w-16 h-16 bg-white rounded-full flex items-center justify-center">
          {/* ChartLineUp Icon */}
          <div className="w-8 h-8">
            {/* Replace with actual ChartLineUp SVG */}
            <div className="w-6 h-5 bg-[#2f6ba2]"></div>
          </div>
        </div>
        <p className="text-xl text-center text-[#2f6ba2] mt-4">Unentdecktes Einsparungspotential entdecken</p>
      </div>
      <div className="w-72 h-56 bg-[#deefff] rounded-lg m-4 p-4 flex flex-col items-center">
        <div className="w-16 h-16 bg-white rounded-full flex items-center justify-center">
          {/* PiggyBank Icon */}
          <div className="w-8 h-8">
            {/* Replace with actual PiggyBank SVG */}
            <div className="w-8 h-6 bg-[#2f6ba2]"></div>
          </div>
        </div>
        <p className="text-xl text-center text-[#2f6ba2] mt-4">Steuerschonender Vermögensaufbau</p>
      </div>
      <div className="w-72 h-56 bg-[#deefff] rounded-lg m-4 p-4 flex flex-col items-center">
        <div className="w-16 h-16 bg-white rounded-full flex items-center justify-center">
          {/* Bank Icon */}
          <div className="w-8 h-8">
            {/* Replace with actual Bank SVG */}
            <div className="w-7 h-6 bg-[#2f6ba2]"></div>
          </div>
        </div>
        <p className="text-xl text-center text-[#2f6ba2] mt-4">Rechtssichere Lösungen</p>
      </div>
      <div className="w-72 h-56 bg-[#deefff] rounded-lg m-4 p-4 flex flex-col items-center">
        <div className="w-16 h-16 bg-white rounded-full flex items-center justify-center">
          {/* ShieldCheck Icon */}
          <div className="w-8 h-8">
            {/* Replace with actual ShieldCheck SVG */}
            <div className="w-6 h-6 bg-[#2f6ba2]"></div>
          </div>
        </div>
        <p className="text-xl text-center text-[#2f6ba2] mt-4">Schutz des Vermögens vor dem Zugriff durch Dritte</p>
      </div>
    </div>
    <button className="w-3/4 max-w-2xl h-14 bg-[#2f6ba2] rounded-lg mt-8 text-white text-lg font-bold tracking-wider">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.

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

Please review my changes there.