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 undefined #795

Closed otto-jacob closed 1 year ago

otto-jacob commented 1 year ago

A new design has been added to Figma for the file undefined. Here is what was provided:

<div className="w-full h-full bg-cover bg-no-repeat rounded-l-3xl" style={{ backgroundImage: 'url(c230ffba520fab60716f712257d7f6a7fc48a42f)' }}>

      - 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 placeholder 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 placeholder images, you can use 'https://via.placeholder.com/[width]x[height]' to get a placeholder image of the correct size.
      8. IMPORTANT: The design team did not wire up any of the buttons or links, they assigned that critical task to you. Try to use existing functions or write new ones to handle the click events.
      The issue is auto-assigned to @otto. Good luck!