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

Update the design for src/pages/login.tsx #808

Closed otto-jacob closed 1 year ago

otto-jacob commented 1 year ago

A new design has been added to Figma for the file src/pages/login.tsx. Here is what was provided:

Welcome back

Welcome back! Please enter your details.

Forgot password

Don’t have an account? Sign up for free!

Background
      - Here are your instructions for updating the codebase:
      1. Use the details in the code above to update the file. Note that the code is not guaranteed to be perfect, so you may need to make some adjustments. Specifically, ONLY use valid TailwindCSS classes. For arbitrary values, convert to standard TailwindCSS classes as often as possible.
      2. The code above is from the design team and will likely have placeholder text. Find the places where the placeholder text will need to be replaced by the real data from the code.
      3. There may be some data or features that are shown in the designs that are not in the existing code. These are likely new features that need to be added but they might just be from the design and not needed.
      4. Do your best to make the code match the design as closely as possible. Bias towards using flexbox and other modern TailwindCSS features vs hardcoding widths or heights.
      5. There may be icons or images in the design. These will need to be replaced with the real icons or images.
      6. You can use the FontAwesome icon kit to add icons. Here is some example code of how to use it:

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

      7. 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. <img src="[image name]" />
      8. 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.
      The issue is auto-assigned to @otto. Good luck!