-
Notifications
You must be signed in to change notification settings - Fork 0
changed main to def #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main2
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,117 +1,29 @@ | ||
| import React from 'react'; | ||
| import React, { Component } from 'react'; | ||
| import logo from './logo.svg'; | ||
| import './App.css'; | ||
| import { Input } from 'antd'; | ||
|
|
||
| import Drop from './Drop'; | ||
| import imag from './Bannerimage.svg'; | ||
| import Dropdown from './Dropdown.js' | ||
| import {Tooltip} from 'antd'; | ||
| import { Button, DatePicker } from 'antd'; | ||
|
|
||
| import { useState } from 'react'; | ||
| import { CheckCircleTwoTone } from '@ant-design/icons'; | ||
| import Card from './Card' | ||
| import { Progress } from 'antd'; | ||
| import Hi from './Practice'; | ||
| import DropdownInput from './Dropdown.js'; | ||
|
|
||
|
|
||
| let obj = [ | ||
| { total : 1000000, | ||
| profit : 5, | ||
| return : 4, | ||
| debt : 3, | ||
| current : 5 | ||
| class App extends Component { | ||
| render() { | ||
| return ( | ||
| <div className="App"> | ||
| <header className="App-header"> | ||
| <img src={logo} className="App-logo" alt="logo" /> | ||
| <p> | ||
| Edit <code>src/App.js</code> and save to reload. | ||
| </p> | ||
| <a | ||
| className="App-link" | ||
| href="https://reactjs.org" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| > | ||
| Learn React | ||
| </a> | ||
| </header> | ||
| </div> | ||
| ); | ||
| } | ||
| ] | ||
| function App() { | ||
|
|
||
|
|
||
|
|
||
| let [boolval , setboolval] = useState (false); | ||
| function submithandler () { | ||
|
|
||
| setboolval(true); | ||
|
|
||
| } | ||
|
|
||
| const options = ['3 Months', '6 Months', '9 Months', '12 Months']; | ||
| return ( | ||
|
|
||
| <> | ||
|
|
||
|
|
||
| <div className='test'> </div> | ||
| <div className='black'> | ||
|
|
||
| </div> | ||
|
|
||
| <div className='sidebar'> | ||
| <div className='dashboard'> | ||
|
|
||
| <h1 className='title'>Credit Limit Assessment</h1> | ||
|
|
||
| </div> | ||
| <div > | ||
| <img className='image' src={imag} alt = 'image not found'/> | ||
| </div> | ||
|
|
||
|
|
||
| </div> | ||
|
|
||
| <p className='head'>Please provide your MCA issued CIN (Company Identification Number)</p> | ||
|
|
||
|
|
||
|
|
||
| <Input className='input' maxLength={21} | ||
| placeholder="Enter 21-Digit-CIN" /> | ||
| <div className='circle'> | ||
| <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use constant file for this |
||
| <path d="M8 0.125C3.65117 0.125 0.125 3.65117 0.125 8C0.125 12.3488 3.65117 15.875 8 15.875C12.3488 15.875 15.875 12.3488 15.875 8C15.875 3.65117 12.3488 0.125 8 0.125ZM11.4014 5.42832L7.69941 10.5611C7.64767 10.6334 7.57946 10.6922 7.50044 10.7328C7.42142 10.7734 7.33386 10.7946 7.24502 10.7946C7.15618 10.7946 7.06862 10.7734 6.9896 10.7328C6.91057 10.6922 6.84237 10.6334 6.79063 10.5611L4.59863 7.52363C4.53184 7.43047 4.59863 7.30039 4.71289 7.30039H5.5373C5.7166 7.30039 5.88711 7.38652 5.99258 7.53418L7.24414 9.2709L10.0074 5.43887C10.1129 5.29297 10.2816 5.20508 10.4627 5.20508H11.2871C11.4014 5.20508 11.4682 5.33516 11.4014 5.42832Z" fill="#0BA968"/> | ||
| </svg> | ||
|
|
||
| </div> | ||
|
|
||
| <Dropdown options={options}/> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| <div className='button1'> | ||
| <button type="submit" className="button" onSubmit={submithandler}>Proceed</button> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use antd button here |
||
|
|
||
| </div> | ||
| <div className='card'> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. refer this https://4x.ant.design/components/card/ for card |
||
| <p className='cardhead'>Credit Limit Available for Smartpaddle Technologies Private Limited</p> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| <p className ></p> | ||
|
|
||
| <Hi prof = {obj[0].profit} ret = {obj[0].return } debt = {obj[0].debt} curr = {obj[0].current} /> | ||
| </div> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| <p className = 'subhead'> Credit limit available : </p> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://4x.ant.design/components/typography/ |
||
|
|
||
| <p className = 'sub'> INR {obj[0].total} </p> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| </> | ||
| ); | ||
| } | ||
|
|
||
| export default App; | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
give proper name