i-am-ebere / t3-starter-template

https://t3-starter-template.vercel.app
0 stars 0 forks source link

Create new file => src/components//ebere/tester/components/testimonies.tsx #3

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

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

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

```jsx
import React from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faStar } from '@fortawesome/free-solid-svg-icons';

const Testimonial = () => {
  return (
    <div className="w-full h-full bg-white flex flex-col items-center py-16">
      <div className="text-blue-600 text-sm leading-7 text-center tracking-tighter mb-4">
        3940+ Happy Landingfolio Users
      </div>
      <h2 className="text-5xl h-auto tracking-tight text-center text-gray-900 mb-16">
        Don’t just take our words
      </h2>
      <div className="flex justify-center space-x-10">
        <div className="flex space-x-4">
          <img
            src="/images/19f20f0750b4e198d5ba9d67a1acfa203715a7e4.jpg"
            alt="User Profile"
            className="w-60 h-60 rounded-lg"
          />
          <div className="flex flex-col justify-between">
            <div className="flex space-x-1">
              {/* Replace with SVG icons */}
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
            </div>
            <p className="text-lg font-medium leading-7 text-gray-900">
              "We love Landingfolio! Our designers were using it for their projects, so we already knew what kind of design they want."
            </p>
            <div className="flex items-baseline space-x-2">
              <span className="text-sm leading-7 text-gray-900">
                Jenny Wilson
              </span>
              <span className="text-sm font-medium leading-6 text-gray-500">
                Grower.io
              </span>
            </div>
          </div>
        </div>
        <div className="flex space-x-4">
          <img
            src="/images/8cdcee1f5525376b47bcf91a5f80c99d6819e17e.jpg"
            alt="User Profile"
            className="w-60 h-60 rounded-lg"
          />
          <div className="flex flex-col justify-between">
            <div className="flex space-x-1">
              {/* Replace with SVG icons */}
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
              <FontAwesomeIcon icon={faStar} className="text-gradient bg-gradient-to-r from-blue-600 to-red-600" />
            </div>
            <p className="text-lg font-medium leading-7 text-gray-900">
              "We love Landingfolio! Our designers were using it for their projects, so we already knew what kind of design they want."
            </p>
            <div className="flex items-baseline space-x-2">
              <span className="text-sm leading-7 text-gray-900">
                Devon Lane
              </span>
              <span className="text-sm font-medium leading-6 text-gray-500">
                DLDesign.co
              </span>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
};

export default Testimonial;
```
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 are some important additional instructions from the product owner. You MUST follow these instructions, even if it means adjusting the JSX code provided above: change colour of stars to a gradient starting from blue to red

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 image

jacob-ai-bot[bot] commented 7 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 7 months ago

Update

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

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

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

Update

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

Please review my changes there.