diff --git a/frontend/.editorconfig b/frontend/.editorconfig new file mode 100644 index 0000000..64d3d6a --- /dev/null +++ b/frontend/.editorconfig @@ -0,0 +1,12 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index 1ab54d3..53b69f6 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,13 +1,13 @@ - + fincheck - -
+ +
diff --git a/frontend/src/Router/index.tsx b/frontend/src/Router/index.tsx index 1e6505f..bac10d8 100644 --- a/frontend/src/Router/index.tsx +++ b/frontend/src/Router/index.tsx @@ -1,17 +1,23 @@ import {Routes, Route, BrowserRouter} from 'react-router-dom'; import {AuthGuard} from './AuthGuard'; +import { Dashboard } from '../view/pages/Dashboard'; +import { Login } from '../view/pages/Login'; +import { Register } from '../view/pages/Register'; +import { AuthLayout } from '../view/layouts/AuthLayout'; export function Router() { return ( }> - Login} /> - Register} /> + } > + } /> + } /> + }> - Dashbord} /> + } /> diff --git a/frontend/src/assets/illustration.png b/frontend/src/assets/illustration.png new file mode 100644 index 0000000..3168d79 Binary files /dev/null and b/frontend/src/assets/illustration.png differ diff --git a/frontend/src/assets/react.svg b/frontend/src/assets/react.svg deleted file mode 100644 index 6c87de9..0000000 --- a/frontend/src/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/src/view/layouts/AuthLayout.tsx b/frontend/src/view/layouts/AuthLayout.tsx new file mode 100644 index 0000000..fc53cf4 --- /dev/null +++ b/frontend/src/view/layouts/AuthLayout.tsx @@ -0,0 +1,12 @@ +import illustration from '../../assets/illustration.png'; + +export function AuthLayout() { + return ( +
+
+
+ +
+
+ ); +} diff --git a/frontend/src/view/pages/Dashboard/index.tsx b/frontend/src/view/pages/Dashboard/index.tsx new file mode 100644 index 0000000..5dc4f9b --- /dev/null +++ b/frontend/src/view/pages/Dashboard/index.tsx @@ -0,0 +1,3 @@ +export function Dashboard() { + return

Dashboard

+} \ No newline at end of file diff --git a/frontend/src/view/pages/Login/index.tsx b/frontend/src/view/pages/Login/index.tsx new file mode 100644 index 0000000..eb2055b --- /dev/null +++ b/frontend/src/view/pages/Login/index.tsx @@ -0,0 +1,3 @@ +export function Login() { + return

Login

+} \ No newline at end of file diff --git a/frontend/src/view/pages/Register/index.tsx b/frontend/src/view/pages/Register/index.tsx new file mode 100644 index 0000000..9d845e1 --- /dev/null +++ b/frontend/src/view/pages/Register/index.tsx @@ -0,0 +1,3 @@ +export function Register() { + return

Register

+} \ No newline at end of file