Code Monkey home page Code Monkey logo

jacob's People

Contributors

devinhenkel avatar

Watchers

 avatar

jacob's Issues

Create new file => src/components/Hero.tsx

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

<div className="w-full h-screen flex items-center justify-center bg-white">
  <div className="w-full max-w-7xl h-full flex flex-col md:flex-row items-center justify-between">
    <div className="w-full md:w-1/2 p-8">
      <h1 className="text-6xl font-bold text-[#0f172a] leading-tight tracking-tight">
        Meet the New Landingfolio Kit
      </h1>
      <p className="mt-6 text-lg text-[#4b5262]">
        Clarity gives you the blocks & components you need to create a truly professional website, landing page or admin panel for your SaaS.
      </p>
      <button className="mt-8 w-64 h-14 bg-blue-600 text-white rounded-lg flex items-center justify-center">
        <span className="text-lg">Start using LandingFolio</span>
      </button>
    </div>
    <div className="w-full md:w-1/2 p-8 flex items-center justify-center">
      <div className="w-full max-w-lg h-full bg-[#dbeafe] rounded-3xl flex items-center justify-center">
        {/* Add Font Awesome photograph icon here */}
        <i className="fas fa-camera text-4xl text-[#94a3b8]"></i>
      </div>
    </div>
  </div>
</div>
  • @jacob-ai-bot Here are your instructions for creating the new file:
  1. Create a new file with the name src/components/Hero.tsx.
  2. Copy the code above into the new file.
  3. Write additional code as needed to create the complete, working component or 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. Use the custom Tailwind.config color names if there is an exact match.
  4. 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.
  5. Be sure to create any functions or other code that is needed to make the component work.
  6. 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.
  7. There may be icons or images in the design. These will need to be replaced with the real icons or images.
  8. You can use the Font Awesome 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} />
  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.

JACoB Installed

JACoB here...
I can now access this repo!

Please note: I am available to do code reviews in this repo if you add the comment @jacob-ai-bot code review to a pull request.
At the moment, I can only write code for JavaScript and TypeScript projects.
Check back soon for updates on additional language support.

Please visit the JACoB documentation for more information on how to get started with JACoB.

Create new file => /src/components/hero.js.jsx

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

<div className="w-full h-screen bg-white dark:bg-gray-900 flex items-center justify-center">
  <div className="w-full max-w-7xl h-full flex flex-col items-center justify-center px-4">
    <div className="w-full h-full flex flex-col md:flex-row items-center justify-between">
      <div className="w-full md:w-1/2 flex flex-col justify-center">
        <h1 className="text-6xl md:text-8xl font-bold text-gray-900 dark:text-gray-100 leading-tight mb-4">
          Meet the New Landingfolio Kit
        </h1>
        <p className="text-lg md:text-xl text-gray-600 dark:text-gray-400 mb-8">
          Clarity gives you the blocks & components you need to create a truly professional website, landing page or admin panel for your SaaS.
        </p>
        <button className="w-64 h-14 bg-blue-600 dark:bg-blue-700 text-white rounded-lg flex items-center justify-center">
          <span className="text-lg leading-7">Start using LandingFolio</span>
        </button>
      </div>
      <div className="w-full md:w-1/2 flex items-center justify-center mt-8 md:mt-0">
        <div className="w-full max-w-md h-full bg-blue-100 rounded-3xl flex items-center justify-center">
          {/* Add the appropriate icon here */}
          <div className="w-20 h-20 border-solid border-4 border-gray-400 flex items-center justify-center">
            {/* SVG Icon Placeholder */}
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
  • @jacob-ai-bot Here are your instructions for creating the new file:
  1. Create a new file with the name /src/components/hero.js.jsx.
  2. Copy the code above into the new file.
  3. Write additional code as needed to create the complete, working component or 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. Use the custom Tailwind.config color names if there is an exact match.
  4. 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.
  5. Be sure to create any functions or other code that is needed to make the component work.
  6. 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.
  7. There may be icons or images in the design. These will need to be replaced with the real icons or images.
  8. You can use the Font Awesome 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} />
  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:
add styles for dark mode

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.