prachit-1999 / jacobsampledemo

0 stars 0 forks source link

Update the design for src/components/SAMPLE.tsx #12

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

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

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

<div style={{ width: '100%', height: '100vh', backgroundColor: '#1d1d1f', display: 'flex', justifyContent: 'center', alignItems: 'center' }}>
  <img src="/images/c9e60171528c4144afae2ee181944637d281d957.jpg" alt="Illustration" style={{ width: '83.33%', height: '88.89%' }} />
</div>
import { AccessAlarm } from '@material-ui/icons';
const element = <AccessAlarm />
  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. image

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

Unfortunately, I ran into trouble working on this.

Here is some error information:

Command failed: npm run build

> jacobsampledemo@0.1.0 build
> react-scripts build

Creating an optimized production build...
Failed to compile.

Module not found: Error: Can't resolve './Components/SAMPLE' in '/mnt/tmp/tmp-98-2q6uQr20M7p7/src'