alexdorowork / Sparesteuern

0 stars 0 forks source link

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

Closed jacob-ai-bot[bot] closed 3 months ago

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

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

<div className="flex justify-between items-center w-full h-12 bg-white">
  <div className="flex items-center h-full">
    <div className="flex items-center w-6 h-full">
      {/* Vector SVG icons should be added here */}
    </div>
    <span className="ml-2 text-xl uppercase text-[#0b2339]">
      Spare Steuern
    </span>
  </div>
  <button className="w-[398px] h-full bg-[#deefff] rounded-md flex items-center justify-center">
    <span className="text-sm font-bold tracking-wide text-center text-[#2f6ba2]">
      JETZT KOSTENFREIE ANALYSE ANFORDERN
    </span>
  </button>
</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/Header.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/Header.tsx.

Please review my changes there.

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

Please review my changes there.

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

Please review my changes there.

alexdorowork commented 3 months ago

1) Don't use an icon. It's the logo. Use image 2) Don't hardcode the colors. Put them in the config and use them from it.