PioneerSquareLabs / otto-playground

A playground where Otto can run free while hopefully not accidentally reformatting your hard drive
https://otto-playground.vercel.app
13 stars 0 forks source link

Create new file => src/pages/NewFile003.tsx #849

Open otto-ai-app[bot] opened 1 year ago

otto-ai-app[bot] commented 1 year ago

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

import React from 'react';

const Group1 = () => {
  return (
    <div className="w-80 h-80 relative">
      <div className="w-full h-full bg-gray-300"></div>
      <p className="absolute top-20 left-3 text-sm text-blue-700">Header</p>
      <div className="absolute top-26 left-14 w-28 h-5 bg-red-800"></div>
    </div>
  );
};

export default Group1;

Note: The exact dimensions in px have been approximated to the closest TailwindCSS standard size.

import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faEnvelope } from '@fortawesome/free-solid-svg-icons' const element =

  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.
otto-ai-app[bot] commented 1 year ago

Otto 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.

otto-ai-app[bot] commented 1 year ago

Good news!

I've completed my work on this issue and have created a pull request: Create src/pages/NewFile003.tsx.

Please review my changes there.