Skip to content

Commit

Permalink
Initial form layout and validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetyilmaz001 committed Jun 26, 2023
1 parent bca6b73 commit d1696b0
Show file tree
Hide file tree
Showing 23 changed files with 724 additions and 58 deletions.
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"@types/react": "^18.2.13",
"@types/react-dom": "^18.2.6",
"antd": "^5.6.2",
"dayjs": "^1.11.8",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.13.0",
Expand Down Expand Up @@ -42,5 +44,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/lodash": "^4.14.195"
}
}
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import React from 'react';
import { BrowserRouter, Routes, Route } from "react-router-dom";
import { ConfigProvider } from 'antd';
import { Home, Result } from './containers';

import './App.css';
import './assets/styles/app.scss';
import locale from 'antd/es/locale/en_US';

function App() {
return (
<ConfigProvider theme={{ token: { colorPrimary: '#00b96b' } }}>
<ConfigProvider theme={{ token: { colorPrimary: '#00b96b' } }} locale={locale}>
<BrowserRouter basename="/">
<Routes>
<Route index element={<Home />} />
Expand Down
40 changes: 40 additions & 0 deletions src/assets/images/icon-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/images/icon-minus-bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/images/icon-pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/images/icon-plus-bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/images/icon-plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/images/icon-remove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/styles/app.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import url('./reset.css');
3 changes: 3 additions & 0 deletions src/assets/styles/common.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
margin: 0;
}
Loading

0 comments on commit d1696b0

Please sign in to comment.